display (render) html in forms
-
Hi, I have a html code dynamically generated from my server and i want to display it in windows form. inside any control which could do that. I don't want to implement the full web browser control. 'cause i am not going to display a browser but just the html output. What could be the options in C#?
Today's Beautiful Moments are Tomorrow's Beautiful Memories
-
Hi, I have a html code dynamically generated from my server and i want to display it in windows form. inside any control which could do that. I don't want to implement the full web browser control. 'cause i am not going to display a browser but just the html output. What could be the options in C#?
Today's Beautiful Moments are Tomorrow's Beautiful Memories
-
Thanks. i included the webbrowser control and it is appearing well as expected by making this property false. webBrowser1.AllowWebBrowserDrop = False Now i have html code and i want to render that in the browser control instead of giving a url. This html code is dynamically generated by me from my local system. ? meanwhile i will try to find that out from msdn ....
Today's Beautiful Moments are Tomorrow's Beautiful Memories
-
Thanks. i included the webbrowser control and it is appearing well as expected by making this property false. webBrowser1.AllowWebBrowserDrop = False Now i have html code and i want to render that in the browser control instead of giving a url. This html code is dynamically generated by me from my local system. ? meanwhile i will try to find that out from msdn ....
Today's Beautiful Moments are Tomorrow's Beautiful Memories
yep. read the MSDN documentation on WebBrowser, discover the DocumentText property, and don't forget to disable some interactions through other properties if you want it for output only. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
modified on Sunday, December 20, 2009 3:17 PM
-
yep. read the MSDN documentation on WebBrowser, discover the DocumentText property, and don't forget to disable some interactions through other properties if you want it for output only. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
modified on Sunday, December 20, 2009 3:17 PM
Yes. Now i got it all into my program and it is working as expected. My program connects to a server script through socket, gets the response and render it as html. First i wrote it in C (WIN32 API) but displayed only as text. The size was 130kb and here it is just 20kb. I guess object codes were totally compiled into a final exe for sdk and with respect to C# it should be cause of the framework which reduces the size like visual basic 6.0. I am new to c# just a few days back i started this . so was this question from a novice.
Today's Beautiful Moments are Tomorrow's Beautiful Memories
-
Yes. Now i got it all into my program and it is working as expected. My program connects to a server script through socket, gets the response and render it as html. First i wrote it in C (WIN32 API) but displayed only as text. The size was 130kb and here it is just 20kb. I guess object codes were totally compiled into a final exe for sdk and with respect to C# it should be cause of the framework which reduces the size like visual basic 6.0. I am new to c# just a few days back i started this . so was this question from a novice.
Today's Beautiful Moments are Tomorrow's Beautiful Memories
Very good. It seems you successfully skipped "Hello World" then. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
-
Hi, I have a html code dynamically generated from my server and i want to display it in windows form. inside any control which could do that. I don't want to implement the full web browser control. 'cause i am not going to display a browser but just the html output. What could be the options in C#?
Today's Beautiful Moments are Tomorrow's Beautiful Memories
Check my Code Project Article Scraping article[^]. I render HTML in a form.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
Very good. It seems you successfully skipped "Hello World" then. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Hehe .. yes ... anyway thanks all for your replies. i have written a word reminder program and have published in my site which i want like wordweb.co.uk 's dictionary program.
Today's Beautiful Moments are Tomorrow's Beautiful Memories
-
Check my Code Project Article Scraping article[^]. I render HTML in a form.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001ok. i will examine your code to get more info so that will add more ideas.
Today's Beautiful Moments are Tomorrow's Beautiful Memories