| <telerik:RadGrid ID="grdValutazione" runat="server" GridLines="None" |
| AllowPaging="True" PageSize="20" AllowSorting="True" AutoGenerateColumns="False" |
| ShowStatusBar="true" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" |
| AllowAutomaticUpdates="True"> |
| <MasterTableView CommandItemDisplay="none" GridLines="None" |
| DataKeyNames="IDPAP,IDAPPEZZAMENTO,IDPARTICELLA" AllowFilteringByColumn="False" AllowSorting="True"> |
| <Columns> |
| <telerik:GridTemplateColumn> |
| <ItemTemplate> |
| <asp:label runat="server" ID="test" text='<%# bind("test") %>' /> |
| </ItemTemplate> |
| <EditTemplate> |
| <asp:textbox runat="server" ID="txt" text='<%# bind("test") %>' /> |
| </EditTemplate> |
| </telerik:GridTemplateColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
What am I missing here? I have a Listbox and when the user clicks an Item I'm loading a grid and I'm trying to get the grid to show that loading indication. I'm taking the example from this screen http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/firstlook/defaultcs.aspx
Instead of the Loading that I'm expecting to see the grid disappears for a second then reappears loaded. Is there something else I need to do or set besides the Ajax Manager?
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadListBox_CatalogType"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="GridSearchResults" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> |
| <telerik:RadDockLayout runat="server" ID="RadDockLayout1" |
| EnableViewState="true"> |
| <table style="width:100%" border="0" > |
| <tr > |
| <td style="width:30%"> |
| <telerik:RadDockZone runat="server" ID="RadDockZone1" Height="100%" |
| FitDocks="true" Width="100%" MinHeight="0" BorderWidth="0" Orientation="Vertical" Skin="Outlook"> |
| </telerik:RadDockZone> |
| </td> |
| <td style="width:30%" > |
| <telerik:RadDockZone runat="server" ID="RadDockZone2" Height="100%" |
| Width="100%" |
| Style="_height:100%;border-color:lightgray;float: right; margin-right: 0px" |
| Orientation="Vertical" FitDocks="true" Skin="WebBlue"> |
| </telerik:RadDockZone> |
| </td> |
| <td style="width:30%"> |
| <telerik:RadDockZone runat="server" ID="RadDockZone3" Height="100%" |
| Width="100%" Style="_height:100%;border-color:lightgray;float: right; margin-right: 0px" |
| Orientation="Vertical" FitDocks="true" Skin="Vista"> |
| </telerik:RadDockZone> |
| </td> |
| </tr> |
| </table> |
| vb.net codes: |
| Private Sub CreateDefaultRadDock() |
| Dim index As Integer |
| Dim DockList As New ArrayList() |
| Dim intCount As Integer = 0 |
| Dim intReminder As Integer |
| Dim dock As RadDock |
| If Not Me.chkWidgetList.Items Is Nothing Then |
| intCount = Me.chkWidgetList.Items.Count |
| End If |
| For index = 0 To intCount - 1 |
| dock = CreateRadDock(chkWidgetList.Items(index).Text) |
| intReminder = index Mod 3 |
| Select Case intReminder |
| Case 0 |
| RadDockZone1.Controls.Add(dock) |
| dock.Skin = "Web20" |
| Case 1 |
| RadDockZone2.Controls.Add(dock) |
| dock.Skin = "Vista" |
| Case 2 |
| RadDockZone3.Controls.Add(dock) |
| dock.Skin = "Outlook" |
| End Select |
| Me.chkWidgetList.Items(index).Selected = True |
| 'We want to save the dock state every time a dock is moved. |
| CreateSaveStateTrigger(dock) |
| 'Load the selected widget |
| dock.Tag = WidgetFolder + "/" + chkWidgetList.Items(index).Value |
| LoadWidget(dock) |
| Next index |
| Me.btnAdd.Enabled = False |
| Me.btnReset.Enabled = False |
| 'don't need to reload Dock |
| isNeedReload = False |
| End Sub |
<asp:Panel ID="Job_Report" runat="server" Width="805px">
<
fieldset>
<
legend>Search Bulk Job</legend>
<table>
<tr>
<td>
<uc1:CFNList id="CFNList1" runat="server">
</uc1:CFNList>
</td>
<td>
Job:
<br />
<telerik:RadTextBox ID="JobTextBox" runat="server" Width="100px" MaxLength="5"></telerik:RadTextBox>
</td>
<td>
Title:
<br />
<telerik:RadTextBox ID="TitleTextBox" runat="server" Width="100px" MaxLength="5"></telerik:RadTextBox>
</td>
<td>
<br />
<asp:Button ID="SearchJob" runat="server" Width="95px" Height="24px" CssClass="Button" Text="Search" OnClick="Search_Job_Click" OnClientClick="JavaScript: return ValidateData();" />
</td>
</tr>
<tr>
<td class="tbtxtbox" colspan="3" style="height:20px;">
<asp:Label ID="lblError" runat="server" Height="10px" Font-Size="Small" ForeColor="red" >
</asp:Label>
</td>
</tr>
</table>
</fieldset>
</asp:Panel>