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

how use notification with user controls (*.ascx)

2 Answers 104 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Hugo
Top achievements
Rank 1
Hugo asked on 18 Aug 2011, 06:46 PM
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.

Thankyou!

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 19 Aug 2011, 04:23 PM
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.


Regards,
Marin
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 >>

0
Hugo
Top achievements
Rank 1
answered on 19 Aug 2011, 06:49 PM
Hi!!

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

Thank you so much!!

Have a nice day!




Tags
Notification
Asked by
Hugo
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Hugo
Top achievements
Rank 1
Share this question
or