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

Get Dock Control

1 Answer 77 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Elton
Top achievements
Rank 1
Elton asked on 24 Oct 2007, 11:54 AM
Hello,

This sounds not just for Rad controls, but I did encounter it during working with Rad.

I use javascript to radcontrol from id, but my id is variable:
...
var id = "dock"+i;
var dock = $find("<%= id.ClientID%>");//Error here
...
Is there some alternative for this?

Cheers

1 Answer, 1 is accepted

Sort by
0
Ubong
Telerik team
answered on 29 Oct 2007, 12:43 PM

Hello Elton,

Could you please go into some more detail regarding waht your scenario is and what you are trying to do? You said you use "JavaScript to a RadControl from id but  id is a variable". Are you trying to extend the id? What is the error you commented in the code?
Looking forward to receiving further info on this.

Greetings,
Ubong
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Elton
Top achievements
Rank 1
Answers by
Ubong
Telerik team
Share this question
or