Ajaxify RadTabStrip and RadMultiPage

5 posts, 1 answers
  1. Bernhard Rosenfelder
    Bernhard Rosenfelder avatar
    24 posts
    Member since:
    Mar 2010

    Posted 13 Nov 2010 Link to this post

    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

  2. Answer
    Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 17 Nov 2010 Link to this post

    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.
  3. Bernhard Rosenfelder
    Bernhard Rosenfelder avatar
    24 posts
    Member since:
    Mar 2010

    Posted 18 Nov 2010 Link to this post

    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
  4. Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 22 Nov 2010 Link to this post

    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.
  5. Bernhard Rosenfelder
    Bernhard Rosenfelder avatar
    24 posts
    Member since:
    Mar 2010

    Posted 25 Nov 2010 Link to this post

    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
Back to Top