Greetings,
I am getting "Error: Object expected" when creating a new RadTab. Any ideas what could be causing this? It makes no sense to me, and it only happens when the script resides in a RadWindow.
Regards,
Tom
I am getting "Error: Object expected" when creating a new RadTab. Any ideas what could be causing this? It makes no sense to me, and it only happens when the script resides in a RadWindow.
function openingNewWindow(oWnd, title) { if (oWnd) { tabStrip.trackChanges(); //create a new tab var tab = new Telerik.Web.UI.RadTab(); //set the text of the tab tab.set_text(title); oWnd.correspondingTab = tab; //add the tab to the tabstrip tabStrip.get_tabs().add(tab); tabStrip.repaint(); tab.correspondingWnd = oWnd; tab.set_imageUrl("../CSS/titlegraphic.gif"); tabStrip.commitChanges(); //Select this tab tab.select(); } }Regards,
Tom