Click here to Skip to main content
16,020,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello

Is it possible to remove the Row Select colour from a Gridview after another search has been performed from a search box?

Thank you.

Peter
Posted
Updated 28-Jul-10 21:37pm
v2
Comments
Arun Jacob 28-Jul-10 6:42am    
Really we are also confused:-)
Sandeep Mewara 28-Jul-10 7:56am    
OP commented: Ha ha...

Although I can't supply the backend database, I can supply the aspx and aspx.cs files involved.
raju melveetilpurayil 28-Jul-10 14:37pm    
did save in database tables what you want.

Have you tried something like this in the Search Button click event?

GridView1.SelectedRow.RowState = DataControlRowState.Normal; 
 
Share this answer
 
Yes.

Have a default colour and reapply it after any selection.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900