asp:Panel default button property is not working in IE

Posted by lakhansin-22735 under ASP.NET on 7/4/2013 | Points: 10 | Views : 3442 | Status : [Member] | Replies : 2
Hey Guys,

In my project there is one login.aspx page having asp:Panel control with DefaultButton; this features work in production environment but not in local machine.
I have checked it is working in Firefox perfectly but not in IE9/10.

See the below code snippet to better understand.
<asp:Panel ID="pnlProducers" runat="server" DefaultButton="btnProducerLogin">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="accordion-forms">
<tr>
<td colspan="2">
*Producer User ID<br />
<span class="smalltext">(Main account holders are Admins. Sub users, please enter the
user name your Admin assigned to you.)</span><br />
<asp:TextBox ID="txtProducerUserId" runat="server" MaxLength="50" CssClass="text-box"
EnableTheming="false"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvProducerUserId" runat="server" ControlToValidate="txtProducerUserId"
Font-Size="10px" ErrorMessage="Required" Display="Static" CssClass="message"
ValidationGroup="Producer"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="2">
*Password<br />
<asp:TextBox ID="txtProducerPwd" runat="server" TextMode="Password" MaxLength="10"
CssClass="text-box" EnableTheming="false"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvProducerPwd" runat="server" ControlToValidate="txtProducerPwd"
ErrorMessage="Required" Display="Static" CssClass="message" Font-Size="10px"
ValidationGroup="Producer"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td width="31%" style="padding-bottom: 5px;">
<asp:Button ID="btnProducerLogin" ValidationGroup="Producer" runat="server" Text="Login"
OnClick="btnProducerLogin_Click" />
</td>
</tr>
</table>
</asp:Panel>


Please suggest, if anyone face this kind of issue.

Lakhan Singh
Tech Lead
BeyondKey System Pvt. Ltd.
Indore, M.P.
India



Responses

Posted by: aswinialuri-19361 on: 7/4/2013 [Member] Starter | Points: 25

Up
0
Down
Hi,
refer this link it might useful to you
http://forums.asp.net/t/1443345.aspx/1

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

lakhansin-22735, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: lakhansin-22735 on: 7/14/2013 [Member] Starter | Points: 25

Up
0
Down
Thanks for the response but it did not works for me.



Lakhan Singh
Tech Lead
BeyondKey System Pvt. Ltd.
Indore, M.P.
India

lakhansin-22735, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response