Postback Query

Discussion in 'ASP .Net Web Controls' started by Tim, May 26, 2007.

  1. Tim

    Tim Guest

    Being relativly new to ASP.NET, what is the stratagy for populating a combo
    box, but not have the whole page refresh? ie. if a user selects one value
    from one box, then another one gets populated based on it value. (Like when
    a make of car is selected, then the models for that make are retreived).

    I have created server side controls and have Postback switched on, but this
    refreshes the whole page. Do I have to use Javascript or something?

    Any pointers / advice will be greatly appreciated.

    TIA

    Tim
    Tim, May 26, 2007
    #1
    1. Advertising

  2. Tim

    burlo Guest

    You will need to use AJAX. This will only render the dropdownlist and not the
    whole page.

    "Tim" wrote:

    > Being relativly new to ASP.NET, what is the stratagy for populating a combo
    > box, but not have the whole page refresh? ie. if a user selects one value
    > from one box, then another one gets populated based on it value. (Like when
    > a make of car is selected, then the models for that make are retreived).
    >
    > I have created server side controls and have Postback switched on, but this
    > refreshes the whole page. Do I have to use Javascript or something?
    >
    > Any pointers / advice will be greatly appreciated.
    >
    > TIA
    >
    > Tim
    >
    >
    burlo, May 28, 2007
    #2
    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. Psych971
    Replies:
    5
    Views:
    4,592
    bruce barker
    Dec 17, 2004
  2. =?Utf-8?B?Q2hhZA==?=

    Postback not being set to True on first postback

    =?Utf-8?B?Q2hhZA==?=, Apr 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    482
    =?Utf-8?B?Q2hhZA==?=
    Apr 4, 2005
  3. gce
    Replies:
    2
    Views:
    1,693
  4. Jacky Chau
    Replies:
    2
    Views:
    2,022
    Ninjamyst
    Jun 8, 2005
  5. Fabio Mastria
    Replies:
    5
    Views:
    4,328
    TechMCAD13
    Jan 30, 2008
Loading...

Share This Page