I'm new to Telerik controls and ajax as a whole so please forgive my ignorance. I've done a lot of searching on this error but the solutions I have found don't quite seem to fit my situation.
I have a complicated scenario and I'm only involved in a piece of it. My usercontrol is being called by another developer's aspx page so I'm limited to what I can do on the page itself.
The aspx page has a RadGrid (rgDetails), each row of rgDetails has a RadMultiPage (RadMultiPage1).
Now here's where my usercontrols comes in. One RadPageView in RadMultiPage1 contains my ucNoteTab.ascx which has a RadMultiPage (NotesMultiPage) control on it. The each RadPageView in NotesMultiPage contains my final usercontrol (ucNotePreview.ascx). It is in ucNotePreview that I'm having the trouble. ucNotePreview has a textbox and a few buttons that change the properties and content of the textbox.
Here's the problem: I can't do a postback to the server...there are too many pageloads that stuff gets too messed up. I need to us an ajax update panel and trigger the button click events inside that so the buttons can work their magic on the textbox without a postback. However, I get a "Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID" error when I try to implement asp:UpdatePanel on ucNotePreview.
Here's a diagram of the heirarchy of the controls if that helps:
Details.aspx (developed by another programmer)
-> RadGrid (rgDetails)
--> RadMultiPage (RadMultiPage1)
---> ucNoteTab.ascx (Start of my code)
----> RadMultiPage (NotesMultiPage)
-----> ucNotePreview.ascx
------> UpdatePanel (NotePreviewUpdatePanel)
--------> Here's where it fails
I'm sorry I can't really post code because it's all over the place and hard to summarize. Any thoughts based on this convoluted description?
I have a complicated scenario and I'm only involved in a piece of it. My usercontrol is being called by another developer's aspx page so I'm limited to what I can do on the page itself.
The aspx page has a RadGrid (rgDetails), each row of rgDetails has a RadMultiPage (RadMultiPage1).
Now here's where my usercontrols comes in. One RadPageView in RadMultiPage1 contains my ucNoteTab.ascx which has a RadMultiPage (NotesMultiPage) control on it. The each RadPageView in NotesMultiPage contains my final usercontrol (ucNotePreview.ascx). It is in ucNotePreview that I'm having the trouble. ucNotePreview has a textbox and a few buttons that change the properties and content of the textbox.
Here's the problem: I can't do a postback to the server...there are too many pageloads that stuff gets too messed up. I need to us an ajax update panel and trigger the button click events inside that so the buttons can work their magic on the textbox without a postback. However, I get a "Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID" error when I try to implement asp:UpdatePanel on ucNotePreview.
Here's a diagram of the heirarchy of the controls if that helps:
Details.aspx (developed by another programmer)
-> RadGrid (rgDetails)
--> RadMultiPage (RadMultiPage1)
---> ucNoteTab.ascx (Start of my code)
----> RadMultiPage (NotesMultiPage)
-----> ucNotePreview.ascx
------> UpdatePanel (NotePreviewUpdatePanel)
--------> Here's where it fails
I'm sorry I can't really post code because it's all over the place and hard to summarize. Any thoughts based on this convoluted description?