New DropDownControl behavior

Discussion in 'ASP .Net Building Controls' started by Luiz Vianna, Oct 2, 2003.

  1. Luiz Vianna

    Luiz Vianna Guest

    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
     
    Luiz Vianna, Oct 2, 2003
    #1
    1. Advertising

  2. Luiz Vianna

    Teemu Keiski Guest

    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


    "Luiz Vianna" <> wrote in message
    news:...
    > 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, Oct 4, 2003
    #2
    1. Advertising

  3. Luiz Vianna

    Luiz Vianna Guest

    Hi,

    sure!!!

    Thanks, it was that exectly....

    Luiz

    "Teemu Keiski" <> escreveu na mensagem
    news:ulVo$...
    > 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
    >
    >
    > "Luiz Vianna" <> wrote in message
    > news:...
    > > 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
    > >
    > >

    >
    >
     
    Luiz Vianna, Oct 6, 2003
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sorin Dolha [MCSD .NET]
    Replies:
    9
    Views:
    2,988
    Sorin Dolha [MCSD .NET]
    Mar 2, 2004
  2. dropdowncontrol problem

    , Jun 7, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    533
    =?Utf-8?B?R2lsYmVydCBCaXJvIFNpbW9u?=
    Aug 13, 2005
  3. Mantorok Redgormor
    Replies:
    70
    Views:
    1,849
    Dan Pop
    Feb 17, 2004
  4. Bjorn Sagbakken

    BackgroundImage in a DropDownControl?

    Bjorn Sagbakken, Oct 24, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    263
    Bjorn Sagbakken
    Oct 24, 2007
  5. Replies:
    2
    Views:
    512
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
Loading...

Share This Page