Today, we will discuss about AJAX Control Toolkit AlwaysVisibleControl. This control as the name suggest floats over the background as the page scrolls up or down depending on the direction specified. This control pins into the page and it can move with the page while scrolling it is useful for the purpose of ads related to websites, social media icons, widgets and lot of useful ways to do it depending on your scenario you can use it everywhere you want.
There is a setting for control that extends to already asp.net control and it has offset vertically and horizontally where it is placed on the page from top left to bottom right. As it is extender and it works with some Target asp.net Control it must be supplied in TargetControlID="Idofcontrol” and it cannot be null.
Following errors occur if you did not add tagetcontrolID property.

OR if you have supplied the target control id against property but control is not added.

Let’s first add code of the control to the page.
- <div id="ajaxcontroltoolkitplaceholder">
- <ajaxToolkit:AlwaysVisibleControlExtender ID="avce" runat="server"
- TargetControlID="socialmediaicons"
- VerticalSide="Bottom"
- VerticalOffset="10"
- HorizontalSide="Right"
- HorizontalOffset="10"
- ScrollEffectDuration=".1" />
- </div>
I have usd the asp.net panel control as a target of always visible control.
- <asp:Panel ID="socialmediaicons" runat="server">
- <img src="Images/facebook-letter-logo.png" alt="Facebook" width="50"/>
- <img src="Images/linkedin-logo.png" alt="LinkedIn" width="50"/>
- <img src="Images/reddit-alien-head-logo.png" alt="Reddit" width="50"/>
- <img src="Images/twitter-letter-logo.png" alt="Twitter" width="50"/>
- <img src="Images/youtube-logo.png" alt="Youtube" width="50"/>
- </asp:Panel>













Ehsan SajjadPosted May 30, 2016, 3:23 PM
good one
Ajay MalikPosted May 28, 2016, 2:41 AM
Nice...
Vignesh ManiPosted May 27, 2016, 4:22 PM
Nice
Sonu ChaudharyPosted May 27, 2016, 4:13 PM
nice share
Debasis SahaPosted May 27, 2016, 2:04 PM
Nice sharing..
Munesh SharmaPosted May 27, 2016, 1:57 PM
good one