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

Manuplating GridEditFormIte in the Clientside

2 Answers 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sintayehu
Top achievements
Rank 1
Sintayehu asked on 26 Sep 2008, 07:41 PM
I have a mix of checkboxes and text boxes in a radgrid editform that I would like to manuplate from the client side.

Upon selection of the diffrent checkboxes I want to disable textboxs.

If I am not wrong in the code behind I can do that by accessing this object GridEditFormItem.

Is there a way to do what I need to do through javascript?

Appreciate your help.

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 29 Sep 2008, 05:30 AM
Hi,

Go through the following code library submission and see whether it helps.
Retrieving grid editor value client side

Shinu.
0
Sintayehu
Top achievements
Rank 1
answered on 29 Sep 2008, 03:10 PM
The example you sent is useful for getting values, but not helpful in my case, I needed to know when checkboxes in a grideditform are clicked.

<telerik:GridCheckBoxColumn DataField="mydata" HeaderText="mydata" SortExpression="mydata" UniqueName="mydata" DataType="System.Boolean" EditFormColumnIndex="1"></telerik:GridCheckBoxColumn>

The control above does not have an onclick event. I need a way to know when it is clicked and disable other controls in the editform accordingly.


I found an altenative, using asp controls in the grid templateItem telerik has.

Thanks!

Tags
Grid
Asked by
Sintayehu
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Sintayehu
Top achievements
Rank 1
Share this question
or