![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | How display html in Frame Control? Hi I am writting following code: string myString = "<html><body><textarea>Gagandeep Singh</textarea></body></html>; //Frame Control myWebBrowser.Content = myString; but it is displaying the code as it ,my aim is to display this string as web page.I want to generate html pages dynamically. |
| | #2 (permalink) |
| Guest | Re: How display html in Frame Control? I'm not sure if you can do that with a frame. You might have better luck hosting the Windows.Forms WebBrowser control. You could also probably use an in-process Asynchronous Pluggable Protocol Handler to reference your html strings by URL - but that may be a little more effort. - Doug "Gagan" <gagan.thukral@gmail.com> wrote in message news:1160408412.751667.152650@m73g2000cwd.googlegroups.com... > Hi > > I am writting following code: > > string myString = "<html><body><textarea>Gagandeep > Singh</textarea></body></html>; > > //Frame Control > myWebBrowser.Content = myString; > > but it is displaying the code as it ,my aim is to display this string > as web page.I want to generate html pages dynamically. > |
| | #3 (permalink) |
| Guest | Re: How display html in Frame Control? The opensource rss reader FeedFusion uses a WPF Frame to display HTML. Check out the folder WinFxConsumer in the repository. Douglas Stockwell wrote: > I'm not sure if you can do that with a frame. You might have better luck > hosting the Windows.Forms WebBrowser control. > > You could also probably use an in-process Asynchronous Pluggable Protocol > Handler to reference your html strings by URL - but that may be a little > more effort. > > - Doug > > "Gagan" <gagan.thukral@gmail.com> wrote in message > news:1160408412.751667.152650@m73g2000cwd.googlegroups.com... > > Hi > > > > I am writting following code: > > > > string myString = "<html><body><textarea>Gagandeep > > Singh</textarea></body></html>; > > > > //Frame Control > > myWebBrowser.Content = myString; > > > > but it is displaying the code as it ,my aim is to display this string > > as web page.I want to generate html pages dynamically. > > |
| | #4 (permalink) |
| Guest | Re: How display html in Frame Control? Ahh, I forgot that one. Write the contents to a temporary file. <sbarlea@gmail.com> wrote in message news:1160760670.256291.242670@i3g2000cwc.googlegroups.com... > The opensource rss reader FeedFusion uses a WPF Frame to display HTML. > Check out the folder WinFxConsumer in the repository. > > Douglas Stockwell wrote: >> I'm not sure if you can do that with a frame. You might have better luck >> hosting the Windows.Forms WebBrowser control. >> >> You could also probably use an in-process Asynchronous Pluggable Protocol >> Handler to reference your html strings by URL - but that may be a little >> more effort. >> >> - Doug >> >> "Gagan" <gagan.thukral@gmail.com> wrote in message >> news:1160408412.751667.152650@m73g2000cwd.googlegroups.com... >> > Hi >> > >> > I am writting following code: >> > >> > string myString = "<html><body><textarea>Gagandeep >> > Singh</textarea></body></html>; >> > >> > //Frame Control >> > myWebBrowser.Content = myString; >> > >> > but it is displaying the code as it ,my aim is to display this string >> > as web page.I want to generate html pages dynamically. >> > > |
| | #5 (permalink) |
| Guest | Re: How display html in Frame Control? Hi, About which sample are u saying ,if u have any link for this sample plz send me or send me ths sample code if u can. Thanks. sbarlea@gmail.com wrote: > The opensource rss reader FeedFusion uses a WPF Frame to display HTML. > Check out the folder WinFxConsumer in the repository. > > Douglas Stockwell wrote: > > I'm not sure if you can do that with a frame. You might have better luck > > hosting the Windows.Forms WebBrowser control. > > > > You could also probably use an in-process Asynchronous Pluggable Protocol > > Handler to reference your html strings by URL - but that may be a little > > more effort. > > > > - Doug > > > > "Gagan" <gagan.thukral@gmail.com> wrote in message > > news:1160408412.751667.152650@m73g2000cwd.googlegroups.com... > > > Hi > > > > > > I am writting following code: > > > > > > string myString = "<html><body><textarea>Gagandeep > > > Singh</textarea></body></html>; > > > > > > //Frame Control > > > myWebBrowser.Content = myString; > > > > > > but it is displaying the code as it ,my aim is to display this string > > > as web page.I want to generate html pages dynamically. > > > |
| | #6 (permalink) |
| Guest | Re: How display html in Frame Control? His sample is here: http://google.com/codesearch?q=FeedF...erDocumentText - Doug "Gagan" <gagan.thukral@gmail.com> wrote in message news:1161073328.273671.253070@h48g2000cwc.googlegroups.com... > > Hi, > > About which sample are u saying ,if u have any link for this sample plz > send me or send me ths sample code if u can. > Thanks. > > > sbarlea@gmail.com wrote: >> The opensource rss reader FeedFusion uses a WPF Frame to display HTML. >> Check out the folder WinFxConsumer in the repository. >> >> Douglas Stockwell wrote: >> > I'm not sure if you can do that with a frame. You might have better >> > luck >> > hosting the Windows.Forms WebBrowser control. >> > >> > You could also probably use an in-process Asynchronous Pluggable >> > Protocol >> > Handler to reference your html strings by URL - but that may be a >> > little >> > more effort. >> > >> > - Doug >> > >> > "Gagan" <gagan.thukral@gmail.com> wrote in message >> > news:1160408412.751667.152650@m73g2000cwd.googlegroups.com... >> > > Hi >> > > >> > > I am writting following code: >> > > >> > > string myString = "<html><body><textarea>Gagandeep >> > > Singh</textarea></body></html>; >> > > >> > > //Frame Control >> > > myWebBrowser.Content = myString; >> > > >> > > but it is displaying the code as it ,my aim is to display this string >> > > as web page.I want to generate html pages dynamically. >> > > > |
| | #7 (permalink) |
| Guest | Re: How display html in Frame Control? The only problem i see is that you did not use a file to store the html... That should solve the problem, as Douglas already said. Douglas Stockwell wrote: > His sample is here: > > http://google.com/codesearch?q=FeedF...erDocumentText > > - Doug > > "Gagan" <gagan.thukral@gmail.com> wrote in message > news:1161073328.273671.253070@h48g2000cwc.googlegroups.com... > > > > Hi, > > > > About which sample are u saying ,if u have any link for this sample plz > > send me or send me ths sample code if u can. > > Thanks. > > > > > > sbarlea@gmail.com wrote: > >> The opensource rss reader FeedFusion uses a WPF Frame to display HTML. > >> Check out the folder WinFxConsumer in the repository. > >> > >> Douglas Stockwell wrote: > >> > I'm not sure if you can do that with a frame. You might have better > >> > luck > >> > hosting the Windows.Forms WebBrowser control. > >> > > >> > You could also probably use an in-process Asynchronous Pluggable > >> > Protocol > >> > Handler to reference your html strings by URL - but that may be a > >> > little > >> > more effort. > >> > > >> > - Doug > >> > > >> > "Gagan" <gagan.thukral@gmail.com> wrote in message > >> > news:1160408412.751667.152650@m73g2000cwd.googlegroups.com... > >> > > Hi > >> > > > >> > > I am writting following code: > >> > > > >> > > string myString = "<html><body><textarea>Gagandeep > >> > > Singh</textarea></body></html>; > >> > > > >> > > //Frame Control > >> > > myWebBrowser.Content = myString; > >> > > > >> > > but it is displaying the code as it ,my aim is to display this string > >> > > as web page.I want to generate html pages dynamically. > >> > > > > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disabling browsing within a Frame control | aagranov2007 | Avalon | 0 | 1 Week Ago 05:14 PM |
| TFS 2008 Process Template: Default value tag for work item fieldsdoes not allow more than 255 characters to be entered into an HTML control | Steve | .NET General | 0 | 07-23-2008 11:13 AM |
| Displaying XML in WPF Frame Control | JB Scoggins | Avalon | 0 | 05-22-2007 08:21 AM |
| Outlook 2003 on Vista, HTML Mail Display Issue | Eric F | Vista mail | 1 | 04-19-2007 05:45 PM |
| Frame control navigation sound | =?Utf-8?B?TmljayBQYWxtZXI=?= | Avalon | 0 | 07-20-2006 11:04 AM |