473,387 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Access to Gridview data through javascript

3
I have a gridview with some data and I need to access to this data through javascript.

Can someone help me.
Aug 15 '07 #1
3 2239
Frinavale
9,735 Expert Mod 8TB
I have a gridview with some data and I need to access to this data through javascript.

Can someone help me.
Why do you have to use JavaScript to do whatever it is you're doing?
Could you please elaborate on your question.

Thanks

-Frinny
Aug 15 '07 #2
Pika
3
Why do you have to use JavaScript to do whatever it is you're doing?
Could you please elaborate on your question.

Thanks

-Frinny
I need to use this data in the Google Map API.
This data was acquired by a query to the Sqlserver database that has coordinates and information that I want to represent in the map with the tabbed markers.
My idea was to use the gridview but if there are any other better options I'm accepting them :)

Thanks for the help
Aug 16 '07 #3
Pika
3
I already accessed to the data in the GridView, using

Expand|Select|Wrap|Line Numbers
  1. var data = document.getElementById('<%=GridView1.ClientID%>');
  2. var lat = data.rows[1].cells[2].firstChild.nodeValue;
But when I make the GridView invisible I can't see the data, now I would like to access that data when the Gridview is invisible. Is that possible?

Thanks
Aug 28 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Lefteris | last post by:
Hi, I am trying to write a simple application in javascript that automatically fills the fields of a form in a page at another domain. I display the foreign domain page on a frame and have the...
2
by: | last post by:
Hi all, I have a gridview control with a bound field as outlined below. The problem is that the formatting is not happening. The data gets rendered as 12999.0000. It is being stored in a decimal...
4
by: Nalaka | last post by:
Hi, I have two questions about gridViews. 1. How can I intercept the row/column values at loading to change values? 2. After I update a row (using default update functionality), how can I...
3
by: McGeeky | last post by:
Hi. Is it possible to iterate through the items in a GridView using JavaScript on the client? -- McGeeky http://mcgeeky.blogspot.com
1
by: fastrobby | last post by:
Hi, I have a an array var thisform = document.getElementById(arg1); // We have the form var ttlPrice = 0; var diveType = new Array(); // Company1, Company2, Company3 etc. diveType = "0"; ...
1
by: feltra | last post by:
Hi, The following is from my friend who has only restricted net access from his office and hence cannot post.... ...
0
by: feltra | last post by:
Hi all, I am trying to export a GridView data to multiple file formats. The requirement is that when more than one file format is selected and the "Submit" button is clicked, the data from the...
0
by: mahesh123 | last post by:
Hi, I am dispalying data in the gridview.I want to export gridview data to excel sheet. Can any one help me how to write code in asp.net with VB. Thanks
0
by: baburmm | last post by:
Hai, I want to get the footer textbox value in gridview using javascript any one help me Regards, Babu.K
0
by: vivek kapile | last post by:
Language: ASP.net Platform: Visual Studio 2010 with ASP.net Technology: Used in ASP.net Level: Beginner Note: You have to download the itextsharp.dll file and add as a reference to your...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.