Asp button not working in a jquery dialog box

samjk

New Member
Asp button is not working in a jquery dialog box:\[code\]<script type="txt/js">$(function () {$('#<%= ButtonEmail.UniqueID %>').button();});</script><div id="dialog-modal" title="Cadastro"><p>Digite seu email para que eviemos o link do cadastro para ele:</p><p><asp:TextBox ID="TextBoxEmail" CssClass="ui-corner-all" runat="server"></asp:TextBox>&nbsp;&nbsp;<asp:Button ID="ButtonEmail" runat="server" Text="Enviar Link" onclick="ButtonEmail_Click" /></p><div><asp:Label ID="LabelEmail" runat="server" Text="teste"></asp:Label></div></div>\[/code\]c# code:\[code\]protected void ButtonEmail_Click(object sender, EventArgs e){...}\[/code\]even when a delete this: $(function () {$('#<%= ButtonEmail.UniqueID %>').button();}); dont work, the button stays with the original design, but dont work
 
Back
Top