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

dynamic pageviews, tabs and multi page

3 Answers 115 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Atiq Ur Rehman
Top achievements
Rank 1
Atiq Ur Rehman asked on 21 Oct 2008, 03:14 PM
Hi

I am having some trouble with dynamically created radtabstrip, radmultipage and radpageviews.

Here is what I am doing. I am creating a tabstrip, multipage and pageview dynamically on pageload. There is a button created as well on the page after these controls are created. Everything is created dynamically.

The button which is created when clicked should add another tab and page view to the existing tabstrip and multipage. Its adding tabs when I click the button but it doesn't create a pageview instead the already created pageview (on pageload) is gone.

What is the solution to this problem? All the controls are created dynamically and are added to a place holder on the page. I am using this http://www.denisbauer.com/ASPNETControls/DynamicControlsPlaceholder.aspx place holder which persists its child controls.

Can someone please help me with this?

Thanks
Atiq

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 21 Oct 2008, 03:31 PM
Hello Atiq Ur Rehman,

The last time we tested the dynamicplaceholder control didn't support complex third party controls very well. It had hardcoded checks for the built-in controls only. If using the dynamicplaceholder control is mandatory for you I suggest you send us your project in a support ticket so we can check how to patch that control.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Atiq Ur Rehman
Top achievements
Rank 1
answered on 22 Oct 2008, 08:33 AM
Hi I have submitted the project with ticket no 169230
Please have a look at the project and get back to me as soon as you can.
If you want to make any changes to the dynamic place holder, you can get the source from this url i think http://www.denisbauer.com/ASPNETControls/DynamicControlsPlaceholder

Thanks
Atiq
0
Atiq Ur Rehman
Top achievements
Rank 1
answered on 25 Oct 2008, 07:27 PM
Hi Albert ,
Telerik help was not of a much help so I tried it myself and studied more into it. I have finally cracked it and it works very well with dynamic place holder. The only thing I had to do was add the dynamic control to the parent control right after declaring it and giving it an id and then after adding it to the parent control, assign it all the properties. You have to do it with all the controls which you add to the dynamic place holder or controls in the dynamic place holder.
I would be glad to help if some one need my help.

Thanks
Atiq
Tags
TabStrip
Asked by
Atiq Ur Rehman
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Atiq Ur Rehman
Top achievements
Rank 1
Share this question
or