I am developing an Amazon Account checker for a customer, but I have encountered problems in the stage when I need to retrieve order information from the amazon. As soon as the document is loaded I get the HTML but in the orders section I get "There was a problem loading your orders..." whereas in the web-browser it displays the orders properly. Is there any way to synchronize the loading of the HTML (as in HtmlDocument) and the displayed contents? A hint is enough, Regards.
Related
I try to get comments of a Instagram post with C#. But the thing is there is this 'Load more comments' button which as it refers does its job and when i take a look a Firefox HTML codes all of the sudden new <li> element appears out of no where. Is this data getting there from a Database or it's embedded in HTML file? Is there a way to reach that data? I tried SgmlReader but i couldn't manage get all of the data that i'm looking for.
I have a lot of reports that I built in .ASPX pages. These reports are very slow and are causing delay to user visualization.
Now I want to generate the reports in a file or memory, but the pages had a lot of repeater components and rules. So, I really need to load the pages. But without showing to the user. It needs to run in background.
I thought about re-draw the reports in a PDF file, but are too much reports with a lot of stuff inside. So a thought to just load pages in memory a than just convert to PDF, avoiding a lot of work and possible troubles with existing rules on the aspx pages.
Its possible to do that ?
Thanks
I am trying to generate a fillable PDF document that can be viewed in the web browser and filled up so after pushing a "Submit" button the data from the fields can be received on the server.
I am reading an article related with the iTextSharp but i still can not find a way of getting my mission accomplished. The example there is with a HTML form that after submitted the fields get binded to a pdf Template.
Is this my only option?
There are a few online options.
formsite - unlimited pdf generation for about $50, but you have to manually connect the fields.
doculicious - automated creation of embed-able pdf form
logiforms - same as formsite, but a little nicer and more options in other areas
seamlessdocs - very nice email/web pdf automated (still checking them out, but so far so good)
If you want to display a fillable form, and then store the values when the user submits it, you might be better off with just an HTML form. A basic HTML form doesn’t require any extra tools, and won’t get PDF involved. This is the simplest solution to your question. If you need to use PDF, and have to provide the user with a copy of the filled out form, please clarify in the OP, and I can provide you with a mode detailed solution.
Currently, I have an aspx page in vb that launches a RadHTMLChart and I want to grab the SVG code of that chart. However, since the chart is rendered client-side, I have to launch this aspx page and then grab the SVG code from a second aspx page during postback. Currently, I am using Server.Execute (firstpage.aspx) to grab the SVG code but this does not work. I want to use the SVG to generate a PDF document but the Server.Execute command seems to run in the background and the code that comes after it do not wait for it to finish first, hence I am not grabbing the SVG content. Does anyone know of another way to grab this SVG content?
It seems you need all of this done on the server, so you need to find a way to launch a browser on the server, get the needed data from it and close it. I think a tool called PhantomJS can do this for you, so you can give it a crack (it's free I think).
Here is an example on exporting an HtmlChart, but it relies on a user interaction (which can be automated via some scripts) but it needs the page opened on the client machine: http://www.telerik.com/support/code-library/exporting-radhtmlchart-to-png-and-pdf. Anyway, it may still be helpful for ideas and to show how to get the SVG string.
hey i'm working on project in which I have webform which includes some editfields. I don't want to enter the data manually into that editfield. what I want is to extract data from a word document and fill that editfields. But the catch is, through which MS doc I fill the editfield?
Suppose We have a bunch of lectures uploaded on some page. so what should I do to retrieve the data from a particular document?
Is it necessary to open the MS-doc file first?
or I should download the file first?
If I goes with option 1 when should I have to use some library? what opens the file within browser, retrieve the data and the a pop-up message appears "the data has been retrieved now you can close the file". and next I can fill the form with that data.
or should I goes with the 2 Option when an individual hit the download button then the file will be stored into the local machine. how can I keep the track that which ms-file is downloaded or stored into the local machine?and is it necessary to open that file for retrieving the data again?
These are my point of views that how I can implement that module. So I need your suggestions? Is this the right way to achieve this goal or should I follow the other path? and which libraries are required to achieve this task or any tutorial similar to this problem ?
Thanks in Advance
I would suggest considering a third option: since the Word document files exist on the server, the cleanest place to pre-populate a form would be by extracting data from the document while it is on the server and filling in the form's fields before sending it down to the user in a codebehind. Trying to extract data on the client side from a recently-downloaded file via an application other than the browser seems ripe for kludgy-ness. Articles such as http://support.microsoft.com/kb/257757 should help get you started in the right direction.
For extracting data from ms word document using free .net word component and fill data to webform,
extract data,
Document doc = new Document();
doc.LoadFromFile("YouDocOrDocx.Docx");
string content = doc.GetText();