This is a migrated thread and some comments may be shown as answers.

Runtime Error after upgrading to developers license

1 Answer 29 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Vishal
Top achievements
Rank 1
Vishal asked on 19 Aug 2010, 01:18 AM
Hello Telerik Team,

I have upgraded my trial License to the Developers License ( Version: 2010.2.713.40)
I am getting Microsoft JScript runtime error: Object expected near:
 

 

var multiPage = $find("<%= tabMultiPage.ClientID %>");

in the below function:

  

function deleteTab(tabText)
           {
               var tabStrip = $find("<%= tabContainer.ClientID %>");
               var multiPage = $find("<%= tabMultiPage.ClientID %>");
               var tab = tabStrip.findTabByText(tabText);
               var pageView = tab.get_pageView();
                 
               var tabToSelect = tab.get_nextTab();
               if (!tabToSelect)
                   tabToSelect = tab.get_previousTab();
                     
               tabStrip.get_tabs().remove(tab);
               multiPage.get_pageViews().remove(pageView);
                 
               if (tabToSelect)
                   tabToSelect.set_selected(true);
               multiPage.commitChanges();
               tabStrip.commitChanges();   
           }

I have my web.config changes as shown below:

<add key="Telerik.TabStrip.Skin" value="Outlook" />
<add key="Telerik.Grid.Skin" value="Default" />
<add key="Telerik.TabStrip.EnableEmbeddedSkins" value="false" />
<add key="Telerik.TabStrip.EnableEmbeddedBaseStylesheet" value="false" />

It would be great if you can help me in this regard.
Please let me know if you need any more info.

Thanks,
Vishal

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Vishal
Top achievements
Rank 1
answered on 19 Aug 2010, 01:26 AM
Hello,

I got it resolved. It was used as controlID in AjaxUpdateControl. Removed it and that fixed.
Tags
TabStrip
Asked by
Vishal
Top achievements
Rank 1
Answers by
Vishal
Top achievements
Rank 1
Share this question
or