I have asp button control on my page. Upon running in IE, it is not doing anything even postback. While the same is running perfect in Firefox. I have surfed the web regarding the problems and almost applied all the things. I have no double forms tag. I
found one solution to set UseSubmitBehavior="false". After this, it work but my text box controls lose its content. I am using framework 3.5. anyone can help me on the issue
This is very strange. We dont have to do anything, it works in IE and FF by default. What version of IE are you using? I have used IE6, IE7 & IE8, but i never faced such problem. Also post the relevant code here.
First thing is i do not understand why there are two buttons for search viz. Linkbutton and Button. Second thing is are you binding any click event to this button from codebehind, for ex: SearchButton.Attributes.Add("onclick","...."), if so remove that.
According to your description ,as far as I know some Web sites may not be displayed correctly or may not work correctly in Windows Internet Explorer 8.
However, this problem does not occur in earlier versions of Internet Explorer.
I would like to suggest you to check the article below for the solutions:
Sorry guays for late response. The reason why link button is there is only to check if the link button is working or not. Infact, this search form is running on my website
www.wehavewholesaledeals.com and used to search the properties against given parameters. So if I remove the onclick event, no need to put the button here. Please let me know if I can do it in
some other ways. I have some more buttons on other pages which are not working on IE as well.
I was having this problem as well. The solution I found that works for me was disabling the proxy in IE. I'm not sure how it was enabled in the first place, but oh well.
Goto (IE -> Tools -> Internet Options -> Connections -> LAN Settings)
And uncheck your proxy. (uncheck Use a proxy server for you LAN)
if you are still have problem with your Intenet Explorer, Download Windows Explorer Repair Tooland install it. play this tool to fix any or all problems with your Internet Explorer. You may receive the Internet Explorer error message due to many reasons. Some of the reasons explained here:
aworsh1
Member
4 Points
7 Posts
Button is not working internet explorer
Jan 19, 2011 06:28 AM|LINK
I have asp button control on my page. Upon running in IE, it is not doing anything even postback. While the same is running perfect in Firefox. I have surfed the web regarding the problems and almost applied all the things. I have no double forms tag. I found one solution to set UseSubmitBehavior="false". After this, it work but my text box controls lose its content. I am using framework 3.5. anyone can help me on the issue
niksv
Contributor
5925 Points
1115 Posts
Re: Button is not working internet explorer
Jan 19, 2011 08:37 AM|LINK
This is very strange. We dont have to do anything, it works in IE and FF by default. What version of IE are you using? I have used IE6, IE7 & IE8, but i never faced such problem. Also post the relevant code here.
aworsh1
Member
4 Points
7 Posts
Re: Button is not working internet explorer
Jan 19, 2011 10:09 AM|LINK
<div id="content_right" style="border:Grey 1px solid;">
<h3 >Find a property Near You</h3><br />
<div style="width: 400px">
<table style="width: 100%; vertical-align:middle;">
<tr>
<td colspan="2" valign="middle" style="height: 16px; width: 131px;">
Home Type</td>
<td colspan="2" align="left" valign="middle" width="200px" style="height: 16px">
Location</td>
</tr>
<tr>
<td colspan="2" align="left" style="height:37px; width: 131px;">
<asp:DropDownList ID="PropertyTypeDropDown" runat="server"
Width="147px">
<asp:ListItem>Single Family House</asp:ListItem>
<asp:ListItem>Duplex</asp:ListItem>
<asp:ListItem>Triplex</asp:ListItem>
<asp:ListItem>4-Plex</asp:ListItem>
<asp:ListItem>Multi-Family</asp:ListItem>
<asp:ListItem>Commercial Property</asp:ListItem>
<asp:ListItem>Land</asp:ListItem>
<asp:ListItem>Other</asp:ListItem>
<asp:ListItem>TownHome</asp:ListItem>
<asp:ListItem>Condo</asp:ListItem>
<asp:ListItem>Patio Home</asp:ListItem>
<asp:ListItem>Mobile Home</asp:ListItem>
</asp:DropDownList></td>
<td colspan="2" style="width: 77px; height: 37px;">
<asp:TextBox ID="SearchText" runat="server" Width="250px"> </asp:TextBox>
<asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server"
TargetControlID="SearchText" WatermarkText="Address,Zip,City" Enabled="True" WatermarkCssClass="style.css">
</asp:TextBoxWatermarkExtender>
</td>
</tr>
</table>
<table style="width: 100%; vertical-align:middle;">
<tr>
<td valign="middle" style="height: 19px; text-align:left;">
Bed</td>
<td align="left" valign="middle" style="height: 19px; width: 65px;">
Bath</td>
<td align="left" valign="middle" style="height: 19px; width: 78px;">
Price Range</td>
</tr>
<tr>
<td style="width: 72px; height: 38px">
<asp:DropDownList ID="ddlBedRooms" runat="server" Width="57px">
<asp:ListItem>Any</asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
</asp:DropDownList>
</td>
<td style="width: 72px; height: 38px;">
<asp:DropDownList ID="ddlBathRoom" runat="server" Width="57px">
<asp:ListItem>Any</asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
</asp:DropDownList>
</td>
<td style="height: 38px; width: 78px;">
<asp:TextBox ID="PriceFromText" runat="server" Width="81px"></asp:TextBox>
</td>
<td>to</td>
<td style="height: 38px">
<asp:TextBox ID="PriceToText" runat="server" Width="81px"></asp:TextBox>
</td>
</tr>
</table>
<asp:LinkButton ID="LinkButton1" PostBackUrl ="~/Property/searchproperty.aspx" runat="server">Search</asp:LinkButton>
<asp:Button ID="SearchButton" runat="server" Text="Search" Width="142px" onclick="SearchButton_Click" />
</div>
<br />
</div>
although it is strange but is happening with me. Code is mention above.
aworsh1
Member
4 Points
7 Posts
Re: Button is not working internet explorer
Jan 19, 2011 10:10 AM|LINK
I am using IE 8
niksv
Contributor
5925 Points
1115 Posts
Re: Button is not working internet explorer
Jan 20, 2011 02:41 AM|LINK
First thing is i do not understand why there are two buttons for search viz. Linkbutton and Button. Second thing is are you binding any click event to this button from codebehind, for ex: SearchButton.Attributes.Add("onclick","...."), if so remove that.
Ming Xu - MS...
All-Star
25269 Points
2235 Posts
Microsoft
Re: Button is not working internet explorer
Jan 24, 2011 05:41 AM|LINK
Hi,
According to your description ,as far as I know some Web sites may not be displayed correctly or may not work correctly in Windows Internet Explorer 8.
However, this problem does not occur in earlier versions of Internet Explorer.
I would like to suggest you to check the article below for the solutions:
Advanced solutions: Some Web sites may not be displayed correctly or work correctly in Windows Internet Explorer 8
Hope it can help you.
Feedback to us
Develop and promote your apps in Windows Store
aworsh1
Member
4 Points
7 Posts
Re: Button is not working internet explorer
Jan 25, 2011 04:38 AM|LINK
Hello:
Sorry guays for late response. The reason why link button is there is only to check if the link button is working or not. Infact, this search form is running on my website www.wehavewholesaledeals.com and used to search the properties against given parameters. So if I remove the onclick event, no need to put the button here. Please let me know if I can do it in some other ways. I have some more buttons on other pages which are not working on IE as well.
Thanks,
Imran
prabodhm
Participant
958 Points
232 Posts
Re: Button is not working internet explorer
Jan 25, 2011 05:31 AM|LINK
Are you using URL Rewriting or URL Redirect either from IIS or other some tool?
if yes, kindly check if you have set them right.
I had faced similar issue and URL rewriting was the culprit.
cts-mgraham
Contributor
3318 Points
642 Posts
Microsoft
Re: Button is not working internet explorer
Feb 16, 2011 06:43 PM|LINK
ruthielmoore
Member
4 Points
2 Posts
Re: Button is not working internet explorer
Sep 12, 2011 05:49 PM|LINK
Hello aworsh,
<div>I was having this problem as well. The solution I found that works for me was disabling the proxy in IE. I'm not sure how it was enabled in the first place, but oh well.
Goto (IE -> Tools -> Internet Options -> Connections -> LAN Settings)
And uncheck your proxy. (uncheck Use a proxy server for you LAN)
if you are still have problem with your Intenet Explorer, Download Windows Explorer Repair Tool and install it. play this tool to fix any or all problems with your Internet Explorer. You may receive the Internet Explorer error message due to many reasons. Some of the reasons explained here:
http://www.windowsexplorerhasstoppedworking.com/
Visit the above link and follow the procedure to fix your Internet Explorer.
I hope this helps.
</div>