ASP.NET

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsWeb Design & DevelopmentASP.NET

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old May 3rd, 2012, 01:42 PM
Riya Riya is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 1 Riya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 39 sec
Reputation Power: 0
How to cache the values from xml and retreive the cached value in javascript.

Hi,

I need a help regarding cache.
I am making a database call from aspx.cs which is returning xml in dataset like below

<menu>
<item>
<item id="001" text="Test" xcoord="0" ycoord="0" Width="556" Height="630" headerText="Item1"/>
<item id="002" text="Test1" xcoord="0" ycoord="0" Width="100" Height="630" headerText="Item2"/>
<item id="003" text="Test2" xcoord="0" ycoord="0" Width="101" Height="630" headerText="Item3"/>
<item id="004" text="Test3" xcoord="0" ycoord="0" Width="102" Height="630" headerText="Item4"/>
<item id="005" text="Test4" xcoord="0" ycoord="0" Width="103" Height="630" headerText="Item5"/>
<item id="006" text="Test5" xcoord="0" ycoord="0" Width="104" Height="630" headerText="Item6"/>
</item>
</menu>

What i need to do is I want to cache all the data from XML in server side, and on click event I want to retreive all the values corresponding to particular id in javascript side.
for example:
From the below xml tag
<item id="001" text="Test" xcoord="0" ycoord="0" Width="556" Height="630" headerText="Item"/>
I want to retreive the value of width or height corresponding to id 001
Please help it is urgent.

Thanks in advance,
Riya

Reply With Quote
  #2  
Old May 24th, 2013, 09:16 AM
annaharris annaharris is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Posts: 22 annaharris User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 23 m 59 sec
Reputation Power: 0
Do you want to retrieve the information regarding the coordinates on the click event of the button?

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentASP.NET > How to cache the values from xml and retreive the cached value in javascript.


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap