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

[Solved] Client Side get value of radnumeric or check box control which is inside GridTemplateColumn of radgrid in ondelete event or rowselect event .

1 Answer 220 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pabanas
Top achievements
Rank 1
Pabanas asked on 18 May 2009, 08:15 AM
I have a Radnumeric , Radcombobox  and rad radcheckbox in Radgrid inside GridtemplateColumn . I want to extract the value entered by the user in the ondelete  event on the client side .
Actually I want to get the value entered by the user and subtract the value in the footer .

         I already know to do this in onfocus and onblur event . i want this to happen in ondelete event in the client side .

                 
      var grid   = $find("<%= RadGrid2.ClientID %>");
      var row    = grid.MasterTableView.get_dataItems()[eventArgs.get_itemIndexHierarchical()].get_element();
      credit_col = grid.MasterTableView.getCellByColumnUniqueName(row, "GlcodeTextBox")

               I tried the above code but it did not solve the problem . More over i dont want the cell.innerhtml with all sapan the html tags . I want the value only  in ondelete event .

Please kindly help us . We have spent lot of time in this but we are unable find a solution .

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 18 May 2009, 08:31 AM
Hi,

Go through the following code library submission which explains how to access controls in the template column on the client side.
Accessing server controls in a grid template on the client

Princy.
Tags
Grid
Asked by
Pabanas
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or