This is a migrated thread and some comments may be shown as answers.

Sys.InvalidOperationsException

4 Answers 137 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ricky
Top achievements
Rank 2
Ricky asked on 10 Jul 2008, 01:17 AM
Hi All

I am using a Grid to shoe data and a Rad Window which i am using to the Edit Or insert new data.

Now when i click on Insert button RadWindow Appears and takes the input when i hit save. It does not refresh the Grid but comes up with the error message

"Sys.InvalidOperationException: Could not find UpdatePanel with ID
'ctl00_ContentPlaceHolder1_ctl00_ContentPlaceHolder1_rgrdTransactionPanel'. If it is being updated dynamically then it must be inside another UpdatePanel."


So the thing is i don;t have any panel with name rgrdTransactionPanel. and also i have three more grids on the same page which are similar to his one which takes different data inputs and they all are working fine.

Any ideas where i missing something.

Thanks in advance
Ricky

4 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 10 Jul 2008, 07:35 AM
Hi Ricky,

I suppose that you use the examples from the following online resources as a starting point:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Controls/Examples/Integration/GridAndWindow/DefaultCS.aspx?product=grid
http://www.telerik.com/support/kb/article/b454K-gmb-b454T-cba-b454c-cba.aspx

Do you have a control with id rgrdTransactionPanel somewhere in the page? It seems that this control is designated as an UpdatePanel which cannot be located by the asp ScriptManager on the page. I will appreciate if you can replicate the issue in the sample demo from the knowledge base article and send it back for further examination. Thus I will be able to advice you further.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ricky
Top achievements
Rank 2
answered on 11 Jul 2008, 12:18 AM
Hi Stephen

First thing I don;t have any control with id rgrdTransactionPanel. and the other is that this same page have other grids and using the rad windows for editing and inserting and everything working fine. only one grid's radwindow causing this issue.

Othert message i had once from the same page is When i tried to put an empty update panel with id rgrdTransactionPanel so that ScriptManager can find it but it came up with different error message.

"Sys.WebForms.PageREquestManagerServerErroException; An unknown error occured while processing the request on the server. The Status code returned the server was: 12031"

Thanks
Ricky
 
0
Sebastian
Telerik team
answered on 14 Jul 2008, 08:16 AM
Hello Ricky,

Based on your description, it is very hard to determine where the exact core of the problem lays. In order to advice you further, I suggest you isolate a stripped working version of your project, demonstrating the issue, and send it attached to a formal support ticket. I will familiarize with your complete code logic and will get back to you with my findings.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ricky
Top achievements
Rank 2
answered on 15 Jul 2008, 01:03 AM
Hi Stepehn

I have fixed this problem. On this page i have two asp:panels which further have two RadGrid each. I was hiding or un-hiding one at a time depending upon the data entry requirements. and this was causing the issue.

Now rather than making the Panels to make a visible or un-visible. i am doing this directly with the Grid. and no more errors.

I don;t know why this happened but still the page work fine now.

Thanks for your help.

Ricky


Tags
General Discussions
Asked by
Ricky
Top achievements
Rank 2
Answers by
Sebastian
Telerik team
Ricky
Top achievements
Rank 2
Share this question
or