473,486 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

WebControl scrolling

I have to scroll the contents of a WebControl down to the bottom
programmatically. Does anyone know how to do it?

Aristotelis
Jun 22 '06 #1
4 1415
> I have to scroll the contents of a WebControl down to the bottom
programmatically. Does anyone know how to do it?


What kind of HTML does the control generate? If it's an iframe holding a
separate page then you could add a bookmark at the bottom of the inner page
HTML and call it
Jun 23 '06 #2
The way I use the WebControl is like this.

WebBrowser1.DocumentText = "<B>Hello world!</B>"

I use the DocumentText property in order to set the HTML source code.

Ο "Leon Mayne" <Le*******@discussions.microsoft.com> έγραψε στο μήνυμα
news:30**********************************@microsof t.com...
I have to scroll the contents of a WebControl down to the bottom
programmatically. Does anyone know how to do it?


What kind of HTML does the control generate? If it's an iframe holding a
separate page then you could add a bookmark at the bottom of the inner
page
HTML and call it

Jun 23 '06 #3
> The way I use the WebControl is like this.
WebBrowser1.DocumentText = "<B>Hello world!</B>"
I use the DocumentText property in order to set the HTML source code.


OK, I see what you mean now.

Not sure then. Does the WebBrowser control have a ScrollToCaret() or
AppendText() method?
Jun 23 '06 #4
I did not find any of these two member functions. I have spent a lot of time
trying to find a way to scroll the information of a WebBrowser control but I
did not find anything.

I am sure that there is a way to do it but I can not find it.

I have done other more difficult things with this control

Aristotelis
Ο "Leon Mayne" <Le*******@discussions.microsoft.com> έγραψε στο μήνυμα
news:F4**********************************@microsof t.com...
The way I use the WebControl is like this.
WebBrowser1.DocumentText = "<B>Hello world!</B>"
I use the DocumentText property in order to set the HTML source code.


OK, I see what you mean now.

Not sure then. Does the WebBrowser control have a ScrollToCaret() or
AppendText() method?

Jun 23 '06 #5

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

Similar topics

1
1639
by: Owatona | last post by:
Hi to all... I have 3 classes derived from webcontrol. I the first i have two dropdownlist, in the second i have some buttons, and the third its the webcontrol that are instanciate the two...
0
1286
by: Matze | last post by:
I have a function that has an Argument of type System.Web.UI.WebControls.WebControl. I want to set the text-property of that control. Of course it doesnt work if I cast that control to...
1
1558
by: Robert Wehofer | last post by:
Hello there! How can I get rid of following behaviour: If the edit button is clicked, the datagrid gets into edit mode. But it's very annoying that the new page is build up at the top. So if...
0
1744
by: Harry F. Harrison | last post by:
Here's the situation...Context - Using an Inherited WebControl object as a base for server custom controls. In a web custom control, whenever I create a child control and add it to the Controls...
9
2644
by: kw | last post by:
What is the proper way to get the element ID for a client script? For example, suppose in the WebControl: TextBox t=new TextBox; t.ID=this.ClientID+"X"; .... Then elsewhere we want to access...
0
1792
by: Novice | last post by:
Hey all, I've already posted this question and two posters offered suggestions and they worked - but now I would like to know why - and if possible the answer to a second question. Here is my...
1
1395
by: Dariusz Tomon | last post by:
Hi In my project I have got several webcontrol (ascx). How can I handle with the problem: I would like to have some ASPNET object (DropDownList, InputBox etc.) in one webcontrol (this...
4
7475
by: Christian Hofmann | last post by:
Hello, How is it possible to use a hyperlink webcontrol inside a label webcontrol? I am using resources for globalisation. Now I have a text like this: Please click here to open that...
2
1606
by: philippe.kozubek | last post by:
hello, I build a tree view in a ASPx page but when i expand my nodes i cant see all of it, the control doest put any scroll bar so i can scroll to see my complete tree view data.... is there any...
0
7099
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
6964
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
7123
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,...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7319
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.