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

Add textbox value in the RadGrid Column automatically

1 Answer 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Syed
Top achievements
Rank 1
Syed asked on 03 May 2009, 06:00 AM
Hi,

I am inserting new rows in the RadGrid. I have one column "Details_ID" in the RadGrid. Moreover i have one textbox on the page, everytime whenever a new row is inserted, the Textbox value will have to add automatically in to RadGrid column "Details_ID".

Moreover, i want to hide few columns of RadGrid whenever the page loads.

Please tell me how to solve this problem.

Thanks.

Regards
Arshad

1 Answer, 1 is accepted

Sort by
0
Accepted
Prangadj
Top achievements
Rank 1
answered on 06 May 2009, 01:34 PM
Arshad, I found how to set column properties programmatically in this help in the end of the page. To insert Details_ID for new rows in grid, I would fetch the value from the textbox on the page and append it in the INSERT db query.

Prangadj
Tags
Grid
Asked by
Syed
Top achievements
Rank 1
Answers by
Prangadj
Top achievements
Rank 1
Share this question
or