Hello,
Searched the forums for a while, but not really what i'm looking for... I want full dynamic load of tab, pages and controls on the page. I also tried it with an event (PageViewCreated) using AddHandler, as in an example, but no luck...
I was wondering why this wont work:
Thanks,
Erik
Searched the forums for a while, but not really what i'm looking for... I want full dynamic load of tab, pages and controls on the page. I also tried it with an event (PageViewCreated) using AddHandler, as in an example, but no luck...
I was wondering why this wont work:
Private Sub _Default_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init Dim PH As PlaceHolder = PlaceHolder1 Dim RTS As New RadTabStrip Dim RMP As New RadMultiPage For i As Integer = 1 To 4 Dim RT As RadTab = New RadTab RT.Text = "Tab " & i RT.PageViewID = "Tab_" & i RTS.Tabs.Add(RT) Dim RPV As New RadPageView RPV.ID = "Tab " & i RMP.PageViews.Add(RPV) Dim Pnl As Panel = New Panel Pnl.Controls.Add(New LiteralControl("tabbie " & i)) RPV.Controls.Add(Pnl) Next i RTS.SelectedIndex = 0 PH.Controls.Add(RMP) PH.Controls.Add(RTS)End SubThanks,
Erik