2014年7月13日 星期日

[RESOLVED] Is it required for the GridView RowDataBound event firing that the GridView should be visible?


I have GridView. Its RowDataBound is not firing. I need to set the GridView to be invisible. I have a problem that this event is not triggered/firing. Thus, Is it required for this event to be fired that its visible property must be "True"?


Thanks,



If it's the gridview you want to hide, the entire gridview, then simply use GridView1.Visible = false after you databind it.


If that's not what you're after, then explain further and also post your relevant html & code.



No, if no record the gridview will invisible its self.


沒有留言:

張貼留言