Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

XML and Postback issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erik Lautier - 21 Aug 2007 23:18 GMT
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
John Timney (MVP) - 21 Aug 2007 23:39 GMT
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.com
http://www.johntimney.com/blog

> Hi,
>
[quoted text clipped - 10 lines]
>
> Erik
Erik Lautier - 22 Aug 2007 05:46 GMT
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\)"
<x_j...@timney.eclipse.co.uk> wrote:
> You could convert it to a client side data island and access the data
> locally
[quoted text clipped - 23 lines]
>
> > Erik
John Timney (MVP) - 22 Aug 2007 23:00 GMT
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

> 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
[quoted text clipped - 35 lines]
>>
>> > Erik

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.