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

Ajaxify RadTabStrip and RadMultiPage

4 Answers 102 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Bernhard Rosenfelder
Top achievements
Rank 1
Bernhard Rosenfelder asked on 13 Nov 2010, 11:02 AM

hi telerik community,


i have an telerik application with two main areas (RadPanes) divided by RadSpliterBar. within the left RadPane i have an RadPanelBar as a menu. in the right RadPane is a combination of RadTabStrip and RadMultiPage. the RadTabs and PageViews were added dynamically. within each RadPageView i have usercontrols. but there can be more than one tab-pageview combination from one specific type of tab-pageview. this means that I can have two tab-pageview combinations with two instances of the same usercontrol inside.


what is the best way to ajaxify this kind of application?

 

thank you for your help
bernhard

4 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 17 Nov 2010, 01:14 PM
Hello Bernhard,

Generally, you should define RadTabStrip as an AJAX initiator with the updated controls being the RadMultiPage and the RadTabStrip itself. RadTabStrip should have AutoPostBack set to "true".

The above setup will ensure consistent tab and pageview switching. However, if you need to add or remove tabs and pageviews based on another control on the page, you can defined that control as an initiator, with the RadTabStrip and the RadMultiPage being updated controls.

Regards,
Dimo
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Bernhard Rosenfelder
Top achievements
Rank 1
answered on 18 Nov 2010, 09:55 PM
hi dimo,

thank you for your reply! i have tried out your suggestion. it is working very well, except the validators in the editform doesn't work.
if the item isn't valid,  it is not possible to cancel the edditing or insertnewitem mode. do you as well have a solution for this fact?

regards,
bernhard
0
Dimo
Telerik team
answered on 22 Nov 2010, 09:23 AM
Hi Bernhard,

The provided information is too scarce to determine what the problem is. Please provide a standalone runnable demo, so that we can test it locally. Thank you.

Greetings,
Dimo
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Bernhard Rosenfelder
Top achievements
Rank 1
answered on 25 Nov 2010, 05:56 PM
hi dimo,

i have found the solution by myself. i set the "EnableClientScript" to false at the validator. now it is working very well!

regard,
bernhard
Tags
Ajax
Asked by
Bernhard Rosenfelder
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Bernhard Rosenfelder
Top achievements
Rank 1
Share this question
or