Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default web browser control

    Hi All,
    I am developing a Web Page in ASP.NET where i am using a Web Browser
    control. I created this selecting the "Microsoft Web Browser" in the custom
    controls. Now the problem is with the access. Once I drag and drop this
    control on the ASPX page then some code like this gets added to the
    WebForm1.aspx

    OBJECT language="C#" id="mybrowser" with a class id and a list of
    properties.

    I am not able to refer to this browser control in the WebForm1.aspx.cs .
    Please help me in this regard...any kind of info will be of great help
    regards
    Praveena


    Praveena Guest

  2. Similar Questions and Discussions

    1. Using browser control in C++
      I'm trying to use the PDF Reader browser control in my Windows app, using MS Visual Studio 2005 and Adobe Reader 8.. I followed the instructions...
    2. how to display windows control in IE browser
      Hi, I created a windows control and put it inside a html code, when the page load in IE brower, the weindows control can not be displayed...
    3. Need Help Printing within Web Browser using a Windows Forms Control
      I successfully create a .NET Component (Visual Basic .NET) that would print, unfortunately when used within a web browser it appears that .NET...
    4. Control Browser size?
      Hi Can I control the size of the browser window using php or javascript? I know I can control pop ups, same sort of thing maybe? Thanks in...
    5. control browser window size
      Yes, what you are wanting to do is easily done with JavaScript. However, like the majority of folks, I'd really appreciate it if you wouldn't try...
  3. #2

    Default Re: web browser control

    The webbrowser control will display the web pages which heavily use scripts.
    Instead of using Tab control i was trying to get the same effect by using
    the panel and adding a web browser control. so that i can handle different
    web pages by the click events of the buttons. For this I need a better way
    around. i am not able to refer the Object ( web browser control) name in the
    C# code.
    help me please

    "netboy" <bloreDude@net.com> wrote in message
    news:%23UTGbznRDHA.1556@TK2MSFTNGP10.phx.gbl...
    > I cant understand why you would want to use the Web Browser control within
    > an ASPX page. If it is just for navigational purposes, you could use an
    > IFRAME within the web page and display the content that you would using
    the
    > WebBrowser control within that IFRAME.
    >
    > Since the WebBrowser is an OCX, it is instantiated on the client. So you
    > would have to use client side scripting to actually talk to the OCX.
    >
    >
    > "Praveena" <praveena@cc-re.com> wrote in message
    > news:OBLMkbnRDHA.3768@tk2msftngp13.phx.gbl...
    > > Hi All,
    > > I am developing a Web Page in ASP.NET where i am using a Web
    Browser
    > > control. I created this selecting the "Microsoft Web Browser" in the
    > custom
    > > controls. Now the problem is with the access. Once I drag and drop this
    > > control on the ASPX page then some code like this gets added to the
    > > WebForm1.aspx
    > >
    > > OBJECT language="C#" id="mybrowser" with a class id and a list of
    > > properties.
    > >
    > > I am not able to refer to this browser control in the WebForm1.aspx.cs
    ..
    > > Please help me in this regard...any kind of info will be of great help
    > > regards
    > > Praveena
    > >
    > >
    >
    >

    Praveena Guest

  4. #3

    Default Web browser control

    Is there any way of using the web browser control within asp.net?

    thanks in advance

    marcelo


    Marcelo Guest

  5. #4

    Default Re: Web browser control

    I can't imagine why you'd want to do this.
    You'd likely be better off using a frame or an IFrame.
    Here's more info on IFrames:
    [url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/IFRAME.asp[/url]

    If you're sure you want to use the web browser control on your page, you
    should be able to host it as an ActiveX control pretty much like you'd use
    any other ActiveX control.

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Marcelo" <sms2k@hotmail.com> wrote in message
    news:%23Ilnb7QXDHA.2592@TK2MSFTNGP09.phx.gbl...
    > Is there any way of using the web browser control within asp.net?
    >
    > thanks in advance
    >
    > marcelo
    >
    >

    Steve C. Orr, MCSD Guest

  6. #5

    Default Re: Web browser control

    Actually, it's not me... there's a consultant here @ work that, for some
    reason, was trying to do it... as he doesn't have access to internet, i
    asked for him... thanks for your help... i suggested him to use iframes...

    "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
    news:ONMWAwSXDHA.416@tk2msftngp13.phx.gbl...
    > I can't imagine why you'd want to do this.
    > You'd likely be better off using a frame or an IFrame.
    > Here's more info on IFrames:
    >
    [url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/IFRAME.asp[/url]
    >
    > If you're sure you want to use the web browser control on your page, you
    > should be able to host it as an ActiveX control pretty much like you'd use
    > any other ActiveX control.
    >
    > --
    > I hope this helps,
    > Steve C. Orr, MCSD
    > [url]http://Steve.Orr.net[/url]
    >
    >
    > "Marcelo" <sms2k@hotmail.com> wrote in message
    > news:%23Ilnb7QXDHA.2592@TK2MSFTNGP09.phx.gbl...
    > > Is there any way of using the web browser control within asp.net?
    > >
    > > thanks in advance
    > >
    > > marcelo
    > >
    > >
    >
    >

    Marcelo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139