.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Ajax Nobot, updatePanel on firefox

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :ASP.Net

Hi guys,

I encounter a very strange problem and hope someone could help me. I have a content page in which a nobot control is used to prevent any robot guessing. There is an updatepanel used to hold all the input fields, enter button and the nobot control. Whenever I finished filling out the form and pressed enter button, an invalidbadresponse will come out. This problem doesn't appear on IE, Chrome but on Firefox. I used firebug to trace the problem and then i found that 2 posts were submited. 1 is aborted and 1 is successfully sent. The most wired thing is, when i fired the webpage on debugger mode from visual web developer (http://localhost:<port> ), firefox can validate it without a problem. Once I copied the page to my website ( http://www.mySite.net/ ), such invalidbadresponse comes out. Then, I tried to remove the updatePanel and now only 1 post is sent and no more invalidbadresponse is shown. Therefore, I guess the problem is between the mechanism of nobot and updatepanel. Could anyone know what happens behind and what I could do to solve this problem ?

My challenge is from the internet:

    Protected Sub CustomChallengeResponse(ByVal sender As Object, ByVal e As AjaxControlToolkit.NoBotEventArgs)

View Complete Post

More Related Resource Links

UpdatePanel is not a known element - message when upgrading to 1.0 ajax


It worked on one of my old pages.  I change the web.config, renamed all the <asp.

On some aspx page it doesn't recognize the updatepanel.  It only does on one page.  If I create a new aspx page with a different name - then it works.

Should I just create a new web project ajax - then copy all my code into there?  Or is there a way to get those old pages to recognize the new ajax controls?

How do you insert a google map into an ajax updatepanel?


I have built a site that I am using google maps on.  The default page has a google map with info windows containing links and all works great... until a user clicks on the link in the info window.  Doing so takes them to a community page that I have built.  On this community page, I have an ajax update panel that has 2 panels nested inside of it with the visibility set for one to be on and the other off.  The default panel shows community photos, and the second panel I want to show the google map and common directions to the community.  In testing, my buttons to switch the visibility of the panels works great as it should without postback, but when I try to add the map to its panel, it does not show up.  I am new to ajax as well as google maps and I'm not sure why the same code would work fine on my default page but not the community page.  The only obvious thing I can assume is because the community page map is in an update panel.  

How do you insert a google map into and ajax updatepanel and have it work correctly?  Many thanks in advance. 

ë in Ajax control toolkit HTMLEditor in Firefox

If i use signs like ÃƒÂ« in the HTML Editor, in IE, its ok, and works.But if i use ë in firefox in the same page with the HTML Editor. If i press safe the ë is converted to: ? (copy past doesnt work well, but its a square if you put [] to each other). But how is this possible? And how can i solve this problem? In IE its working well, but 50% of the users of the system i build are using Firefox. So it should work in all editors......

form in updatepanel (firefox vs ie newline)

I've got a form consisting of a multiline textbox (textarea) and a button.It works submitting the form and storing the text in the mysql database and then displaying the text on the site.Before displaying the text I change all newlines to br-tags: .Replace(Environment.NewLine, "<br />");  The problem is that since I added an updatepanel around the form, the displayed text does not have any newlines in it.This occurs only when the form was submitted using firefox, when submitting the form in IE there are newlines.I'm pretty sure this is because in firefox a newline is \n and in IE a newline is \n\r . and then Environment.NewLine is compared to \n instead so they're not displayed. The question is why \n is saved in an async postback when \n\r is saved in the database in a non-async postback (both cases using firefox) and what can I do to fix this? If this is the problem, it should be very common but I googled and couldn't find anything....

jQuery 1.2.6 Ajax: troubles in FireFox and Opera

Hi everybody! Today I downloaded jQuery and begin learning it. I wrote a simple ajax request that normal working in IE:<script type="text/javascript">$.ajax({url: 'http://mysite/link.axd',type: 'GET',timeout: 3000,error: function(){alert('Error loading document');},success: function(xml){//alert(xml); //for test$("div#divMess").html(xml);}});</script>But when I was testing it in FF and Opera I has found next troubles:FF doesn't send request to my handler (FF generally nothing do),Opera throws error event and also and FF doesn't send request to my handler. What should I do that the code will work in all browsers?

ASP.NET AJAX Post back happening in IE7 but works good in Firefox


Hi all,

I am debugging one of the project which is implemented using .Net Framework 3.5.

in the home page the project has 5 widgets.

In one of the widget contains a two radio buttons and a save button.When ever the user tries to change the Radiobutton option and Save the results will be displayed properly in Firefox.

But in Internet Explorer 7 the page gets a post back and all the widgets will be reloaded and finally the default radio button will be selected as default instead of the option which i selected.

Can any one help me to resolve this issue.

thanks in advance

Ajax update panel refresh and dropdown behaviour in firefox


I have found an odd bug in my application.  I have a dropdown status which is bound to my gridview. On selecting a status from the dropdown the selectedindex then fires and binds the results to the gridview.

Now the strange behaviour in firefox and not IE:

If I have a dropdown open and an ajax update fires on my gridview the option is selected from the dropdown (just by hovering my mouse over it rather than selecting it) and the results bound to the gridview. This does not happen in ie as you should have to physically select an item from the dropdown rather than firefox selecting it for you because you happened to hover over an option when the update event fires.

Anybody had the same problem or does anyone have a fix out there?

Your help would be appreciated.





ReportViewer looping ajax calls to keep session alive causes Firefox to look like it's constantly r

In the HTML generated by the ReportViewer there is the following line of code (I've tried ot make it more readable by removing the superfluous information)
setTimeout("frames['ReportViewer1TouchSession0'].location.replace('/Reserved.ReportViewerWebControl.axd?...&TimerMethod=KeepAliveMethodReportViewer1TouchSession0...", 0);

function KeepAliveMethodReportViewer1TouchSession0() {
   setTimeout("frames['ReportViewer1TouchSession0'].location.replace('/Reserved.ReportViewerWebControl.axd?...TimerMethod=KeepAliveMethodReportViewer1TouchSession0....", -1703027296);


When the Reserved.ReportViewerWebControl.axd is called it makes a GET request that returns the following HTML:


<html><body><script type="text/javascript">parent.KeepAliveMethodReportViewer1TouchSession0();</script

 So in effect it becomes a recursive function and because KeepAliveMethodReportViewer1TouchSession0 calls a set timeout with a negative timeout value, in Firefox it's called immediately, in about 10 secon

AJAX UpdatePanel Memory Leaks in IE.


After researching why a page I have using an UpdatePanel to perform a refresh every 15 seconds was using up piles and piles of memory over time, I discovered that this is a "well-known" issue with the UpdatePanel not cleaning up properly in IE (some issue with reference counting in COM interop or some such).  UpdatePanel does not seem to have this issue in Firefox (haven't confirmed the issue in other browsers).

If this is a "well-known" issue, two questions:

Is there a "well-known" workaround to this?  I know that a full-page refresh will cause the memory to be cleaned up, but some pages may be up for a long time and I don't want to interrupt any user interaction with the page that may be going on.  I will if it is required, but it is a sloppy, sloppy UI kluge... you know, one of those "as a self-respecting coder I hang my head in shame at what I have wrought" kind of kluges.

Is there any effort being made to fix this?  I've looked about, however, most articles on this do not make mention of even MS acknowledging bug status for this while I've seen many telling me why this is an issue, and how it's a "design" thing.  I hear IE9 is supposed to take care of this... I guess what you'd call a non-issue, but it will only be available to

refresh listbox on updatepanel ajax control tool kit


Hi all, 

i have a dropdownlist and a listbox inside an update panel. I populate the listbox with a selected value of the dropdownlist and works ok. The problem is when delete an item from the listbox because does not the refresh of the listview and still to watch me the deleted item. 

how can i do the refresh?

pd: i am using framework 2.0

thx in advance!

Javascript allert inside AJAX UpdatePanel not working


I am having problems with alert box not popup when I'm using AJAX UpdatePanel. The following is what I have and it's not working.

1    ClientScriptManager csm = Page.ClientScript;
3    if(!csm.IsStartupScriptRegistered(this.GetType(), "winPop"))
4    {
5    	csm.RegisterStartupScript(this.GetType(), "winPop", "alert('Update is successful');", true);
6    }

I have to stress that the reason why it does not work is because I'm using AJAX UpdatePanel. If I turned off the AJAX UpdatePanel then it works perfectly. So does anyone have solution to go around this AJAX UpdatePanel issue?

UpdatePanel don't work with Google Chorme or Mozilla Firefox.


Hi I am using update panels with Update mode conditional in by aspx page. The page is functioning properlly in the IE.8.0 but the page content is not posting when i open it in the Google Chrome or Mozilla Firefox.

FYI I am using Update panels for drop down lists and buttons and in the triggers also i am using similar controls

Pls can you suggest a way to get this out.



Efficient use of Ajax Updatepanel



I have one query, as i have read somewhere that just using updatepanel on your page and placing some controls inside that doesnt help you to improve performance of your web application, since in this case although its a partial postback it goes through all the page events and generate same amount of data in request and response as of created in normal postbacks.

Efficient use of Updatepanel is to call webmethod through javascript for associated actvities.

Can anyone explain me this bit more, if it realy helpfull then how to use it in application..?

Any kind of help will be appreciated








Slow updatepanel.update() in IE6/7, fast in firefox?! tried fix.


I have an update panel with about 5 slider extenders, 10 textboxes, and 3 dropdown bullet list.  When a slider is moved, a partial postback occurs, that which the server also updates another textbox with a value by first setting the textbox (.text = somevalue) and then calling the updatepanel.update().

I find out that this command updatepanel.update() significantly causes IE6 and IE7 browser to lag about 1-1.5 seconds longer when updating the values in the textbox.  It is sort of unacceptable.

I have applied this fix already: http://support.microsoft.com/kb/2000262

but it is not helping.

However, I must say, this problem is not occuring in FireFox 3.6.  In fact, it has no lag whether or not the fix is used.  The problem only occurs in IE6 and IE7.

Any idea why an updatepanel is slow to refresh?


AJAX UpdatePanel and frames



I am new AJAX. In my webpage I have two frames on on the top for the menu and so on, and one on the button which have the content.

I have a buttom on the upper frame. which I included in the AJAX UpdatePanel trigger. The problem now is that the result page displays on the same frame (the upper). I have target frame set to ContentFrame, so it worked fine before using the update Panel. Now the question: Is there any solution so I can force the target to be another frame than the one which has the UpdatePanel.

Thanks for help. 

ajax - Nested Datalist in Updatepanel



I need to input nested data (data entry) and i am using datalists for the same. The details include many details and I am managing the same using controls for each in information.

The parent datalist can have max 20 rows with 7 rows in each child datalist. I tried to bind the datalists with max rows, due to which the rendered page size was almost 12MB and it took more than 2 mins to load.

Alternative to this, I put the parent datalist in updatepanel and bound it to one row initially.  Onclick of add button, i implemented an asynchronous postback to add new row to the parent datalist datasource and update the updatepanel to display the datalist.  The new row is displayed properly in datalist, however it gets reset to original datalist after some seconds.

I have no clue about the reason for it. Please help me to resolve the above issue.


Ajax Controls - ComboBox inside updatepanel




I have a web part which has an updatepanel with variuos panels.

When i add a combobox to a panel which is not shown to begin with but then is set to visible = true, the combobox erros and is not displayed correctly.


If i have one combobox already visible and working fine, then the others are OK - but thats not a solution.


How do i have a combobox inspde a hidden panel and then show it without having to rebind the whole page.




ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend