function
if
var buttonID = document.getElementById('<%=HiddenField1.ClientID %>'
document.getElementById(buttonID).click(); /// not being supported by non i.e like Safari and firefox
IsChecked =
false ;
}
}
Thanks

<telerik:RadGrid ID="gvPreview" AutoGenerateColumns="true" AllowPaging="True" PageSize="10" runat="server" GridLines="vertical" Width="99%" AllowSorting="true" OnPreRender="gvPreview_PreRender" Font-Bold="true" EnableViewState="true" EnableTheming="false" Height="380px" AllowFilteringByColumn="true" OnPageIndexChanged="gvPreview_PageIndexChanged" OnNeedDataSource="gvPreview_NeedDataSource" OnPageSizeChanged="gvPreview_PageSizeChanged"> <ExportSettings HideStructureColumns="true" IgnorePaging="true" OpenInNewWindow="true" ExportOnlyData="true"> </ExportSettings> <GroupingSettings CaseSensitive="false" /> <ItemStyle CssClass="grid-content-Maintext" HorizontalAlign="Left" ForeColor="Black" VerticalAlign="Middle" BackColor="#f4fdff"></ItemStyle> <AlternatingItemStyle CssClass="grid-content-Alttext" HorizontalAlign="Left" ForeColor="Black" VerticalAlign="Top" BackColor="White" /> <HeaderStyle CssClass="background_dbf7ff lineHeight_25px" Font-Bold="True" HorizontalAlign="Left" Wrap="true" ForeColor="Black" VerticalAlign="Middle" BackColor="#f4fdff" Font-Names="Arial" Font-Size="11px" /> <PagerStyle CssClass="background_dbf7ff lineHeight_25px" /> <SelectedItemStyle CssClass="background_dbf7ff lineHeight_25px" /> <GroupHeaderItemStyle CssClass="background_dbf7ff lineHeight_25px" /> <ActiveItemStyle CssClass="background_dbf7ff lineHeight_25px" /> <CommandItemStyle CssClass="background_dbf7ff lineHeight_25px" /> <SortingSettings EnableSkinSortStyles="False" /> <FilterItemStyle BackColor="#DBF7FF" BorderStyle="Solid" /> <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" /> <MasterTableView Width="100%" CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign="Right"> <PagerStyle Mode="NextPrevAndNumeric" /> <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false" /> </MasterTableView> <ClientSettings AllowDragToGroup="true" AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder"> <Animation AllowColumnReorderAnimation="true" AllowColumnRevertAnimation="true" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"> </Scrolling> </ClientSettings> <PagerStyle AlwaysVisible="true"></PagerStyle> </telerik:RadGrid>I have a RadGrid, very similar in structure to this one:
With the grid above, if you click on Edit you can see the status bar showing loading and the grid is always visible.
However, on my RadGrid whenever I click on Add, Edit or Update (when in edit mode) the grid disappears momentarily and then re-appears. The functions are all correct, it goes in and out of edit mode correctly and saves to the database where appropriate, it is just a bit disconcerting for the user that the grid disappears between functions.
Any advice would be greatly appreciated!
protected void rgBase_PreRender(object sender, EventArgs e) { foreach (GridColumn col in rgBase.MasterTableView.RenderColumns) { if (col.UniqueName == "img_add") { col.ItemStyle.Width = Unit.Pixel(20); col.HeaderStyle.Width = Unit.Pixel(20); } } }
<CommandItemTemplate>
<table width="35%">
<tr>
<td><asp:LinkButton ID="ButtonEditAll" runat="server" Text="Edit All"
CommandName="EditAll" /></td>
<td><asp:LinkButton ID="ButtonUpdateAll" runat="server" Text="Update All"
CommandName="UpdateAll" /></td>
<td>
<asp:LinkButton ID="DownloadPDF" runat="server" Text="Download"
CommandName="ExportToPdf" /></td>
</tr>
</table>
</CommandItemTemplate>
and I waht to check spelling after clicking this button. But I don't know how to get these buttons client ids. Please give me a help.
Thanks
hi,
i want to use images from web in my rad editor. Currently Rad editor provides image manager functionality which allows us to use images from local system only. i want to know is there any method by which i can use web images (by giving web URL of images). Due to business requirement i can't use HTML mode of the RAD Editor, so can't inject images through HTML.
Please suggest a solution.
Raghav
