Hi,
Is it possible to implement a RadMultiPage (load on demand) without tabs.
I have already tabs on my page to manage aspx page.
I would like to manage the RadMultipage with ASP button.
It's working but it is very slow (to slow) and i have problem with the postback.
Here is my code inside the aspx page:
If it's possible? Do you have maybe a samples?
Of do I need to implement this with other control ( like update panel) ?
Any help and suggestion would be appreciate.
Thanks,
Edwin.
Is it possible to implement a RadMultiPage (load on demand) without tabs.
I have already tabs on my page to manage aspx page.
I would like to manage the RadMultipage with ASP button.
It's working but it is very slow (to slow) and i have problem with the postback.
Here is my code inside the aspx page:
| protected void Page_Load(object sender, EventArgs e) |
| { |
| if(!Page.IsPostBack) |
| { |
| AddPageView("VacancyAddStep0"); |
| btn_NextStep.Visible = true; |
| btn_PreviousStep.Visible = false; |
| } |
| } |
| private void AddPageView(string pageViewId) |
| { |
| var pageView = new RadPageView { ID = pageViewId }; |
| RadMultiPage1.PageViews.Add(pageView); |
| } |
| protected void RadMultiPage1_PageViewCreated(object sender, RadMultiPageEventArgs e) |
| { |
| string userControlName = "~/Views/" + e.PageView.ID + ".ascx"; |
| Control userControl = Page.LoadControl(userControlName); |
| userControl.ID = e.PageView.ID + "_userControl"; |
| e.PageView.Controls.Add(userControl); |
| } |
| protected void LoadOfActiveRadPage(string pageName) |
| { |
| var multiPage = RadMultiPage1; |
| RadPageView _pageStep = multiPage.FindPageViewByID(pageName); |
| if (_pageStep == null) |
| { |
| _pageStep = new RadPageView(); |
| _pageStep.ID = pageName; |
| multiPage.PageViews.Add(_pageStep); |
| } |
| _pageStep.Selected = true; |
| } |
If it's possible? Do you have maybe a samples?
Of do I need to implement this with other control ( like update panel) ?
Any help and suggestion would be appreciate.
Thanks,
Edwin.