Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a grid view, in that i can add rows dynamically including one drop downlist say dp1 and some text boxes.In the selected index change even of drop down list the some of the text boxes will be inviisble based on the selected value.But now when i select a value in dropdownlist it is affecting all the rows in grid view. How can i make it possible to make invisible the columns of particular row based on the selected value of dropdown list..?
Posted

Hi Aflath,
Adding rows Dynamically to GridView

Don't post Questions Directly on CP,just do some work on it,make it a habbit.
Have a good time...
 
Share this answer
 
you would be able to find parent of your event generating control (ddl1.parent), the parent will be the row where the ddl is residing find rest of the textboxes in the same parent row, and you are dont.

wish the idea will help you...
 
Share this answer
 
Comments
Aflath 25-Oct-11 8:05am    
Thank you Pandya..Am new to asp.net and your post helped me ..
Pandya Anil 25-Oct-11 23:39pm    
mark as answer if solved your problem

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