The intent is to append the javascript code within the OnClientClick event to pass in the value of SearchIDTextbox as the ID parameter. If I hard code "22" for ???? the function runs properly. I thinK I need to make ???? a single value bind expression but I'm having trouble setting up the code.
<asp:ImageButton ID="PremiumUserImageButton" Width="40px" OnClientClick="return clientClickEvent('AdvancedSearch.aspx?ID= ???? )" CausesValidation="False" ImageUrl="~/Images/Premium.gif" runat="server" />
Tried This no luck!
<asp:ImageButton ID="PremiumUserImageButton" Width="40px" OnClientClick="return clientClickEvent('AdvancedSearch.aspx?ID='<%# GetID() %>'" CausesValidation="False" ImageUrl="~/Images/Premium.gif" runat="server" />