Click here to Skip to main content
16,005,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i use asp:button in div which is called as modal popup click ,
and when i click on asp.net button, the function in .aspx.cs is not called
Posted
Comments
Karthik_Mahalingam 15-Jan-14 5:41am    
post your code...
please add more information...
maulikshah1990 15-Jan-14 6:13am    
<div id="loginModal">
LOGIN FORM

<asp:Button ID="psearch" runat="server" onclick="usearch_Click" Text="LOG IN" />
</div>

the above is shown as popup using jquery as

$('#loginModal').modal();


and i have function in aspx.cs as

protected void usearch_Click(object sender, EventArgs e)
{
}

but that is not getting called when LOG IN clicked

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900