how use notification with user controls (*.ascx)

3 posts, 0 answers
  1. Hugo
    Hugo avatar
    11 posts
    Member since:
    Aug 2011

    Posted 18 Aug 2011 Link to this post

    Hello all.

    Im working with DNN and I need show notifications but, my page is a *.ascx (user control) and this control doesn't works correctly, always appear in bottom area of my page; regardless of the value of the position that I have assigned.

    I hope you can help me.

  2. Marin Bratanov
    Marin Bratanov avatar
    4441 posts

    Posted 19 Aug 2011 Link to this post

    Hello Hugo,

    There are a few possible explanations for the case.
    1) if your user control is actually loaded in an iframe by DNN we could not take anything out of it and thus the notification would be limited to this space. In this case there is nothing we can do.

    2) if there is no doctype on the page the browser may enter quirks mode and then the position: fixed CSS property will not be supported, which is what the Notification uses. If this is the case you can try setting its Pinned property to false so that it uses absolute positioning instead and see if this helps. If it does - either use it that way, or try to find a way to add a doctype to the page so that the browser uses Standards Mode when rendering the page.

    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. Hugo
    Hugo avatar
    11 posts
    Member since:
    Aug 2011

    Posted 19 Aug 2011 Link to this post


    I tried with pinned  property in false and was the solution!!!

    Thank you so much!!

    Have a nice day!

Back to Top