I was using the RadTabStrip.Net2 dll in my project. In the project I had RadTabStrip as shown below.
<
radTS:RadTabStrip
id
=
"TabStrip"
runat
=
"server"
SkinsPath
=
"resources/Skins/"
Skin
=
"SimpleBarBlue"
MultiPageID
=
"MultiPage"
SelectedIndex
=
"0"
UseEmbeddedScripts
=
"true"
OnClientTabSelected
=
"TabCallback"
ClickSelectedTab
=
"true"
EnableViewState
=
"false"
/>
OnClientTabSelected, I am calling Javascript function "TabCallback" where I find the selected TabIndex and its childIndex as shown below.
function
TabCallback(sender, eventArgs)
{
if
(!eventArgs.Tab.Tabs[0] || eventArgs.Tab.DepthLevel == 2)
{
var
tab = eventArgs.Tab.Index;
var
innerTab = 0;
if
(eventArgs.Tab.DepthLevel == 2)
{
tab = eventArgs.Tab.Parent.Index;
innerTab = eventArgs.Tab.Index;
}
setCookie(
"TabID"
, tab);
setCookie(
"InnerTabID"
, innerTab);
setCookie(
"ViewID"
, eventArgs.Tab.Value);
window[
"<%= RadAjaxManager1.ClientID %>"
].AjaxRequest
(tab +
"|"
+ innerTab +
"|"
+ eventArgs.Tab.Value);
}
resize();
}
Now I am using another dll Telerik.Web.UI . But I am surprised to see these properties like Tab.Index, Tab.Depthlevel, Tab.Parent.Index doesnt work in new dll. Its says the object doesn't support these properties. I really need these functionalities. Can any one tell me the equivalent clientside properties in the new Telerik.Web.UI dll.
And one more thing, I am using the licensed dll and I need quick reply but I dont know how to get a ticket and post my questions. I would like to know about this too..
With Regards
Ravi