<telerik:RadRotator RotatorType="AutomaticAdvance" Skin="Windows7" ID="rotator1" runat="server" Height="253px" Width="500px" WrapFrames="true" ItemWidth="98%" ItemHeight="45px" ScrollDirection="Up">
<ItemTemplate>
<div class="feed"><%#DataBinder.Eval(Container.DataItem) %></div>
</ItemTemplate>
</telerik:RadRotator>And the CSS class is
.feed { overflow: auto; width: 100%; height: 100%; color: #4f6b72; background-position: center; }
td width="29%" height="135">
<ajaxToolKit:ToolkitScriptManager ID="ToolkitScriptManager2" runat="Server" />
<Scripts>
<ajaxToolkit:Accordion ID="NavigateAccordion" runat="server"
HeaderCssClass="accordionHeader"
ContentCssClass="accordionContent"
FadeTransitions="true"
SuppressHeaderPostbacks = "true"
AutoSize="None"
Width="220">
</ajaxToolkit:Accordion>
</td>
<td width="71%">
</td>
<form id="form2" runat="server">
<telerik:RadScriptManager ID="ScriptManager1" runat="server">
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
</Scripts>
</telerik:RadScriptManager>
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Buttons" />
I am using Rad grid and binding on client side using EntityDataSource. Grid.Rebind() does not work with this.
I have tried to use "RadAjaxPanel" to refresh the grid but still not working. Please help me ASAP
<telerik:RadScriptManager ID="RadScriptManagerOrders" runat="server">
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManagerOrders" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ButtonSave">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="ajax1Panel" LoadingPanelID="RadAjaxLoadingPanelGrid" />
<telerik:AjaxUpdatedControl ControlID="RadGridOrders" LoadingPanelID="RadAjaxLoadingPanelGrid" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
<ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanelGrid" Skin="Windows7"
Transparency="20" />
<telerik:RadGrid>
<telerik:RadAjaxPanel ID="ajax1Panel" runat="server" >
<telerik:RadGrid AutoGenerateColumns="False" ID="RadGridOrders" PageSize="10" DataSourceID="EntityDataSource_Orders" EnableEmbeddedSkins="false"
AllowFilteringByColumn="true" AllowPaging="True" OnItemCommand="RadGridOrders_ItemCommand" OnSortCommand="RadGridOrders_OnSortCommand"
OnPageSizeChanged="RadGridOrders_OnPageSizeChanged" OnPageIndexChanged="RadGridOrders_OnPageIndexChanged" OnSelectedIndexChanged="RadGridOrders_SelectedIndexChanged"
AllowSorting="True" runat="server" OnItemDataBound="RadGridOrders_ItemDataBound" EnableViewState="true" Skin="MyCustomSkin" >
<PagerStyle Mode="NextPrevAndNumeric" />
<GroupingSettings CaseSensitive="false" />
<MasterTableView TableLayout="Fixed" DataKeyNames="ordre_id">
<NoRecordsTemplate>
<div>
No records to display.</div>
</NoRecordsTemplate>
<Columns>
<telerik:GridBoundColumn HeaderText="Ordrenr." DataField="ordre_id" UniqueName="ordre_id"
Resizable="true" SortExpression="ordre_id" HeaderStyle-Width="60px" FilterControlWidth="35px"
AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="true">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<ClientSettings EnablePostBackOnRowClick="true">
<Selecting AllowRowSelect="True" />
</ClientSettings>
</telerik:RadGrid>
</telerik:RadGrid>
</telerik:RadAjaxPanel>
<asp:EntityDataSource runat="server" ContextTypeName="Order_Entities"
ID="EntityDataSource_Orders" EntitySetName="Ordre_View" Select="it.ordre_id
"OrderBy="it.ordre_id desc" OnSelecting="EntityDataSource_Orders_Selecting">
</asp:EntityDataSource>
hina
Please see attached screen shot.
Thanks
Prashant
Hi
I have a rad scheduler:
<telerik:RadScheduler runat="server" ID="DiaryScheduler" Skin="Metro" ValidationGroup="Settings" ...
and a custom validator:
<asp:CustomValidator runat="server" ID="MyValidator" Display="Dynamic" ValidationGroup="Settings" ClientValidationFunction="validateMyStuff">
<span class="validation-error">Some Error Text</span>
</asp:CustomValidator>
When using this with other controls the validation occurs correctly. When usign the schedular, i.e. moving from one view to another and from one week to another, the validation is not run.
Does the ValidationGroup work with the schedular? Have I missed something, is there another setting I need to make this work, or do I have to validate manually?
Thanks
Russell