Loading an .aspx page in Multipage control.

2 posts, 0 answers
  1. Narendran
    Narendran avatar
    2 posts
    Member since:
    Feb 2009

    Posted 06 Apr 2010 Link to this post

    Hi Telerik Team,

    We are currently evaluating  your RadTabStrip and RadMultipage controls to use in our project.

    We have the following requirements,

    1) We have RadTabstrip control and RadMultipage control in the form. On Clicking (or) Loading on the TabStrip Item, We want to view the corresponding . aspx page  in the Multipage Control.

    2)We have get the Page Url and Page Title  from Database. Page Title assign to the radtabstrip and Pageurl Assign to the Multipage Control, Based on Page Url, the Page will be open inside the Multipage Control.



     We have existing .aspx page url, page Title get from database, this Corresponding page url .aspx page will  load in multipage control and  corresponding Page title assign to the Tab strip.

    Right now we are using this Coding for loading RadTabstrip and  RadMultipage Control

      for (int i = 0; i < DtBindScreenValue.Rows.Count; i++)


         RadTab RadTabVar = new RadTab();

         RadTabVar.Text = Convert.ToString(DtBindScreenValue.Rows[i]["sDefaultName"]);

         RadTabVar.Value = Convert.ToString(DtBindScreenValue.Rows[i]["aspxPageUrl"]);

         RadTabVar.ImageUrl = Convert.ToString(DtBindScreenValue.Rows[i]["Image"]);



          RadPageView pageView = new RadPageView();

          pageView.ID = Convert.ToString(DtBindScreenValue.Rows[i]["sDefaultName"]);



          RadTabVar.PageViewID = pageView.ID;




    This is our page screen Shot. This page contain radtabstrip and Multipage control.

    Please provide as a working sample with our requirement.

    Thanks in advance.








  2. Veronica
    Veronica avatar
    1213 posts

    Posted 09 Apr 2010 Link to this post

    Hello Narendran,

    I've made a sample project to help you with the scenario. The idea is to use an iframe for the PageView which will contain the corresponding .aspx page. The src to the iframe must refer to the page.

    HtmlGenericControl control = new HtmlGenericControl("iframe");
           control.Attributes["ID"] = "frame1";
           control.Attributes["src"] = "Default.aspx";

    You may find the full code in the attached .zip file.

    Hope this helps.

    Best wishes,
    Veronica Milcheva
    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