![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello. I have a gridview column item that i want to not make visible if the bound data in that cell is less than a value in a textbox. However, I notice at the time my code checks a function that I call from the visible property of the gridview itemtemplate, the textbox is always blank. I tried setting the textbox in the prerender, but I suspect the gridview is built much earlier in another event.. like items created. Whats the best way to attack this? Also, and a question I can't believe I'm asking.. what's the preferred way to store information in a codebehind variable so that's a available across all subs, functions and events? For example, if I want to have something in a variable I set in the prerender, how do I make that available in Page load sub? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
would anybody have an example of how I can loop through the grid and change visibility of items after it's been built? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |