473,386 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Nov 17 '05 #1
1 7613
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" <bl*******@net.com> wrote in message
news:%2****************@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" <pr******@cc-re.com> wrote in message
news:OB**************@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


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: dxben | last post by:
I am considering a situation where I have (n) number of form windows, each with an instance of the Microsoft Web Browser Control (IE) on each form. In each web browser control is an HTML page that...
1
by: Mark Johnson | last post by:
I wonder if anyone has a solution? I wanted to use the web browser control as a 'zoom' box for a smaller textbox. I can format in the control, and save whatever formatting as HTML code back to the...
0
by: Mark Johnson | last post by:
The last reply got sort of cutoff. So here again: So for anyone interested, here's the simple regexp patterns for the substitutions required. The textbox control is being 'zoomed' in a popup...
28
by: BobAchgill | last post by:
Has anyone had success with using this Com control? When I add it into my tool box and drop it into my form it says in the properties that the Document and LocationURL are read only. (they are...
12
by: VJ | last post by:
I am using the web browser control.., I would like to add the control at runtime... I was adding the web browser control at desgin time. Now I decided to add the control at run time so I removed...
1
by: Oenone | last post by:
I've reached the conversion of a part of my application from VB6 to VB.NET which uses the COM Web Browser control to display HTML content generated by my application. The general approach used...
0
by: Pieter | last post by:
Hi, I've a activex browser control in a form. I've added proxy server support to the control by modifying the proxy server settings in the registry. This works fine before the browser control is...
1
by: john conwell | last post by:
I'm using the Browser control to display html that my application generates. Some times i want a javascript to run when the html gets displayed in the browser control, and sometimes i dont. Is...
5
by: jeremy | last post by:
I have an ASP.Net 2.0 application running on Windows Server 2003. The application displays properly in Internet Explorer, however, when I use a browser control embedded in a .net form, I get an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.