473,395 Members | 2,006 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,395 software developers and data experts.

Scraping a SyncFusion Grid

I have an application that gets an active instace of IE and parses the html
for a couple peices of infromation that then get passed to another exe as
parameters. Everything works great until the vendor changed from rendering
everything in html to using a Syncfusion grid control. Is there any way to
get at the data in the object? Idealy I would like to get an instance of the
object and access some of the methods like selected row and specific column
data.

Thanks, Curt
Nov 5 '08 #1
2 2744
On Nov 5, 2:07*pm, Curt <C...@discussions.microsoft.comwrote:
I have an application that gets an active instace of IE and parses the html
for a couple peices of infromation that then get passed to another exe as
parameters. Everything works great until the vendor changed from rendering
everything in html to using a Syncfusion grid control. Is there any way to
get at the data in the object? Idealy I would like to get an instance of the
object and access some of the methods like selected row and specific column
data.

Thanks, Curt
Hi,

I do not think you can access any method, they are kept in the
server :)
Maybe you could still parse the html, but you would have to do it by
using the DOM.
you could use tag.innerHTML to get the inner HTML (as it's rendered
in the page) not as the static text of the page you see if you right
click in the browser and see the source
Nov 5 '08 #2
I've tried using the following code to grab the innerHTML but all I get is
what appears to be an encrypted string.

//Loop through the frames collection and identify the one we
want.
for (int i = 0; i < frames.length; i++)
{
object refIndex = i;
frame = (mshtml.IHTMLWindow2)frames.item(ref refIndex);
FrameInnerHTML = frame.document.body.innerHTML;
if (FrameInnerHTML != null)
{
MessageBox.Show(FrameInnerHTML);
framename = frame.name;
}
}

When the page gets renderd to the user if I try to right click on the grid I
get nothing. I appears that I can't access any of the HTML that gets
rendered.

Thanks,
Curt

"Ignacio Machin ( .NET/ C# MVP )" wrote:
On Nov 5, 2:07 pm, Curt <C...@discussions.microsoft.comwrote:
I have an application that gets an active instace of IE and parses the html
for a couple peices of infromation that then get passed to another exe as
parameters. Everything works great until the vendor changed from rendering
everything in html to using a Syncfusion grid control. Is there any way to
get at the data in the object? Idealy I would like to get an instance of the
object and access some of the methods like selected row and specific column
data.

Thanks, Curt

Hi,

I do not think you can access any method, they are kept in the
server :)
Maybe you could still parse the html, but you would have to do it by
using the DOM.
you could use tag.innerHTML to get the inner HTML (as it's rendered
in the page) not as the static text of the page you see if you right
click in the browser and see the source
Nov 6 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: John J. Lee | last post by:
I've put together a Python package for scraping / testing pages that depend on embedded JavaScript code (without depending on IE, Mozilla or Konqueror, and with the DOM etc. all implemented in pure...
4
by: David Jones | last post by:
Hi, I'm interested in learning about web scraping/site scraping using Python. Does anybody know of some online resources or have any modules that are available to help out. O'Reilly published an...
4
by: Roland Hall | last post by:
Am I correct in assuming screen scraping is just the response text sent to the browser? If so, would that mean that this could not be screen scraped? function moi() { var tag = '<a href='; var...
1
by: mustafa | last post by:
anyone know some good reliable html scraping (with python) tutorials. i have looked around and found a few. one uses urllib2 and beautifull soap modules for scraping and parsing...
1
by: ksskumar2000 | last post by:
Hi, Even I referred Syncfusion.Tools.dll in my project, while I compiling I got the following error message. 'AnimationDelayInMilliSeconds' is declared in project 'Syncfusion.Tools.dll',...
0
by: Robert Martinez | last post by:
I've seen a lot about screen scraping with .NET, mostly in VB.net. I have been able to convert most of it over, but it is still just very basic stuff. Can someone help direct me toward some good...
2
by: Selden McCabe | last post by:
I've been working on a web scraping program, and have the basics down. But I don't understand the parameters. Normally, you go to a URL (say a reverse yellow pages directory), and enter some...
3
by: Jim Giblin | last post by:
I need to scrape specific information from another website, specifically the prices of precious metals from several different vendors. While I will credit the vendors as the data source, I do not...
4
by: Vasanth | last post by:
Hi All, I am using syncfusion grid for Windows Application using VB.net. As per our requirement, user should be able to close the window at any time. The application should cancel what the user...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.