Maybe a static method and/or View State?

C

CK

Hi All,

I am making a filter for a web page datagrid. I have the inner workings of
the filter doing what I need it to do. What I am trying to accomplish now is
to somehow retain the state of the filter between postbacks. I have two
images of a filter icon button. One is pressed and the other de-pressed. If
the filter is active, I would like some method to return true? otherwise
false. Then bind the image src to that property somehow. Does that make
sense? When the user clicks the image, I would set the IsFilter, then
postback, then evaluate IsFilter, then set the image source to the proper
image. Any ideas on how to approach this? All feedback is appreciated.

Thanks In Advance,
~CK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top