RadTabStrip and RadMultiPage different ContentPlaceHolder

2 posts, 0 answers
  1. Luis Silva
    Luis Silva avatar
    7 posts
    Member since:
    May 2010

    Posted 19 May 2010 Link to this post

    If RadTabStrip and RadMultiPage are positioned in different ContentPlaceHolders of a Master Page, RadMultipage keeps presenting the fisrt view no matter wich tab you click. Is there a known workaround for this?

    Thanks

    Luis

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 20 May 2010 Link to this post

    Hello,

    Have you tried setting the RadMultiPage1's SelectedIndex value to the RadTabStrip SelectedIndex in the TabClick event?

    In the "TabClick" event access the corresponding MultiPage from code behind and set the SelectedIndex accrodingly.
         
     
        protected void RadTabStrip1_TabClick(object sender, RadTabStripEventArgs e)  
        {  
            // Access the RadMultiPage1 control  
            RadMultiPage1.SelectedIndex = RadTabStrip1.SelectedIndex;  
        } 

    Regards,
    Princy.
Back to Top