or
<telerik:RadGrid ID="RG_CorreosExtra" runat="server" AutoGenerateColumns="False" AllowSorting="true" AllowPaging="True" PageSize="25" OnBatchEditCommand="RG_CorreosExtra_BatchEditCommand" OnInsertCommand="RG_CorreosExtra_InsertCommand" OnUpdateCommand="RG_CorreosExtra_UpdateCommand" OnDeleteCommand="RG_CorreosExtra_DeleteCommand" OnNeedDataSource="RG_CorreosExtra_NeedDataSource" Skin="Web20"><MasterTableView CommandItemDisplay="Top" DataKeyNames="id" HorizontalAlign="NotSet" EditMode="Batch" Name="Detalle_Correos_Extra"><NoRecordsTemplate>No hay correos en la lista</NoRecordsTemplate><CommandItemSettings AddNewRecordText="Nuevo Correo" SaveChangesText="Guardar Cambios"CancelChangesText="Cancelar" RefreshText="Actualizar" /> <BatchEditingSettings EditType="Cell" OpenEditingEvent="Click" /> <Columns> <telerik:GridTemplateColumn DataField="correo" HeaderText="Correo" UniqueName="correo" SortExpression="correo"> <ItemStyle HorizontalAlign="Left" /> <ItemTemplate> <%# Eval("correo") %> </ItemTemplate> <EditItemTemplate> <telerik:RadTextBox ID="RT_correo" runat="server" Text='<%# Bind("correo") %>'> </telerik:RadTextBox> <asp:RequiredFieldValidator ID="RFV_correo" runat="server" ControlToValidate="RT_correo" ForeColor="Red" ErrorMessage="Debe ingresar correo electrónico." Text="*" Display="Dynamic"> </asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="FEV_correo" runat="server" ControlToValidate="RT_correo" ForeColor="Red" ErrorMessage="Formato de correo inválido." Text="Formato Inválido" Display="Dynamic" Font-Size="X-Small" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"> </asp:RegularExpressionValidator> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn DataField="nombre" HeaderText="Nombre" UniqueName="nombre" SortExpression="nombre"> <ItemStyle HorizontalAlign="Left" /> <ItemTemplate> <%# Eval("nombre") %> </ItemTemplate> <EditItemTemplate> <telerik:RadTextBox ID="RT_nombre" runat="server" Text='<%# Bind("nombre") %>'> </telerik:RadTextBox> <asp:RequiredFieldValidator ID="RFV_nombre" runat="server" ControlToValidate="RT_nombre" ForeColor="Red" ErrorMessage="Debe ingresar Nombre." Text="*" Display="Dynamic"> </asp:RequiredFieldValidator> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn DataField="descripcion" HeaderText="Descripción" UniqueName="descripcion"> <ItemStyle HorizontalAlign="Left" /> <ItemTemplate> <%# Eval("descripcion") %> </ItemTemplate> <EditItemTemplate> <telerik:RadTextBox ID="RT_descripcion" runat="server" Text='<%# Bind("descripcion") %>'> </telerik:RadTextBox> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridButtonColumn ConfirmText="¿Desea eliminar este correo?" ConfirmDialogType="RadWindow" ConfirmTitle="Eliminación de correo" HeaderText="Eliminar" ButtonType="ImageButton" CommandName="Delete" Text="Eliminar" UniqueName="DeleteColumn"> <HeaderStyle Width="60px" /> <ItemStyle HorizontalAlign="Center" /> </telerik:GridButtonColumn> </Columns> </MasterTableView></telerik:RadGrid>
I am displaying timeout notification using Radnotification(see code below) but it shows a small orange box where the menu Icon would appear(see image). Setting the visible property to false does not resolve the issue. What am I missing? Please suggest.
If I close the notification window during the timeout, it reappears in 1 minute after closing. This seems to be the default behavior. Is there a way to configure or change this behavior?
<telerik:RadNotification ID="RadNotification1" runat="server" Width="240" Height="100" Position="Center" TitleIcon="" ShowTitleMenu="false" EnableRoundedCorners="true" Title="Session Expiring" OnClientShowing="OnClientShowing" Value="MyPage.aspx" AutoCloseDelay="0"> <ContentTemplate> <div class="infoIcon"><img src="Images/infoIcon.jpg" alt="info icon" /></div> <div class="notificationContent">Time remaining: <span id="timeLbl">5:00</span> <telerik:RadButton ID="continueSession" runat="server" Text="Continue Your Session?" Style="margin-top: 10px;" AutoPostBack="false" OnClientClicked="ContinueSession"> </telerik:RadButton> </div> </ContentTemplate> </telerik:RadNotification>
.infoIcon, .notificationContent
{
display: inline-block;
zoom: 1;
*display: inline;
}
.infoIcon
{
width: 32px;
height: 32px;
margin: 0 10px ;
vertical-align: top;
}
public override string StoreFile(Telerik.Web.UI.UploadedFile file, string path, string name, params string[] arguments){ var virtualSavePath = Path.Combine(path, name); var physicalPath = GetPhysicalFromVirtualPath(path); File.Create(Path.Combine(physicalPath, "joshtest")); if (physicalPath == null) return string.Empty; file.SaveAs(physicalPath); // Returns the path to the newly created file return virtualSavePath;}