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

Tabstrip with user controls in pageviews loaded via AJAX not working

4 Answers 35 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
VictorG
Top achievements
Rank 1
VictorG asked on 29 Jul 2013, 07:28 AM
Hi,

I am looking at the demo TabStrip - Dynamic PageView Creation via AJAX and I'm trying to implement something similar.
The problem with the demo is that the RadGrid on the second tab is not sending postbacks (cannot enter edit mode, cannot change pages, etc). And this also happens in my implementation. I tried to add an AjaxManagerProxy in the user control but with no luck.
As I said this bug seems to reproduce in the online demo, with Google Chrome and IE 10.
Do you have any idea why this happens and how can I fix it?

Thank you.

4 Answers, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 31 Jul 2013, 12:50 PM
Hello Victor,

The main purpose of the referenced demo is to demonstrate how to fetch the contents of RadMultiPage on demand using Ajax and the created on demand PageViews in the TabClick event handler. This is the reason why the RadGrid is nested with its Enabled property is set to False. You could observe the declaration of the RadGrid, using the View Source button at the right top of the page.

Regards,
Nencho
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
VictorG
Top achievements
Rank 1
answered on 01 Aug 2013, 02:03 PM
Yes, of course, I don't know how I missed that. Thank you.
0
Kyle
Top achievements
Rank 1
answered on 15 Sep 2014, 11:20 PM
While I do realize the demo page in question is just meant to show how to load a PageView via AJAX, I (and it sounds like others) would really like to know how to manage events when there are controls (like RadGrid) on the dynamically loaded PageView. Could you enable (and make functional) the RadGrid on the demo page or create a new demo with a functioning RadGrid inside a dynamically loaded PageView? Thanks.
0
Nencho
Telerik team
answered on 18 Sep 2014, 01:00 PM
Hello Kyle,

As an attachment you could find the referenced demo, isolated in a runnable sample and having the Enabled property of the RadGrid set to true. Please test it at our end and let us know if any questions arise.

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TabStrip
Asked by
VictorG
Top achievements
Rank 1
Answers by
Nencho
Telerik team
VictorG
Top achievements
Rank 1
Kyle
Top achievements
Rank 1
Share this question
or