|
Rank: Advanced Member Groups: Member
Joined: 1/3/2008 Posts: 32
|
I have tabstrip, which generates dynamically depending on user selection, So i am creating pageviews also dynamically and adding to the multipage which is associated with the tabstrip. Is there any way to open urls in each pageview directly.
Dim pvPageView As New EO.Web.PageView pvPageView.ResolveUrl(URLString) // something like this
MultiPage1.PageViews.Add(pvPageView)
Dim tpTabPage As New EO.Web.TabItem tpTabPage.Text.Html = tlbButton.Text tpTabPage.ToolTip = tlbButton.ToolTip TabStrip1.Items.Add(tpTabPage)
Saji
|
|
Rank: Advanced Member Groups: Member
Joined: 1/3/2008 Posts: 32
|
Dim labelHTML As New Label labelHTML.Text = "<IFRAME WIDTH='100%' HEIGHT='100%' SRC='" & URLString & "'></IFRAME>"
Dim pvPageView As New EO.Web.PageView pvPageView.Controls.Add(labelHTML) MultiPage1.PageViews.Add(pvPageView)
Dim tpTabPage As New EO.Web.TabItem tpTabPage.Text.Html = tlbButton.Text tpTabPage.ToolTip = tlbButton.ToolTip TabStrip1.Items.Add(tpTabPage) TabStrip1.Items(TabStrip1.Items.Count - 1).Selected = True
Done using the above method, please let me know if any better method
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi,
I believe using an iframe is the correct way to do it.
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 1/3/2008 Posts: 32
|
Ok thanks, can i add tabpage dynamically to tabstrip using the javascript, basically i want to convert the above code into javascript. In the above case when i create the 2nd tabpage dynamically i loss the content of the first created tabpage (because it is stateless), so whenever i add a new tabpage dynamically, i get only the last tab page data, loses all others
please help me
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi, Once again, please check the documentation for this. Our support is not here to replace the documentation, neither to solve every programming question you have. We do expect you to handle most issues by yourself and put out reasonable effort before requesting support. To the least extend, you should check the documentation first because everything available is there. Please review our support policy here: http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=1368Thanks
|
|