Hello all,
I'm trying to incorporate Atlas into an existing ASP.NET application. When I add an UpdatePanel and move the GridView inside the UpdatePanel it does not work. When I turn of PartialRender the application works just as it did before. However, when I turn ON PartialRender, I get a browser error "Unknown error" when I click the auto-generated Select button in the grid.
When I create a new project and put an UpdatePanel and a GridView on it and turn PartialRender on, it works without any problems.
Can someone tell me for what settings I should look for, or what settings should or should not be used in the page and/or grid when using Atlas?
Thanks in advance,
Mariella
Hello Please check for Enableview state.
Also what are you doing for databinding. Ar eyo uusing SQLDataSource for that.
and what is the purpose of your select button ??
EnableViewState of the grid is True. The purpose of the select button is only to select the record (The built-in behaviour). Data binding is done by clearing the grid, and assigning a DataTable to the DataSource property of the GridView. Columns are generated manually. After that the DataBind method is called.
Hello Mariella,
You might review your web.config, and then adding configurations to be same as a new Atlas project's web.config.
Hope this help...
I have already checked the Web.Config. It is the same as the new project..
Hello,
What exact error are you getting. Turn on the error of browser to show complete errors.
Try to debug and see what is there and at hwat point code breaks.
I am only getting a Internet Explorer message saying "Unknown error".When debugging in Visual Studio, no exceptions get trapped.
Hello,
in your browser ( IE). go to Tools -> Internet Options -> Advanced Tab -> Browsers Section and look for this checkbox named "Show Friendly Http error Messages". uncheck that and see what is ther.
It is not an HTTP error message, but a script error.
Like this:
Hi,
Just check that in Firefox also. and any other browser
You might try using Fiddler.
Firefox appears to be doing nothing at all (It does not display an error, progress or activity, however it is making a request).
I have installed Fiddler. For what things should I be looking? In Fiddler I can see a request, which gets an OK response (200). For as far as I can see, data gets returned.
Any ideas where to look at?
When I see Unknown Error javascript exceptions, I will generally see a pageError node in the TextView of Fiddler that shows the server-side exception.
There is no pageError node in any response.
Just thought of something else. Check the head element that gets passed back. Make sure that there are no invalid characters or use CDATA. Search for posts on CDATA for more information.
No comments:
Post a Comment