Click here to Skip to main content
16,012,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,

I had radiobutton list that is dynamiacally binded to gridview,now i want to hide total radiobutton list according to the condition is it possible??

thanks in advance!!
Posted
Comments
Thanks7872 16-Jul-13 3:15am    
total radiobutton list ? Elaborate your question.
Swetha Bisa 16-Jul-13 3:18am    
hai rohan

my question is i had a radio button list with 4 list items binded dynamically to a gridview in a loop. Now according to condition i want to hide the radiobutton list. is it possible to hide??

for eg:

if it is today i want to show the radiobuttonlist
and if it is yesterday or lastmonth i want to hide it
Thanks7872 16-Jul-13 3:20am    
e.g. you have gridview which have radiobuttonlist with 4 items swetha,bisa,rohan,leuva. Now you want to hide any one of them or hide whole list?
Swetha Bisa 16-Jul-13 3:21am    
whole list
Thanks7872 16-Jul-13 3:22am    
Than set radiobuttonlist.visible="false" at some condition.Whats the problem?

1 solution

yes that is possible
you have to put conditions in Gridview_RowCommand by find control of checkbox.
 
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