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

get textbox control in radgrid by row index

1 Answer 155 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anish
Top achievements
Rank 1
Anish asked on 22 Jun 2012, 08:41 AM
 protected void RadAjaxManager1_AjaxRequest(object sender,Telerik.Web.UI.AjaxRequestEventArgs e)
        {
            if (e.Argument == string.Empty)
            {
                populategrid();
            }
            string[] editedItemIds = e.Argument.Split(':');
            int i;
            for (i = 0; i <= editedItemIds.Length - 2; i++)
            {
                int Rowindex =Convert.ToInt32(editedItemIds[i]);
                int ID =0;
                        ID = Convert.ToInt32(RadGrid1.MasterTableView.DataKeyValues[Rowindex]["id"]);
                   
            }
        }

my need is to update and insert data in rad grid by batch updating .  For inserting created new rows and get the row index using
script. how i  will get find control of text box by row index. How i handle inserting and updating by the above code. does any issue occurs or it will work fine. if there is any easy way please reply urgent. 


1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 23 Jun 2012, 03:41 PM
Hello Anish,

Please check below links. I hope it helps to you.
access the radgrid's control on client
How to access the control from itemtemplate in Radgrid on client side

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Anish
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or