EmptyData Template

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,
how can i test if this template is currently active in the code-behind?

thanks,
rodchar
 
You can test if there are no records bound, which would bring up that
template. If you want to know if the Template is showing after you fill (or
attempt to fill), you can check GridView.Rows.Count. If it is 0, the empty
data template is showing.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 
Thank you very much.

Cowboy (Gregory A. Beamer) said:
You can test if there are no records bound, which would bring up that
template. If you want to know if the Template is showing after you fill (or
attempt to fill), you can check GridView.Rows.Count. If it is 0, the empty
data template is showing.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 
Back
Top