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

Screen title notification panel

1 Answer 87 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Jani
Top achievements
Rank 1
Jani asked on 30 Sep 2011, 07:56 AM
Hi

Is it possible to build a notification panel message on the top of the page (see also attachment).

Cheers,
Jani

1 Answer, 1 is accepted

Sort by
0
Accepted
Brian Garson
Top achievements
Rank 2
answered on 30 Sep 2011, 06:57 PM
Hey Jani,

I was able to do it with the following code + jquery for the onClientShown function

function OnClientShown(sender, eventArgs){
            sender.set_width($(window).width());
        }


<telerik:RadNotification ID="radNotificationWindow" runat="server" OnClientShown="OnClientShown" 
    Height="53" VisibleOnPageLoad="true" Pinned="true" Position="TopLeft" AutoCloseDelay="6000" EnableEmbeddedSkins="false" VisibleTitlebar="false" >
        <ContentTemplate>
            <img src="../images/WarningIcon.png" alt="Warning" />
            Warning: Please ensure you are using a browser that Campaigner currently supports.
            <a href="#" onclick="ShowBrowserSupportWindow();return false;">Learn More</a>
            <a href="#" onclick="closeNotificationWindow(); return false;" class="lnkClose">
                <img src="../Skins/Custom/Notification/campDashboardNotification_close.gif" alt="close" />
            </a>
        </ContentTemplate>
    </telerik:RadNotification>
Tags
Notification
Asked by
Jani
Top achievements
Rank 1
Answers by
Brian Garson
Top achievements
Rank 2
Share this question
or