|
|
|
start date: Tue, 21 Aug 2007 22:18:50 -0000,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
Erik Lautier
|
|
2
Erik Lautier
|
|
3
John Timney \(MVP\)
|
XML and Postback issue
Hi,
I've got a dynamically generated dropdownlist of sizes, which, when
selected, shows current inventory for that size. I originally just
called to the server when the size was changed to display inventory,
but I wanted it to happen more seamlessly, so I wrote the data to an
XML file when the overall product page was visited and accessed it
that way...the problem is that it's still posting back to get the XML
data. What's I'm looking for is a way to do this without calling back
to the server at all. Any ideas?
Thanks,
Erik
Date:Tue, 21 Aug 2007 22:18:50 -0000
Author:
|
Re: XML and Postback issue
Thanks John, I had a look at the link. Is it possible to pull one
cell at a time from the island? While I'd be pulling the shirt size
and quantity into the XML which would generate a table six rows tall
by two columns wide, I'd only need to pull the quantity for one size
at a time.
Also, will this not work in Firefox?
Erik
On Aug 21, 6:39 pm, "John Timney \(MVP\)"
wrote:
> You could convert it to a client side data island and access the data
> locally
>
> http://www.w3schools.com/xml/xml_data_island.asp
>
> Regards
>
> John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog
>
> "ErikLautier" wrote in message
>
> news:1187734730.327367.39040@i13g2000prf.googlegroups.com...
>
> > Hi,
>
> > I've got a dynamically generated dropdownlist of sizes, which, when
> > selected, shows current inventory for that size. I originally just
> > called to the server when the size was changed to display inventory,
> > but I wanted it to happen more seamlessly, so I wrote the data to an
> > XML file when the overall product page was visited and accessed it
> > that way...the problem is that it's still posting back to get the XML
> > data. What's I'm looking for is a way to do this without calling back
> > to the server at all. Any ideas?
>
> > Thanks,
>
> > Erik
Date:Wed, 22 Aug 2007 04:46:52 -0000
Author:
|
Re: XML and Postback issue
take a look at the xml parsing example - its probably better suited to what
your seeking. Specifically the Parsing an XML String - A Cross browser
Example section.
http://www.w3schools.com/xml/xml_parser.asp
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Erik Lautier" wrote in message
news:1187758012.995132.225240@j4g2000prf.googlegroups.com...
> Thanks John, I had a look at the link. Is it possible to pull one
> cell at a time from the island? While I'd be pulling the shirt size
> and quantity into the XML which would generate a table six rows tall
> by two columns wide, I'd only need to pull the quantity for one size
> at a time.
>
> Also, will this not work in Firefox?
>
> Erik
>
>
> On Aug 21, 6:39 pm, "John Timney \(MVP\)"
> wrote:
>> You could convert it to a client side data island and access the data
>> locally
>>
>> http://www.w3schools.com/xml/xml_data_island.asp
>>
>> Regards
>>
>> John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog
>>
>> "ErikLautier" wrote in message
>>
>> news:1187734730.327367.39040@i13g2000prf.googlegroups.com...
>>
>> > Hi,
>>
>> > I've got a dynamically generated dropdownlist of sizes, which, when
>> > selected, shows current inventory for that size. I originally just
>> > called to the server when the size was changed to display inventory,
>> > but I wanted it to happen more seamlessly, so I wrote the data to an
>> > XML file when the overall product page was visited and accessed it
>> > that way...the problem is that it's still posting back to get the XML
>> > data. What's I'm looking for is a way to do this without calling back
>> > to the server at all. Any ideas?
>>
>> > Thanks,
>>
>> > Erik
>
>
Date:Wed, 22 Aug 2007 23:00:18 +0100
Author:
|
|
|