This is a migrated thread and some comments may be shown as answers.

Dynamic User Controls

2 Answers 105 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
digitall
Top achievements
Rank 1
digitall asked on 01 Oct 2008, 09:58 PM
I am trying to create a wizard-like interface much like the demo on the Tabs page. I have been able to get tab navigation working fine as well as loading each individual user control. Utilizing the RadAjaxManagerProxy I have been able to get all AJAX working. The only issue I still have is getting my user control to have a button that enables the next tab (located on the main page) and make it visible (along with its associated PageView).

Any suggestions? I've been beating my head against the wall for the better part of four hours now and am at a complete loss.

2 Answers, 1 is accepted

Sort by
0
digitall
Top achievements
Rank 1
answered on 01 Oct 2008, 10:00 PM
Also, here is the code I am using on the user control. When walking through the debgugger everything does as I expect it to do (finding the control, setting the properties, etc) but the screen doesn't change and the "new" tab isn't enabled.

RadTabStrip strip = (RadTabStrip)Page.FindControl("radTabs"); 
            RadMultiPage mp = (RadMultiPage)Page.FindControl("radMultiView"); 
            RadPageView view = mp.FindPageViewByID("uc_stops"); 
 
            strip.Tabs[1].Enabled = true; 
            strip.Tabs[1].Selected = true; 
 
            view.Selected = true; 
 

0
Paul
Telerik team
answered on 06 Oct 2008, 12:51 PM
Hello digitall,

Unfortunately, the provided information does not help us much in reproducing the error. I'm afraid we could not be of much help unless we reproduce the issue on our side. It will be best if you can open a support ticket and send us a simple running project (incl. your custom skin, CSS, images, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

Thanks beforehand for your patience and cooperation,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TabStrip
Asked by
digitall
Top achievements
Rank 1
Answers by
digitall
Top achievements
Rank 1
Paul
Telerik team
Share this question
or