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

Position Relative or Absolute

3 Answers 232 Views
Notification
This is a migrated thread and some comments may be shown as answers.
chris_cf
Top achievements
Rank 2
chris_cf asked on 02 Jul 2012, 09:32 PM
How can I make RadNotification stay in 1 place at all times despite scrolling? I would like to position it relative (below) an image.

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 Jul 2012, 06:55 AM
Hi,

Try overriding the default css as follows to make RadNotification stay in one place. You can also change the position of RadNotification 
 by setting OffsetX and OffsetY properties.

CSS:
#RadNotification1_popup
  {
     position:absolute !important;
  }

ASPX:
<telerik:RadNotification ID="RadNotification1" OffsetY="200" OffsetX="100"  runat="server"  >
</telerik:RadNotification>

Hope this helps.

Thanks,
Princy.
0
chris_cf
Top achievements
Rank 2
answered on 04 Jul 2012, 05:57 PM
Tried that but unfortunately, it doesn't work.

By default, it still seems to be placing it at the bottom right of the screen.
0
Accepted
Princy
Top achievements
Rank 2
answered on 05 Jul 2012, 06:39 AM
Hi Chris,

Try setting the exact position of the RadNotification from CSS. Here is the Style I tried which works as expected at my end. Please take a look into the screenshot.

CSS:
<style type="text/css">
#RadNotification1_popup
 {
   position:absolute !important;
   // For setting the exact position
   left: 360px !important;
   top: 2066px!important;
 }
</style>
Hope this helps.

Thanks,
Princy.
Tags
Notification
Asked by
chris_cf
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
chris_cf
Top achievements
Rank 2
Share this question
or