Hi,
Below is the code where i use kendo window to show a window where user can enter email address and on clicking send it fires c# button click event.
But that doesn't happen, the button click event doesn't fires. What could be the issue??
Also to make avoid other problems, i have set the causesvalidation to false.
<div id="Emailwindow">
<div id="mainPart">
<fieldset>
<legend><asp:Literal ID="ltrlLegendText" runat="server"></asp:Literal></legend>
<table cellspacing="10">
<tr>
<td colspan="2" align="center">
<asp:Label ID="lblmsgtoShow" EnableViewState="false" runat="server" Text=""></asp:Label>
</td>
</tr>
<tr>
<td align="right">
<span class="redstar">*</span>
<asp:Label ID="lblEmail" runat="server" Text="Your Email ID:">
</asp:Label>
</td>
<td><asp:TextBox ID="txtSendEmail" EnableViewState="false" Width="250px" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td></td>
<td><span id="EmailMsg" enableviewstate="false" runat="server"></span></td>
</tr>
<tr>
<td></td>
<td align="left">
<span class="mandatoryMsg">Fields marked (<span class="redstar">*</span>) are mandatory</span>
</td>
</tr>
<tr>
<td></td>
<td align="right">
<asp:Button ID="btnSendEmail" CausesValidation="false" runat="server"
Text="Send" Width="80px" onclick="btnSendEmail_Click" />
</td>
</tr>
</table>
</fieldset>
</div>
Below is the code where i use kendo window to show a window where user can enter email address and on clicking send it fires c# button click event.
But that doesn't happen, the button click event doesn't fires. What could be the issue??
Also to make avoid other problems, i have set the causesvalidation to false.
<div id="Emailwindow">
<div id="mainPart">
<fieldset>
<legend><asp:Literal ID="ltrlLegendText" runat="server"></asp:Literal></legend>
<table cellspacing="10">
<tr>
<td colspan="2" align="center">
<asp:Label ID="lblmsgtoShow" EnableViewState="false" runat="server" Text=""></asp:Label>
</td>
</tr>
<tr>
<td align="right">
<span class="redstar">*</span>
<asp:Label ID="lblEmail" runat="server" Text="Your Email ID:">
</asp:Label>
</td>
<td><asp:TextBox ID="txtSendEmail" EnableViewState="false" Width="250px" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td></td>
<td><span id="EmailMsg" enableviewstate="false" runat="server"></span></td>
</tr>
<tr>
<td></td>
<td align="left">
<span class="mandatoryMsg">Fields marked (<span class="redstar">*</span>) are mandatory</span>
</td>
</tr>
<tr>
<td></td>
<td align="right">
<asp:Button ID="btnSendEmail" CausesValidation="false" runat="server"
Text="Send" Width="80px" onclick="btnSendEmail_Click" />
</td>
</tr>
</table>
</fieldset>
</div>