Hello,
We are experiencing an issue with the RadWindowManager and RadWindow not rendering after a postback.
They render to the page initially, then after triggering a postback, they fail to render to the page.
The page is ajaxified and the object that fires the postback is inside an update panel. The RadWindowManager resides outside of the update panel. We’re using the standard asp update panel. We're using a MasterPage and an standard asp script manager.
Does anyone see any issues with this, have a different solution / suggestion or has experienced the same issues?
Your insight is appreciated, thanks for reading and considering.
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
RadGrid RadGrid1 = (RadGrid)sender;
if(RadGrid1.Items.Count==0)
{
RadGrid1.Visible = false;
}
}
One of the GridTemplateColumn columns in my radgrid isn't populated by a database so its AllowFiltering property is set to false. However, I want to put a loading gif where <FilterTemplate> puts its markup.
How do I do this?
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowFilteringByColumn
=
"true"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
>
<
Columns
>
<
telerik:GridTemplateColumn
UniqueName
=
"MyCol1"
AllowFiltering
=
"false"
>
<
FilterTemplate
>
<!-- I want to put image here, but it doesn't display if AllowFilter=false -->
<
img
src
=
"images/loading.gif"
/>
</
FilterTemplate
>
<
ItemTemplate
>
<
asp:Hyperlink
ID
=
"MyLink"
runat
=
"server"
Text
=
"MyLink"
></
asp:Hyperlink
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
telerik:RadGrid
>
I have this thing in my grid view
<ItemTemplate>
<asp:ImageButton ID="ImageButton1" runat="server" AlternateText="Delete Customer"
OnClientClick="javascript:if(!confirm('This action will move the selected employee to his source store . Are you sure?')){return false;}"
CausesValidation="false"
OnClick = "RadGrid1_ItemDeleted1"
CommandName="Delete"
CommandArgument='<%# Eval("EmployeeNumber") %>'
ImageUrl="~/_Layouts/delete/images.jpg" />
</ItemTemplate>
Now in the click event how to I get the row for which the delete was clicked.
<
telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="true" PageSize="100" OnPageIndexChanged="RadGrid1_PageIndexChanged">
<MasterTableView CommandItemDisplay="TopAndBottom" PagerStyle-Position="TopAndBottom"
AutoGenerateColumns="true">
<ItemStyle Wrap="True" />
<HeaderStyle Wrap="False" Width="200px" />
<FilterItemStyle Wrap="False" />
<PagerStyle Mode="NextPrevAndNumeric" />
<CommandItemTemplate>
<telerik:RadMenu ID="RadOptionsMenu" runat="server" ClickToOpen="false"
EnableRoundedCorners="true" EnableShadows="true"
OnItemClick="RadOptionsMenu_Clicked"
Skin="Vista">
<CollapseAnimation Duration="200" Type="OutQuint" />
<Items>
<telerik:RadMenuItem AccessKey="x" CssClass="MenuText" Text="Export">
<Items>
<telerik:RadMenuItem runat="server" Text="Excel">
</telerik:RadMenuItem>
</Items>
</telerik:RadMenuItem>
</Items>
</telerik:RadMenu>
<table width="100%">
<tr>
<td style="height: 10px;">
</td>
</tr>
</table>
</CommandItemTemplate>
</MasterTableView>
<ClientSettings>
</ClientSettings>
</telerik:RadGrid>
RadAjaxPanel also.
Please help me.
Thanks
Ratheesh