Romesh Somani
Romesh Somani

Reputation: 373

Best way to hide a row with contols of a grid view at runtime but controls should be enabled?

I want to hide a row with contols of a grid view at runtime but controls should be enabled.

I have a grid view which consists a checkbox, 2 textboxes and 1 dropdown list control for every row and i want that on a particular condition that grid view row should not be displayed but internally these controls should be enabled.

Upvotes: 1

Views: 433

Answers (1)

cbp
cbp

Reputation: 25628

Set the row's css style to display: none. See here: Selectively apply css to a row in a gridview

Upvotes: 2

Related Questions