Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 9th, 2004, 12:01 PM
Registered User
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Refresh a combobox without postback

Dear,

First I must say that I am not very experienced with web development.
On the other hand, I am writing a web application and I need to refresh data in a combobox without a postback?

Is this possible in an ASP.NET web application?

I am not on an intranet. I am developing an webpage were I collect Elements - Property - Value pairs, with 3 comboboxes. The third combobox (values) depends on the selection of the first (Elements) and the second (Properties) and the history of items selected in the same session. Some combinations are not possible, therefore I collect all the previous selections made in an XML document. Send to the server, server reply with an additional section of values for the third combobox (values still allowed due to the previous selections made).

Is this possible without a refresh of the webpage (postback)??
Or should I write an ActiveX for this application?

Eddy

 
Old March 10th, 2004, 12:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

From what it sounds like you are trying to do, you should be able to accomplish this with an array and some client-side scripting.

Use the "onchange" event of the combo box.

J





Similar Threads
Thread Thread Starter Forum Replies Last Post
Avoid postback when a ComboBox is clicked Kika Other Programming Languages 0 January 21st, 2008 03:08 PM
Page Refresh on first postback slim182 ASP.NET 2.0 Basics 4 February 20th, 2007 08:22 PM
Custom Postback and Gridview refresh wirerider ASP.NET 2.0 Basics 5 February 28th, 2006 04:33 PM
Updating DataGrid without PostBack/Refresh Baby_programmer ASP.NET 1.0 and 1.1 Professional 13 April 11th, 2005 04:47 AM
Refresh DataGrid without PostBack Baby_programmer Classic ASP XML 1 April 2nd, 2005 04:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.