How to call the clientside script and server-side script at same time.
I cannot able to use both at same time.
<asp:DropDownList ID="ddlModule" runat="server" Width="200px" AutoPostBack="True"
OnSelectedIndexChanged="ddlModule_SelectedIndexChanged" />
In Page_Load
ddlModule.Attributes.Add("onchange", "javascript:return validateDropDown('" + ddlModule.ClientID + "');");
if client script execute then server side not working.
Please Help..
Thanks,
One solution: in your
validateDropDownJavaScript function you can postback the pageHere is a reference link How to call Postback from Javascript