I also need to mention that for some reason the initial load of the screen which has basically nothing but the new grid on it is very slow. This was not the case with the classic grid the screen loaded instantly, but now it takes 10 seconds just to display the page - and that's with an empty grid.
Has anyone experienced anything similar? Is there something different that needs to be done for the new grid to open a Rad Window?
Here is my code for attempting to open my rad window from my ajax grid:
<telerik:RadAjaxManager ID="ram1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="rgT"> rgT is my new grid
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="txW"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
<Windows>
<telerik:RadWindow ID="txW" runat="server" style="display:none;" Behavior="Default" Height="300px" InitialBehavior="None" Left="" Modal="True" NavigateUrl="PurchaseCardUseTax.aspx" OpenerElementID="rgT" Skin="WebBlue" Top="" Width="400px" Title="Use Tax">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
This is the link buttonj from my grid which calls the vb.net sub to open the window:
<telerik:GridTemplateColumn DataField="USE_TAX_AMT" HeaderText="Use Tax" UniqueName="USE_TAX_AMT"
AllowFiltering="False">
<HeaderStyle HorizontalAlign="Left" Width="45px" Wrap="False" />
<ItemStyle HorizontalAlign="Right" Width="45px" Wrap="False" />
<ItemTemplate>
<asp:LinkButton ID="lbUseTax" runat="server" Width="45px" CssClass="Normal" OnCommand="useTaxClick"
ToolTip="Click to edit use Tax" Text='<%#DataBinder.Eval(Container, "DataItem.USE_TAX_AMT") %>'></asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
Here is my vb.net sub that opens the window:
Public
Sub useTaxClick(ByVal sender As Object, ByVal e As CommandEventArgs)
'Open up the rad window that allows editing of the Use Tax
txW.Behaviors = WindowBehaviors.Close
Or WindowBehaviors.Move
txW.NavigateUrl =
"MyWindow.aspx"
txW.VisibleOnPageLoad =
True
End Sub
Any help would be greatly appreciated.
**Also, there is a bug in the RadWindowManager designer as far as I can tell. If you follow the steps in the Telerik online example http://www.telerik.com/help/aspnet-ajax/window_gettingstarted.html the window does not actually get added. You need to manually drag the <Windows></Windows> tags onto your asp code between the radwindowmanager tags first and then you can add windows via the windows manager. Otherwsise it appears as though you are adding them but they dissappear when you leave and come back into the windows collection of the windows manager. My co-worker reproduced this problem. If you come back into the radwindowmanager and try to add that same window (same ID) it tells you that the window already exists. Anyways, check it out and hopefully you can reproduce this
Thanks