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

How to Access FOrmTemplate Controls in Javascript after PopupShow Event Fire

2 Answers 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Praveen
Top achievements
Rank 1
Praveen asked on 20 Oct 2010, 08:41 AM
HI

           I am Working on RadGrid with FormTemplate as Popup,Once clicked on Edit record of radGrid
popup is shown,This Popup contain dropDownlist on selected index of this dropdownlist i need to
disable some controls using Javascript how can u do it,Please let me know

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 20 Oct 2010, 09:20 AM
Hello Praveen,

Try the following method to achieve your requirement. In ItemCreated event access the DropDownList(which is in edit mode) and attach an 'onchange' event to DropDownList. Then pass the Client ID of the control(which you want to disable) to the client side event handler. In that client function you can access the control using this Client ID and disable it.

Thanks,
Princy.
0
Praveen
Top achievements
Rank 1
answered on 20 Oct 2010, 09:58 AM
Hi Princy,

              Thank You Very Much,i tryed as you told itsworking.....

Regards
Praveen
Tags
Grid
Asked by
Praveen
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Praveen
Top achievements
Rank 1
Share this question
or