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

Possible methods for GridView implementation.

1 Answer 14 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Timothy Lin
Top achievements
Rank 1
Timothy Lin asked on 27 Oct 2009, 07:41 AM
Hi all,

I want to interface the Telerik RadGridView control with some data on my SQL Server backend. At the moment I am deciding the best method to do this, what I want to do on the grid is to have regions where user input is allowed (editable) and regions where it is only read only. Users will need to be able to change the editable values (which are pulled from the database) and these changes will need to be updated into the database, then used to recalculated (on the client end) and then reflected in the read only regions of the grid.

At the moment I've written functionality to get data from the database (LINQ TO SQL) and then individually create rows which are inserted into a data table which is then bound to the RAD datagrid. Will I be able to control the properties of each row this way? For example having some rows editable, some read only and also styling options such as cell back ground colour, font bolding etc.

I apologise if my description is very vague but it's the best way I can explain it at the moment!

Thanks in advance!

Tim.

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 30 Oct 2009, 08:29 AM
Hi Timothy,

I think you can use a combination of RowLoaded event and disabling certain rows/cells like we do in this online example.

Best wishes,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Timothy Lin
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or