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

[Solved] Client Instance Name

2 Answers 226 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
akd2001
Top achievements
Rank 1
akd2001 asked on 15 Feb 2010, 06:32 AM
Hi everybody,
I'm evaluating different toolkits and I see DevEx has really nice feature: ClientInstanceName. Essentially, the name you assign for that property in any control is available for you in javascript without needing to do something like
var myControl = $find('<%= MyControl.ClientID %>'); 

ClientInstanceName lets you simply call "myControl" without having to worry about that extra step. This not only helps make the code cleaner, but also to separate it in a javascript file, as opposed to a script tag in a page.

Is there something equivalent to this in this toolkit? Are there any plans to implement such a feature in upcoming versions?

Thanks

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 15 Feb 2010, 09:27 AM
Hello akd2001,

This will be functionality supported by the ASP.NET 4.0 version of the framework (the ETA for it is mid April this year). Our ASP.NET AJAX controls will support ClientIDMode settings in conformance with the conventions of the .NET framework. More information about this new feature can be gathered from this blog post.

Best regards,
Sebastian
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
akd2001
Top achievements
Rank 1
answered on 15 Feb 2010, 02:01 PM
Wow! That's great news!

Thanks
Tags
General Discussions
Asked by
akd2001
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
akd2001
Top achievements
Rank 1
Share this question
or