can i use a web browser control in asp.net?

Last post 11-07-2009 10:41 AM by TATWORTH. 3 replies.

Sort Posts:

  • can i use a web browser control in asp.net?

    10-31-2009, 8:37 AM
    • Member
      2 point Member
    • imran maniyar
    • Member since 10-14-2009, 9:32 AM
    • Posts 3

    hello i need to host a web browser control in my asp.net web site. i cannot use iframes as it has problems with https sites. can any one help me how can i include web browser control in aspx page. i tried it with "windows forms control library"  but it works in intranet not in internet.

    so my main questiion is caqn i do this using silverlight? as i m new to silverlight can any one help me how to do this in silverlight.

    if you have a any other idea of how to do this(i mean a option to web browser control) you are most welcomed.

    please any related code, logic ,classes, tools anything will be really helpfully

    please relpy me its very urgent.

    Filed under:
  • Re: can i use a web browser control in asp.net?

    11-02-2009, 5:22 AM

    No you cannot do that. Basically why you need Web Browser Control in your page. It is used to navigate the page

    you can do 

    HttpWebRequest to get the content of web request and do a write on the page.

    Thanks
    Hari
    ---------------------------------------------
    Dont forget to click "Mark as Answer" on the post that helped you.

    My Site
  • Re: can i use a web browser control in asp.net?

    11-02-2009, 6:04 AM
    • Member
      2 point Member
    • imran maniyar
    • Member since 10-14-2009, 9:32 AM
    • Posts 3

    thanks for the relpy hariram,

    i am working on a project in which i need to navigate other websites from my website and display other informations like total time required to download the page etc. Currentlly i am having a big problem to displayother sites in my websites. i cannot use iframes as they are not compatable with https websites. So can u please help me on how i can display other websites in my website..

    thanks,


  • Re: can i use a web browser control in asp.net?

    11-07-2009, 10:41 AM
    • All-Star
      62,769 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,247
    • TrustedFriends-MVPs

    One way of handling this is as follows:

    • Scrape the remote site (scrape functions in CommonData at http://commondata.codeplex.com/)
    • Inject the remote page into the InnerHtml of a table cell or span by this.TddWelcome.InnerHtml = work.ToString();

    TddWelcome looks like:

    <td runat="server" id="TddWelcome" align="center">Welcome</td>

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Page 1 of 1 (4 items)