Empty DropDown After Submit your Form and Information Lost

My case: It's a standard register form created in a SharePoint WebPart (but this error could happen even if you're not using SharePoint). When I submit the form, sometimes I loose the information of DropDowns (but not the information of textboxes) and it seems to happen randomly. I checked the packages sent with Wireshark and …

Sigue leyendo Empty DropDown After Submit your Form and Information Lost

Evitar PostBack al Llamar una Función Javascript Desde un Botón

Cuando presionamos un botón, primero se ejecuta el OnClientClick, que es el que ejecuta la función Javascript que nosotros hayamos asignado. Si el resultado de esta ejecución es true, a continuación se ejecuta el OnClick, que esta en servidor y es el que provoca el postback. Para evitar esto (y que por lo tanto no …

Sigue leyendo Evitar PostBack al Llamar una Función Javascript Desde un Botón