Groups | Blog | Home
all groups > asp.net building controls > october 2003 >

asp.net building controls : New DropDownControl behavior



Luiz Vianna
10/2/2003 3:24:33 PM
Guys,

I developed a new DropDown control (that I use a lot).

Basicly, it goes to sql an got data on a predefined table and shows itself
on my form. It works fine.

The problem is when I submit the form all standard dropdown keeps their
selections and my goes to a initial status (nothing selected)

What I forgot?

Thanks

Luiz

Teemu Keiski
10/4/2003 12:31:23 PM
Hi,

did you remember to implement the control so that it is not bound or
populated on every request, because that might clear selections, (depending
how you have implemented the control).

--
Teemu Keiski
MCP, ASP.NET MVP
AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com


[quoted text, click to view]

Luiz Vianna
10/6/2003 7:01:55 PM
Hi,

sure!!!

Thanks, it was that exectly....

Luiz

"Teemu Keiski" <joteke@aspalliance.com> escreveu na mensagem
news:ulVo$6liDHA.3392@tk2msftngp13.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button