Jan 11, 2010 #1 T111 Programmer Jun 28, 2003 91 IE If a session value is true how to disable the entire delete button on the gridview. e.g. If session("AllowDeletes") = false then me.gridview1.Allowdelete = false End if Thanks!
If a session value is true how to disable the entire delete button on the gridview. e.g. If session("AllowDeletes") = false then me.gridview1.Allowdelete = false End if Thanks!
Jan 11, 2010 #2 foxbox Programmer Sep 11, 2000 1,052 NL mmmm, that is asp.net (post the question in that forum). maybe this will guide you in the right direction: [link]http://www.tek-tips.com/viewthread.cfm?qid=1239568 [/url] Upvote 0 Downvote
mmmm, that is asp.net (post the question in that forum). maybe this will guide you in the right direction: [link]http://www.tek-tips.com/viewthread.cfm?qid=1239568 [/url]
Jan 14, 2010 Thread starter #3 T111 Programmer Jun 28, 2003 91 IE Ok just created 2 gridviews one with delete button and the other without then set the appropriate gridview visible depending on the session variable. Upvote 0 Downvote
Ok just created 2 gridviews one with delete button and the other without then set the appropriate gridview visible depending on the session variable.