Click to See Complete Forum and Search --> : Postback problem


trekmp
May 10th, 2004, 11:34 AM
I'm created a custom control that uses the datagrid and also has a small text box that allows me to filter. When I include it on my page it works fine displays the default information to begin with. The problem starts when I want to filter it, I enter some text and press my Filter button, the screen refreshes but nothing has changed, so I straight away entered the same text and went through it again and this time is works.

Once its done it, I can do as many filters as I like and it works fine, till I leave the page then come back and the whole problem starts again.

Has anyone else had a similar problem and know how to correct this as its really bugging the **** out of me and I've been trying for ages to sort it.

I'm using IE 6, IIS6 and code behind method, don't know if any of this makes a difference.

gageller
May 17th, 2004, 01:09 PM
Hi,

Do you have any code you can post? That would definitely help.

Greg

TheCPUWizard
May 17th, 2004, 01:13 PM
Sounds like the order of events is not what you would expect. This is a fairly common issue. Post a compileable minimal sample that exhibits the behavior and we can take a look at it.