Refresh pageview load onTabSelecting.

1 posts, 0 answers
  1. regina
    regina avatar
    40 posts
    Member since:
    Sep 2012

    Posted 19 Oct 2012 Link to this post

    I have a tabstrip with approximate 20 pageviews.  I need to refresh the pageview loads onTabSelecting, this seems to be a very common thing but none of the solutions I have found actually seem to work for me,  I have gotten this to work other than the page within the pageview is not hitting the pageload and needdatasource events.  What am I missing that I need to do to make this work. Thanks in advance.  I have edited down the tabs so they are not all listed,

    function onTabSelecting(sender, args) {
                   var multiPage = $find("<%=RadMultiPage1.ClientID %>");
                   var pageView = multiPage.findPageViewByID(args.get_tab().get_pageViewID());
                   switch (args.get_tab().get_pageViewID()) {
                       case "RadPageView2":
                       case "RadPageView3":
                       case "RadPageView4":
                       case "RadPageView5":
                       case "RadPageView6":
                       case "RadPageView7":
                   // alert("The ID of the selected RadPageView is " + args.get_tab().get_pageViewID());

Back to Top