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

How to call javaScript Function for tab Mouse over in class file

0 Answers 33 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Sagar Baheti
Top achievements
Rank 1
Sagar Baheti asked on 30 Sep 2008, 11:40 AM
Hi,

I am creating a custom server control which includes a telerik Tabstrip control. I have to call a onmouseover javascript function from class file. Right now i have used "navigationTab.Attributes.Add("onmouseover", "return SelectMyTab();");" in my CreateChildControls method but the javascript function is not working. I think  the problem
 is how i can pass sender and RadTabstripEventArgs in this function.
 Javascript function i am trying

function SelectMyTab(sender, args)

{

var multiPageID = sender.get_multiPageID();

sender.set_multiPageID(null);

args.get_tab().select();

sender.set_multiPageID(multiPageID);

}

Regard,

Sagar




No answers yet. Maybe you can help?

Tags
TabStrip
Asked by
Sagar Baheti
Top achievements
Rank 1
Share this question
or