I'm using a RadNotification in a UserControl, which is in a content page, which is in a master page. The RadNotification the UserControl is referencing is in the Master page. Here's the code I use to get it:
This works, but if I try to change any of the properties of the notification, such as width, visibletitlebar, etc. nonw of them work. Here's an example:
Any idea what I might be doing wrong?
Thanks!
public
RadNotification GetNotificationAlert(Control ctl)
{
var master = (defaultMaster)ctl.Page.Master;
if
(master !=
null
)
return
master.FindControl(
"RadNotification1"
)
as
RadNotification;
return
null
;
}
This works, but if I try to change any of the properties of the notification, such as width, visibletitlebar, etc. nonw of them work. Here's an example:
var notification = GetNotificationAlert(
this
);
notification.VisibleTitlebar =
false
;
notification.Width = 540;
notification.Height = 90;
notification.Opacity = 70;
Any idea what I might be doing wrong?
Thanks!