I have code like
<asp:DropDownList ID="SiteIDDropdownList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="SiteIDDropdownList_OnSelectedIndexChanged" onChange="javascript:markItUpApply();">
</asp:DropDownList>
Here I need fire first “OnSelectedIndexChanged” then “onChange”
is It possible?
You could remove the onchange attribute and register a startup script that will fire after the postback has completed which i think in effect will work just as you want.
In your OnSelectedIndexChanged Event you can use.
EDIT:
In case you have update panel in the page then use this code
hope this helps.