AlwaysVisibleExtender Control in ASP.net AJAX

In this article I'm trying to explain how to display the data default into visible to the page. Using this article we can able to pin the position of the control by default. But need to download the AJAX toolkit dll's after download add reference to the project.

AlwaysVisibleExtender Control in ASP.net AJAX:

In this article I'm trying to explain how to display the data default into visible to the page. Using this article we can able to pin the position of the control by default. But need to download the AJAX toolkit dll's after download add reference to the project.

Description:

The AlwaysVisibleControl is a simple extender allowing you to pin controls to the page so that it will appear to float over the background body content when it is scrolled or resized. It targets any ASP.NET control and always keeps the position a specified distance from the desired horizontal and vertical sides.

Properties:

• TargetControlID - ID of control for this extender to always make visible• HorizontalOffset – distance to the Horizontal edge of the browser in the form of pixels, by default is 0 pixels.• HorizontalSide – Horizontal edge of the browser either it will be top, middle, bottom. Default is Top.• VerticalOffset - distance to the vertical edge of the browser in the form of pixels, by default is 0 pixels.• VerticalSide - Horizontal edge of the browser either it will be top, middle, bottom. Default is Top.

Article Description:

In this Article I'm trying to explain that to display the current time by default browser using AlwaysVisibleExtender control. If we are not used this when we scrolling it's obviously disappear. Here I'm using one dropdownlist for fixing the position of the control.

Without wrote this line in source code it’s throws the server error to overcome this issue we just add above lines of code under div tag.

Conclusion:

Using this we can allowing you to pin controls to the page so that it will appear to float over the background body content when it is scrolled or resized . This article will help you those who are looking for the same.