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

Hidden Columns

4 Answers 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cush
Top achievements
Rank 1
Cush asked on 20 Dec 2010, 05:53 PM
Hi All

I currenly have a Row click event that recognized if a certain cell has been clicked, the Javascript then opens a window and passes certain values to the window from the row.
I want to pass some values from Hidden columns however i cannot get the value unless the column is either visible or display = false,
If i set the display to False this then completely confuses the Row Click event, So i have set the columns to zero width to overcome the problem.

However i would really like to hide these columns, so my question: is there "Any" way using java to get the cell value if the associated column is hidden?

Many Thanks

Regards

Darren

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 20 Dec 2010, 06:19 PM
Hi Darren,

You need to add the DataField to the ClientDataKeyNames array of the master table as explained here:
http://www.telerik.com/help/aspnet-ajax/grdextractkeyvaluesclientside.html

All the best,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Cush
Top achievements
Rank 1
answered on 20 Dec 2010, 08:00 PM
Hi Pavlina

Many thanks for that, it worked a treat.

Best Regards

Darren
0
Roger
Top achievements
Rank 1
answered on 09 Feb 2012, 12:42 PM
Pfffft - That link is BROKEN
0
Pavlina
Telerik team
answered on 09 Feb 2012, 01:11 PM
Hello Roger,

Here is the correct link to the pointed help article:
http://www.telerik.com/help/aspnet-ajax/grid-extract-key-values-client-side.html

All the best,
Pavlina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Grid
Asked by
Cush
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Cush
Top achievements
Rank 1
Roger
Top achievements
Rank 1
Share this question
or