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

Modify ImageUrl with Client API

3 Answers 83 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Skypy
Top achievements
Rank 1
Skypy asked on 26 Mar 2008, 10:52 AM
Hello,

How can I modify ImageUrl with Client API (javascript) ?

Thanks !

3 Answers, 1 is accepted

Sort by
0
Skypy
Top achievements
Rank 1
answered on 26 Mar 2008, 10:56 AM
I found :

function tabSelecting(sender, eventArgs)
{
    eventArgs.get_tab().set_imageUrl("image.gif")
}

The new ClientSide API is great.
0
Skypy
Top achievements
Rank 1
answered on 26 Mar 2008, 01:12 PM
When I set imageUrl with client API, i can see my image and it disappear !

With server API there is no problem, what can I do to make it persist with client API ? and where can I get documentation for the new client API ?

Thanks
0
Skypy
Top achievements
Rank 1
answered on 26 Mar 2008, 01:38 PM
I found in CHM (installed with setup) at :
ms-help://MS.VSCC.v80/MS.VSIPCC.v80/telerik.radcontrols.prometheus.2008.Q1/telerik.radcontrols.prometheus.2008.Q1/tab_ClientSideRadTabStrip.html

The code :
tabStrip.trackChanges();
tabStrip.get_tabs().add(tab);
tabStrip.commitChanges();
Tags
TabStrip
Asked by
Skypy
Top achievements
Rank 1
Answers by
Skypy
Top achievements
Rank 1
Share this question
or