I have a simple login page with the standard user name, password, and login button with UseSubmitBehavior="true". If I add a RadAjaxManager the HTML tag for the button gets set to type="button" instead of type="submit". Why is this? How do I get a submit button on an ajaxified page? I would like users to be able to hit <enter> to invoke the submit button.
Thanks,
Kevin
Thanks,
Kevin
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> |
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="btnLogin"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="btnLogin" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManagerProxy> |
<table class="content" cellpadding="0" cellspacing="0" style="width: 100%;"> |
<tr> |
<td class="controlLabel" style="width: 10%;">Login:</td> |
<td> |
<asp:TextBox runat="server" ID="editLogin" Columns="40"></asp:TextBox> |
<span class="controlLabel">@KimballMidwest.com</span> |
</td> |
</tr> |
<tr class="spacerRow"><td></td></tr> |
<tr> |
<td class="controlLabel">Password:</td> |
<td> |
<asp:TextBox runat="server" ID="editPassword" Columns="40" TextMode="Password"></asp:TextBox> |
</td> |
</tr> |
<tr> |
<td></td> |
<td class="controlLabel"> |
<asp:CheckBox runat="server" ID="chkRememberMe" Text="Remember Me" /> |
</td> |
</tr> |
<tr class="spacerRow"><td></td></tr> |
<tr> |
<td></td> |
<td class="controlLabel"> |
<asp:Button runat="server" ID="btnLogin" Text="Login" style="width: 80px;" OnClick="btnLogin_Click" |
UseSubmitBehavior="true"/> |
</td> |
</tr> |
</table> |
</asp:Content> |