Ask a Question related to ASP.NET General, Design and Development.
-
Tamir Berger #1
ComboBox
Hi,
I have an ASP.NET form that includes several combo Boxes.
The first Combo is loaded with items on Page_load.
The second depends on the item selected on the first, the third on the
second and so on.
I don't want to transfer all the data needed with the form and also want to
avoid page refresh on every item change.
What is the best method for doing this?
I heard about xmlhttp and WS but I don't know if any of those technologies
is appropriate and how to use them in the project.
Samples will help me very much.
10X.
Tamir Berger Guest
-
ComboBox bound to a ComboBox: doesn't work until .changeevent
Hi, i have two ComboBoxes getting DataProvider from an XMl doc. The XML nodes look like this: <activity label="aerobics"> <level label="low... -
xml to combobox, combobox to listbox, listbox todetails
i am going out of my mind looking for a tutorial i am able to use a xml document and the xml connector component to populate a pulldown menu, i... -
Add to Combobox
Hi, I want to add Please select as the first entry in the combo box. I tried using prompt which did not work for me. Thanks ... -
XML ComboBox
I am new to Flash, but I have been working on a project. I am attempting to design Bible in Flash using XML. The problem is that I am also new to... -
ComboBox & XML
i have the following XML file which is called MyXML.xml <?xml version="1.0" encoding="iso-8859-1"?> <root> <node> <code>T1</code>... -
Kevin Spencer #2
Re: ComboBox
If I understand you correctly, you've just ruled out the only 2
possibilities you have. Think about it. The data to populate the combo boxes
is stored on the server. Therefore, you either have to (1) pass it all to
the client to avoid having to PostBack, or (2) PostBack to get the data. If
you can think of a third way, you're probably due the Nobel Prize!
HTH,
Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
[url]http://www.takempis.com[/url]
Big things are made up of
lots of Little things.
"Tamir Berger" <tberger@kpmg.com> wrote in message
news:O4LY4gwODHA.1364@TK2MSFTNGP10.phx.gbl...to> Hi,
>
> I have an ASP.NET form that includes several combo Boxes.
> The first Combo is loaded with items on Page_load.
> The second depends on the item selected on the first, the third on the
> second and so on.
>
> I don't want to transfer all the data needed with the form and also want> avoid page refresh on every item change.
>
> What is the best method for doing this?
> I heard about xmlhttp and WS but I don't know if any of those technologies
> is appropriate and how to use them in the project.
>
> Samples will help me very much.
>
> 10X.
>
>
Kevin Spencer Guest
-
Tom Johnson #3
Re: ComboBox
Hello
you could also use the webservice behavior to obtain the new info and
transorm it with xsl to a <select>. or with the xmlhttp object...
other idea?
"Anatoly" <anatolyr@gilat.com> a écrit dans le message de
news:%23tEw0gxODHA.2224@TK2MSFTNGP10.phx.gbl...defaultCompany;> We are using a hidden iframe for this
> 1)Put an IFRAME with style="display:none" in this web form.
> 2)On combo change(client-side) write something like this:
>
> frmServerSide.location.href =
> 'serverSide.aspx?Function=FillCompanyCombo&cboRegi on=' +
> document.frmCaseList.cboRegion.value + '&defaultCompany=' +"';")>
> where frmServerSide is name of IFRAME
>
> 3)in serverSide.aspx write on Page_Load() get the appropriate data (in
> dataset for example) and do in loop
>
> Response.Write("<script>")
> Response.Write( " var oSelect = parent." + ComboName + "; ")
> Response.Write( " var oOption; ")
> //cleans the combo before filling
> Response.Write( " while(oSelect.options.length>0) ")
> Response.Write(" oSelect.options.remove(0);")
> foreach(DataRow Row in Data.Rows){
> Response.Write( " oOption = document.createElement(""OPTION"");")
> Response.Write( " oOption.text = '" + Row[TextField].ToString() +technologies> Response.Write( " oOption.value = '" + Row[ValueField] + "';")
> Response.Write( " oSelect.add(oOption); ")
> }
>
> ComboName is DropDownList.ClientId which you may pass from first form
>
> HTH
>
> "Tamir Berger" <tberger@kpmg.com> wrote in message
> news:O4LY4gwODHA.1364@TK2MSFTNGP10.phx.gbl...> to> > Hi,
> >
> > I have an ASP.NET form that includes several combo Boxes.
> > The first Combo is loaded with items on Page_load.
> > The second depends on the item selected on the first, the third on the
> > second and so on.
> >
> > I don't want to transfer all the data needed with the form and also want> > avoid page refresh on every item change.
> >
> > What is the best method for doing this?
> > I heard about xmlhttp and WS but I don't know if any of those>> > is appropriate and how to use them in the project.
> >
> > Samples will help me very much.
> >
> > 10X.
> >
> >
>
Tom Johnson Guest
-
MigBud #4
ComboBox
I have a form and I want to have a ComboBox that lists
all the tables in the current database. What is the
record source of the combobox; I don't want to create a
table and maintain by adding the table's name to it each
time I add a new table to the current database.
Thanks,
MigBud
MigBud Guest
-
MigBud #5
ComboBox
I have a form and I want to have a ComboBox that lists
all the tables in the current database. What is the
record source of the combobox; I don't want to create a
table and maintain by adding the table's name to it each
time I add a new table to the current database.
Thanks,
MigBud
MigBud Guest
-
orbitme #6
ComboBox
Hello
All I want to do is have a user select a choice from a combobox selection and
either goto another page in my site or open a document in a blank web page, but
I'm having dificulty decifering the info, I thought it was easy in flash MX
2004 or am I missing something
orbitme Guest



Reply With Quote

