Hi,
I'm very new to web development and the UltraWebGrid :-) I have a very simple UltraWebGrid within an asp:wizard control. I manually add rows to the grid as the data is not coming from a database as such. All is fine so far and I have implemented my own crude form of 'move row up/down' to allow ordering. When I click on the cell which contains a button, after my server side button handler is called I receive a JavaScript error as above. I also get this same error when I simply move to the next page in the wizard so I guess it is as a result of a postback in the grid.
I have no idea what could cause this as the error appears to be coming from the grid which is as I said very simple. Any ideas are most welcome!
Hello,
It seems the JavaScript error is raised after a postback. However, in order to nail down the issue, I would like to clarify few things. Here is my list of questions:
1) Which version of NetAdvantage controls, Visual Studio and .Net Framework are you using?
2) Are you using AJAX? If yes, then are you using Update Panel or the built-in AJAX of the UltraWebGrid?
3) Which client side and server side events are you handling on the Grid?
4) What is the exact error message are you getting?
5) What happens when the Grid is outside of the Wizard control? Do you still get the same error?
Please let me know the answers in details.
Thanks
Hi Sarita,
I am using NetAdvantage 8.1 - the full version is 8.1.20081.2058. Visual Studio 2005 and .NET 2.0. I my using the grid in its simplest form - just to show a list of items which I dynamically create by adding rows and cells to the grid. I have ensured that the rows/cells are included in the ViewState. I do not subscribe to ANY client or server side events. The grid is flat - I only use one band which actually only contains 3 rows each with 4 cells. I have tested with pure text cells and still get the same error.
I have attached a screen shot of the error I get. I haven't tried the gird outside of the wizard yet but I would guess if it did a post back then the error would occur. Another post has suggested that 8.1 is not compatible with IE 8 which would be a shame as I won't be able to upgrade just to fix this and will probably have to do without the grid :-(