I've been trying many different ways to successfully add a tab
dynamically to a tabstrip on a parent page from a radwindow. I will
have many RadWindows open from a 1st tabstrip and shown / hidden from
that tabstrip. The first tabstrip will only show the Lists of records
in those RadWindows.
I have a 2nd tabstrip that is VerticalLeft that when a user clicks on a record from one of the 1st tabstrip RadWindows, code will execute via JS to 1. Open a new RadWindow showing the details of the record the user selected. and 2. Add a new tab to the 2nd tabstrip on the parent page that will control the showing of the new RadWindows with the details.
I've tried to use the following code, but it errors out on the: var tab = new Telerik.Web.UI.RadTab(); and says: "Object doesn't support this property or method"
var tabStrip = GetRadWindow().BrowserWindow.OpenItems;
var tab = Telerik.Web.UI.RadTab();
tab.set_text("Case: " + id);
tabStrip.add(tab);
I've tried to use the following code, but it errors out as well saying "No Such Interface Supported".
GetRadWindow().BrowserWindow().addTab("Testing");
I'm using the following version: 2008, 3, 1314, 20
These should both work as they are spelled out as methods to use to achieve this in the support forums and documentation. What am I missing? It's got to be something basic that I'm just not seeing.
Thanks
Ken
I have a 2nd tabstrip that is VerticalLeft that when a user clicks on a record from one of the 1st tabstrip RadWindows, code will execute via JS to 1. Open a new RadWindow showing the details of the record the user selected. and 2. Add a new tab to the 2nd tabstrip on the parent page that will control the showing of the new RadWindows with the details.
I've tried to use the following code, but it errors out on the: var tab = new Telerik.Web.UI.RadTab(); and says: "Object doesn't support this property or method"
var tabStrip = GetRadWindow().BrowserWindow.OpenItems;
var tab = Telerik.Web.UI.RadTab();
tab.set_text("Case: " + id);
tabStrip.add(tab);
I've tried to use the following code, but it errors out as well saying "No Such Interface Supported".
GetRadWindow().BrowserWindow().addTab("Testing");
I'm using the following version: 2008, 3, 1314, 20
These should both work as they are spelled out as methods to use to achieve this in the support forums and documentation. What am I missing? It's got to be something basic that I'm just not seeing.
Thanks
Ken