<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" /></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <%--Needed for JavaScript IntelliSense in VS2010--%> <%--For VS2008 replace RadScriptManager with ScriptManager--%> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> </Scripts> </telerik:RadScriptManager> <script type="text/javascript"> //Put your JavaScript code here. function RadComboBox1_Focus(sender, args) { sender.selectText(0, 2); }; </script> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> </telerik:RadAjaxManager> <div> <telerik:RadTextBox runat="server" ID="TextBox1" TabIndex="1"> </telerik:RadTextBox> <div style="height:30px;"></div> <telerik:RadComboBox ID="RadComboBoxLookupFirm" runat="server" Width="350" EnableTextSelection="false" TabIndex="2" OnClientFocus="RadComboBox1_Focus"> <Items> <telerik:RadComboBoxItem Text="1111111" Selected="true" /> <telerik:RadComboBoxItem Text="2222222" /> <telerik:RadComboBoxItem Text="3333333" /> <telerik:RadComboBoxItem Text="4444444" /> </Items> </telerik:RadComboBox> <div style="height:30px;"></div> <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="350" EnableTextSelection="true" EnableLoadOnDemand="true" TabIndex="3" OnClientFocus="RadComboBox1_Focus"> <Items> <telerik:RadComboBoxItem Text="1111111" Selected="true" /> <telerik:RadComboBoxItem Text="2222222" /> <telerik:RadComboBoxItem Text="3333333" /> <telerik:RadComboBoxItem Text="4444444" /> </Items> </telerik:RadComboBox> </div> </form></body></html>

<telerik:RadGrid ID="UserGrid" runat="server" AllowSorting="true" AllowPaging="true" AllowCustomPaging="true" AllowMultiRowSelection="true" OnItemDataBound="Grid_ItemDataBound" OnSortCommand="Grid_Sorting" OnPageIndexChanged="Grid_Paging" OnDeleteCommand="Grid_Deleting" OnItemCommand="Grid_ItemCommand" Skin="Windows7" meta:resourcekey="UserGrid"> <MasterTableView AutoGenerateColumns="False" EnableNoRecordsTemplate="true" ShowHeadersWhenNoRecords="false" DataKeyNames="UserID,EmailAddress" NoMasterRecordsText="No records match the search criteria."> <Columns> <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" ItemStyle-Width="20px"/> </Columns> </MasterTableView> <ClientSettings EnableRowHoverStyle="false"> <Selecting AllowRowSelect="True" EnableDragToSelectRows="true"></Selecting> </ClientSettings> <PagerStyle Mode="NumericPages" /> </telerik:RadGrid>
<
script type="text/javascript">
function
myOnClientFileSelect(radUpload, eventArgs)
{
var img = document.getElementById('<%= Image1.ClientID %>');
img.src=eventArgs.FileInputField.value;}
</
script>
<
asp:Image ID="Image1" runat="server" Height="112px" Style="z-index: 103; left: 472px;
position: absolute; top: 208px"
Width="136px" />
<
telerik:RadUpload ID="RadUpload1" runat="server" Style="z-index: 100; left: 112px;
position: absolute; top: 136px"
OnClientFileSelected="myOnClientFileSelect" AllowedFileExtensions=".bmp,.jpeg,.jpg,.gif" ControlObjectsVisibility="All" InitialFileInputsCount="2" MaxFileInputsCount="1000" MaxFileSize="100000000" TargetFolder="~/File" OnFileExists="RadUpload1_FileExists" />
<telerik:RadProgressArea ID="RadProgressArea1" runat="server" Style="z-index: 101;
left: 120px; position: absolute; top: 232px">
</telerik:RadProgressArea>
<telerik:RadProgressManager ID="RadProgressManager1" runat="server" Style="z-index: 102;
left: 104px; position: absolute; top: 184px"
/>
Thank you



notification.update();
notification.show();
when I want to show the Notification.
I want to clear the Notificaiton content each time the user clicks on the Notification Close button.
I've had a hard time getting it to clear on both the client and the server without side effects. I have it sort of working now, but the notification flashes on loading the page.
I'm sure there is a simple, clean way to do this, but I haven't been able to figure it out -- after spending a lot of time and searching both the Telerik website and using Google.
Thanks,
Donald