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

Grid with FileExplorer control in NestedViewTemplate

8 Answers 145 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vladimir Gosic
Top achievements
Rank 1
Vladimir Gosic asked on 29 May 2010, 03:23 PM
Hello,
I am dinamically creating all controls on page_init. I have a RadGrid and RadFileExplorer added to its NestedViewTemplate. All works fine until I call Grid.Rebind method. I get the following exception:

Cannot unregister UpdatePanel with ID 'ajaxPanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported. Parameter name: updatePanel

I wasn't getting the exception until I defined a RadFileExplorer in the Grid's NestedViewTemplate. Is there any workaround that can enable this scenario?

Thank you in advance,
Vlada

8 Answers, 1 is accepted

Sort by
0
Vladimir Gosic
Top achievements
Rank 1
answered on 02 Jun 2010, 01:15 PM
Could anyone please answer my question?
Version I am using is 2010.1.415.35
Thanks
0
Iana Tsolova
Telerik team
answered on 03 Jun 2010, 08:29 AM
Hi Vladimir,

Could you please check if setting the HierarchyDefaultExpanded property of the Master to true makes any difference? You can also see how it goes when the HierarchyLoadMode property of the MasterTableView is set to Client.

Let me know how it goes.

Kind regards,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Vladimir Gosic
Top achievements
Rank 1
answered on 03 Jun 2010, 10:22 AM
Hello Iana,

I tried both:

MasterTableView.HierarchyLoadMode = GridChildLoadMode.Client
MasterTableView.HierarchyDefaultExpanded = True

but I am still getting the same exception I mentioned in the first post whenever I call the Grid.Rebind method. When the grid is loaded the first time I don't get the exception, only on rebind. And when I use the same code and don't define a RadFileExplorer in the grid's NestedViewTemplate I don't get the exception on Rebind.

I am posting screenshot that shows my scenario.

Regards,
Vladimir

 

 

0
Iana Tsolova
Telerik team
answered on 07 Jun 2010, 11:18 AM
Hi Vladimir,

I used the further information provided and tried replicating the error but to no avail.
Could you please send us the whole problematic page, with the aspx and cs/vb code as well?
We will check it out and turn back to you with our findings.

Best wishes,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Vladimir Gosic
Top achievements
Rank 1
answered on 14 Jul 2010, 01:55 PM
Hello,
I made an example WebApplication that simulates the issue I have.
The application is uploaded to: http://www.sendspace.com/file/b9hmzn
In order to start the app you need to set the correct SqlConnection string in web.config to any Sql server database. I am using 'Select 1 as ID, ...' with Union in sql querry to make example data, so you don't need to have a specific database. I did it this way because I am using SqlDataSource objects in my real app.
You also need to Add Reference to the Telerik.Web.UI.dll (I am using version 2010.1.415.35) which I removed because of the file size.
So the Grid is bound to the data source using DataSourceId property. And the grid renders ok for the first time, but when the Rebind or DataBind is called the mentioned exception occurs.
Please help me to resolve the issue, I really need to make this work.

Thank you in advance.

Regards,
Vladimir
0
Iana Tsolova
Telerik team
answered on 19 Jul 2010, 03:40 PM
Hi Vladimir,

Thank you for providing a runnable sample illustrating the issue in question. I tested it and was able to replicate the error. However we will need a bit more time for investigation and debugging on it. We will check it out and write you back in the other thread you have open on the same subject.

Please excuse us for the inconvenience this might caused you.

Kind regards,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chi Hong
Top achievements
Rank 1
answered on 14 Nov 2011, 08:04 PM
Hello Iana,

I got the same error from using RadFileExplorer in RadMultiPage. Once I remove the RadFileExplorer, everything works fine.

Any solution for Vladimir after his post on 19 July 2010?

cheers,
ChiHong.
0
Chi Hong
Top achievements
Rank 1
answered on 16 Nov 2011, 04:38 PM
Dear Telerik Team,

Any solution or bug fix for this issue which posted for more than a year already.

Thanks,
Chi Hong.
Tags
Grid
Asked by
Vladimir Gosic
Top achievements
Rank 1
Answers by
Vladimir Gosic
Top achievements
Rank 1
Iana Tsolova
Telerik team
Chi Hong
Top achievements
Rank 1
Share this question
or