Position Relative or Absolute

4 posts, 1 answers
  1. chris_cf
    chris_cf avatar
    53 posts
    Member since:
    Jul 2007

    Posted 02 Jul 2012 Link to this post

    How can I make RadNotification stay in 1 place at all times despite scrolling? I would like to position it relative (below) an image.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 03 Jul 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. chris_cf
    chris_cf avatar
    53 posts
    Member since:
    Jul 2007

    Posted 04 Jul 2012 Link to this post

    Tried that but unfortunately, it doesn't work.

    By default, it still seems to be placing it at the bottom right of the screen.
  5. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 05 Jul 2012 Link to this post

    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.
Back to Top