Sorry for the title but I hope I got your attention, and yes you have cheated :-)
With respect to this article - http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/loadondemand/defaultcs.aspx
I'm trying to do a similar thing, except my tabs have spaces in the names. Hence when I click on a tba the page errors in this code block because its passing back the tab name as previously set up, and its look for a page with the tab name ie with a space.
I have tried setting the ID property but it looks like it Read Only. You have only got this code to work by using Single words for the tab names (hence the cheat) .
How can I achieve this.
Andy
With respect to this article - http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/loadondemand/defaultcs.aspx
I'm trying to do a similar thing, except my tabs have spaces in the names. Hence when I click on a tba the page errors in this code block because its passing back the tab name as previously set up, and its look for a page with the tab name ie with a space.
Protected Sub RadMultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As RadMultiPageEventArgs) Handles RadMultiPage1.PageViewCreated |
Dim userControlName As String = e.PageView.ID & "VB.ascx" PAGE ERRORS HERE |
Dim userControl As Control = Page.LoadControl(userControlName) |
userControl.ID = e.PageView.ID & "_userControl" |
e.PageView.Controls.Add(userControl) |
End Sub |
I have tried setting the ID property but it looks like it Read Only. You have only got this code to work by using Single words for the tab names (hence the cheat) .
How can I achieve this.
Andy