<
telerik:RadGrid ID="gd" runat="server" AllowPaging="True" AllowSorting="True" GridLines="None"
Skin="Office2007" AutoGenerateColumns="False" OnItemDataBound="gd_ItemDataBound"
Height="100%" Width="100%" PageSize="5" AllowMultiRowSelection="true">
<ExportSettings IgnorePaging="false" OpenInNewWindow="true" ExportOnlyData="true">
<Pdf AllowAdd="false" AllowCopy="true" AllowModify="true" AllowPrinting="true" Author="Anonymous"
Keywords="None" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in"
PageTopMargin="1in" PageTitle="Status Result Export" Subject="Status Result Export"
Title="Status Result export" PaperSize="Letter" />
</ExportSettings>
<%
--<PagerStyle Mode="NextPrevAndNumeric" Position="Bottom" NextPageText="Next" PrevPageText="Prev" />--%>
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" VerticalAlign="Top" Wrap="True" Height="100%" Width="100%" />
<MasterTableView Height="100%">
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<PagerTemplate>
<div style="display:'block'">
<asp:ImageButton ID="ExportToPDF" Style="cursor: pointer;" ImageUrl="~/App_Themes/Pdf.png"
AlternateText="Export to PDF" CommandName="ExportToPdf" runat="server"></asp:ImageButton>
</div>
</PagerTemplate>
<Columns>
<
telerik:GridTemplateColumn HeaderText="Item #" ItemStyle-Width="10%" ItemStyle-VerticalAlign="Top">
<ItemTemplate>
<asp:Label ID="lblItemNbr" runat="server"></asp:Label>
<asp:TextBox ID="txtEnrtaskId" CssClass="HideLabel" runat="server" Width="0px" Height="0px"></asp:TextBox>
</ItemTemplate>
<ItemStyle VerticalAlign="Top" Width="10%"></ItemStyle>
</telerik:GridTemplateColumn>
</
Columns>
<EditFormSettings>
<PopUpSettings ScrollBars="None" />
</EditFormSettings>
</MasterTableView>
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" AllowKeyboardNavigation="true">
<ClientEvents OnRowContextMenu="gdRowContextMenu" />
<Selecting AllowRowSelect="True" EnableDragToSelectRows="true" />
<Scrolling AllowScroll="False" UseStaticHeaders="False" />
<Resizing AllowColumnResize="True" ResizeGridOnColumnResize="True" EnableRealTimeResize="True">
</Resizing>
</ClientSettings>
</telerik:RadGrid>
Could you please advice if I am missing anything here ?| function windowClose() { |
| var ajaxManager = $find("<%# RadAjaxManager1.ClientID %>"); |
| ajaxManager.AjaxRequest('Rebind_rgGallery'); |
| } |
I have an asp button within a radpageview (of the rad mulitpage control connected to the rad tab strip) that represents a delete function. I add a click click in code behind like so:
m_btnDeleteUser.Attributes.Add("onclick", "javascript:return confirm('You you sure');");
This works fine on buttons not in the radpageview, when in the radpageview, the confirm dialog box pops up, but the return true (clicking ok button) does not allow the server side click event to fire.
This thread talks about something similar http://www.telerik.com/community/forums/thread/b311D-bkektd.aspx
But I'm not using tab template, I'm just inside the radpageview control. Is it essentially the same isssue?
Thanks.
Mark