This is a migrated thread and some comments may be shown as answers.

AlwaysVisibleControl

2 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sree
Top achievements
Rank 1
Sree asked on 21 Apr 2010, 07:08 AM
Hi
     Is there any control which is equivalent to Ajax tool kit AlwaysVisibleControl (http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/AlwaysVisibleControl/AlwaysVisibleControl.aspx)in Telerik control. My requirement is to place a set of control in my form which is always visible mode(not depend on the form scroll bars).

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 21 Apr 2010, 09:04 AM
Hi Sree,

You can easily achieve this by placing required controls in a div container and setting the div style as "position: fixed". Here is the example that I tried.

CSS:
 
    <style type="text/css"
        .MyClass 
        { 
            positionfixed ; 
            top100px ; 
            rightright200px ; 
        } 
    </style> 

ASPX:
 
<div class="MyClass"
    <telerik:RadCalendar ID="RadCalendar1" runat="server"
    </telerik:RadCalendar> 
</div> 


Thanks,
Princy.
0
Sree
Top achievements
Rank 1
answered on 21 Apr 2010, 12:44 PM
Thank you Princy ,its working perfectly.But my actual requirement was to bring the Fixed Div at the bottom of my form,ie just above the Scrolling starts.Is there any way to find the bottom position of the browser window(Before the scrolling starts) dynamically and place the Fixed div there.
Tags
General Discussions
Asked by
Sree
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Sree
Top achievements
Rank 1
Share this question
or