I'm using a dynamically added grid, and handing the grid a dataset during the NeedDataSource event. The contents of that dataset can change based on some other controls I have for filtering.
Grouping and paging and ajax are enabled, and all seem to work fine. The problem is the footer at the bottom always says the original row and page count. So if I hand the grid a 16 row dataset in NeedDataSource, and then in the next call a 1 row dataset, the footer still says displaying page "Displaying page 1 of 2, items 1 to 15 of 16."
Turning gird viewstate on and off did not help, nor did setting the grid datasource to Null and doing a Rebind().
Is there some way to force the footer to refresh?
I am experiencing a problem with Scheduler when trying to set DayStartTime property with Web Service binding.
For example when I set DayStartTime="00:00:00" WorkDayStartTime="00:00:00"
| <telerik:RadScheduler runat="server" ID="RadScheduler1" |
| Skin="Sunset" |
| SelectedView="DayView" |
| SelectedDate="2009-11-18" |
| ShowAllDayRow="True" |
| DayStartTime="00:00:00" |
| DayEndTime="00:00:00" |
| WorkDayStartTime="00:00:00" |
| WorkDayEndTime="00:00:00" > |
| <WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" /> |
| </telerik:RadScheduler> |
on page load the Scheduler display the start time at 00:00:00 but less than half a second after (when the web service is returning the appointments), its appearance changes and the start time displayed is 8:00:00 AM.
I used the simple Web Service binding example available there : http://www.telerik.com/help/aspnet-ajax/webservicebinding-binding.html
Any ideas would be appreciated
| <telerik:RadComboBox ID="RadComboBox1" runat="server" |
| EnableLoadOnDemand="true" |
| AllowCustomText="true" |
| AutoPostBack="true" |
| OnItemsRequested="RadComboBox1_ItemsRequested" |
| OnTextChanged="RadComboBox1_TextChanged" |
| HighlightTemplatedItems="true" > |
| <ItemTemplate> |
| <div><%#DataBinder.Eval(Container, "Text") %></div> |
| <div><%#DataBinder.Eval(Container, "Attributes['Name']")%></div> |
| <div><%#DataBinder.Eval(Container, "Attributes['Number']")%></div> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
| function pageLoad() { |
| var combo = $find("<%= RadComboBox1.ClientID %>"); |
| var input = combo.get_inputDomElement(); |
| input.onkeydown = ComboBoxKeyDownHandler; |
| } |
| function ComboBoxKeyDownHandler(e) |
| { |
| if (!e) |
| e = window.event; |
| var code = e.keyCode; |
| //only allow 0 through 9 or backspace to be entered |
| if (!((code >= 48 && code <= 57) || (code == 8))) |
| { |
| e.returnValue = false; |
| if (e.preventDefault) |
| { |
| e.preventDefault(); |
| } |
| } |
| } |