Dynamically Loading asPx pages to pageView

3 posts, 0 answers
  1. Hk
    Hk avatar
    45 posts
    Member since:
    Nov 2008

    Posted 07 Jan 2009 Link to this post

    How can I dynamically load an ASPX page to a pageView?
    When I needed to load ASCX, I used these functions:
    private void LoadTab(WizardTab tab) 
            { 
                // Enabling the tab 
                RadTab radStripCurrentTab = ConfigStrip.Tabs.FindTabByValue(tab.TabId.ToString()); 
                if (radStripCurrentTab != null
                    radStripCurrentTab.Enabled = true
     
                 
     
     
                // Loading the pageView into it 
                RadPageView pageView = new RadPageView(); 
                pageView.ID = tab.TabControlPath; 
                pageView.Selected = true
                ConfigMultiPage.PageViews.Add(pageView); 
     
     
            } 
     
    protected void ConfigMultiPage_PageViewCreated(object sender, RadMultiPageEventArgs e) 
            { 
                RadMultiPage p = (RadMultiPage)sender; 
                 
                 
                AbstractConfigWizardTab tabControl = (AbstractConfigWizardTab)LoadControl(e.PageView.ID); 
                tabControl.PackageId = PackageId; 
                tabControl.ID = e.PageView.ID + "userControl"
                e.PageView.Controls.Add(tabControl); 
                ViewState["pv" + (ConfigMultiPage.PageViews.Count - 1).ToString()] = e.PageView.ID; 
            }  
     
     


    But now I didn't find any way to load an ASPX! can u tell me how?

  2. Bryan Tan
    Bryan  Tan avatar
    3 posts
    Member since:
    Apr 2010

    Posted 06 Apr 2010 Link to this post

    any solution from telerik expert?
  3. Yana
    Admin
    Yana avatar
    5030 posts

    Posted 08 Apr 2010 Link to this post

    Hi Bryan Tan,

    You cannot load directly aspx page in the pageview, you can add iframe to the pageview to achieve this.

    Regards,
    Yana
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top