473,320 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Help : Bind control based on selection of others ????

Dear all

I have an ASP 1.1 application on which my user can filled some selection
querry field like :

ProductCatergorys (DropDownlist box)
Product names (DropDownList)
product number (text box)

At the form load, a dataset object contains product category information
whcih populate the first ProductCatergory (data bind), then update remaining
control according to initial value at form load

Then if my user change the ProductCategroy selection, the content of product
name list should be update as well as product number.

In the similar way if the Productname selection change, product number
should be updated accordingly.

Of course I could set the Autopostback to true for all controls that might
change and collect database information base on that

What is the best way to get that behaviour by limiting round trip to server ?

thnaks for your help
regards
serge
Jan 19 '06 #1
1 1163
you can use autopostback or an ajax (javascript) routine. if your using 2.0,
you can use client callbacks, but you will have to write your own
serialization of the drop down values.

-- bruce (sqlwork.com)
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:C3**********************************@microsof t.com...
Dear all

I have an ASP 1.1 application on which my user can filled some selection
querry field like :

ProductCatergorys (DropDownlist box)
Product names (DropDownList)
product number (text box)

At the form load, a dataset object contains product category information
whcih populate the first ProductCatergory (data bind), then update
remaining
control according to initial value at form load

Then if my user change the ProductCategroy selection, the content of
product
name list should be update as well as product number.

In the similar way if the Productname selection change, product number
should be updated accordingly.

Of course I could set the Autopostback to true for all controls that might
change and collect database information base on that

What is the best way to get that behaviour by limiting round trip to
server ?

thnaks for your help
regards
serge

Jan 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Phil Schmidt | last post by:
I'm trying to make a custom entry widget, as in the code that follows. There are two problems I'm trying to fix: 1) I would like the widget to behave as myEntry.Escape() does now, except that it...
3
by: serge calderara | last post by:
Dear all, I ma collected data from a CSV file and build dataset based on those data. I would like to bind this dataset to a treeview control in order that nodes gets displayed automatically...
2
by: Greg Bradburn | last post by:
Greetings, I have a form with two comboboxes that I want to be populated with the same values from a table (i.e. both comboboxes have the same table/column as their datasource and display...
0
by: Patrick | last post by:
I'm working on a contact management application, and need a hand with one aspect... Here's what I want to create: ------------------------------------ A form split into two parts. There is a...
6
by: Alpha | last post by:
I have a listbox with datasource from a dataview. When a user selects a different item in a combobox then I need to refresh the listbox to the appropriate listing based on that combobox's selected...
2
by: Daniel | last post by:
I'm new to .Net and all of its abilities so I hope this makes sense. Basically I'm confused on when is the appropriate time to use web forms controls vs. regular HTML. For example in ASP...
0
by: AMDRIT | last post by:
Hello everyone, VB2003-Winforms I have a class object (testclass), that I would like to bind parts of to two custom controls (control1 and control2). The testclass is stored in a hash table...
2
by: Phil | last post by:
I have a datalist (DataList1)... with an itemtemplate... then a table - server side (Table1)... then another datalist (DataList2)... another itemtemplate... another table - server side (Table2)...
5
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.