or
void grid_UpdateCommand(object source, GridCommandEventArgs e) { Hashtable newValues = new Hashtable(); GridEditableItem item = e.Item as GridEditableItem; item.OwnerTableView.ExtractValuesFromItem(newValues, item); Response.Write("Updated Name: " + newValues["ContactName"].ToString()); }Hashtable newValues = new Hashtable(); foreach (GridEditableItem Item in grid.MasterTableView.Items) { Item.OwnerTableView.ExtractValuesFromItem(newValues, (GridEditableItem)Item); string str = newValues[0].ToString(); }.MasterTableView.Columns(i).HeaderText = ... (the other side of the equation works fine).Protected Overridable Sub FormatGrid() Try With mGridEx .DataSource = mDs If Not IsPostBack() Then .Font.Name = "Verdana" .Font.Size = New WebControls.FontUnit("8.5pt") End If .DataBind() For i As Integer = 0 To mDs.Tables(mTableName).Columns().Count - 1 .MasterTableView.Columns(i).HeaderText = mDs.Tables(mTableName).Columns(i).Caption Next End With Catch ex As System.NullReferenceException Catch ex As Exception Dim error1 As String = ex.ToString() End TryEnd SubYou don't have permission to access http://website/admin/content/Telerik.Web.UI.DialogHandler.aspx?DialogName=ImageProperties&UseRSM=true&Skin=Default&Title=Properties...&doid=0a82807c-b422-4396-8fe0-3a4124eab91e&dpptn=&dp=XXX on this server.Hi Telerik,
Really enjoying integrating the Scheduler Control, found the documentation great and control simple to integrate.
I’m using control in the web service mode but have two problems:
1) In Month view when there is more than one appointment in a day slot when "more..." is clicked i would like to handle this and display the timeline view.
2) In the timeline view i would like to switch of the resize handle as im only displaying start dates.
Thanks,
Debbie
| <telerik:RadScheduler ID="RadScheduler1" runat="server" |
| OnClientAppointmentsPopulating="doClientAppointmentsPopulating" |
| OnClientAppointmentInserting="doClientAppointmentInserting" |
| OnClientAppointmentEditing="doClientAppointmentEditing" |
| OnClientAppointmentDeleting="doClientAppointmentDeleting" |
| OnClientAppointmentContextMenu="doClientAppointmentContextMenu" |
| OnClientAppointmentContextMenuItemClicked="doClientAppointmentContextMenuItemClicked" |
| OnClientTimeSlotContextMenu="doClientTimeSlotContextMenu" |
| OnClientTimeSlotContextMenuItemClicked="doClientTimeSlotContextMenuItemClicked" |
| Localization-ConfirmDeleteText="Are you sure you want to delete this announcement." |
| Localization-ContextMenuAddAppointment="New Announcement" |
| DisplayDeleteConfirmation="True" |
| TimelineView-NumberOfSlots="7" |
| SelectedView="MonthView" |
| GroupingDirection="Vertical" |
| FirstDayOfWeek="Monday" |
| LastDayOfWeek="Sunday" |
| DataKeyField="ID" |
| DataSubjectField="Subject" |
| DataStartField="Start" |
| DataEndField="End" |
| DataRecurrenceField="RecurrenceRule" |
| DataRecurrenceParentKeyField="RecurrenceParentID" |
| OverflowBehavior="Expand" |
| ShowAllDayRow="true" |
| ShowFullTime="false" |
| ShowViewTabs="true" |
| StartEditingInAdvancedForm="true" |
| StartInsertingInAdvancedForm="true"> |
| <WebServiceSettings |
| Path="~/AdminV9/News/NewsSchedulerWS.asmx" |
| ResourcePopulationMode="Manual" /> |
| <%-- Header formating --%> |
| <DayView |
| UserSelectable="false" /> |
| <WeekView |
| UserSelectable="false" /> |
| <MonthView |
| UserSelectable="true" |
| HeaderDateFormat="MMM, yyyy" |
| AdaptiveRowHeight="false" |
| VisibleAppointmentsPerDay="2" /> |
| <TimelineView |
| UserSelectable="true" |
| HeaderDateFormat="MMM dd, yyyy" |
| ColumnHeaderDateFormat="ddd dd" /> |
| <MultiDayView |
| UserSelectable="false" /> |
| <%-- Context menus --%> |
| <TimeSlotContextMenuSettings EnableDefault="true" /> |
| <TimeSlotContextMenus> |
| <telerik:RadSchedulerContextMenu> |
| <Items> |
| <telerik:RadMenuItem Text="New Announcement" Value="CustomAdd" /> |
| <telerik:RadMenuItem Text="Go to today" Value="CommandGoToToday" /> |
| </Items> |
| </telerik:RadSchedulerContextMenu> |
| </TimeSlotContextMenus> |
| <AppointmentContextMenuSettings EnableDefault="true" /> |
| <AppointmentContextMenus> |
| <telerik:RadSchedulerContextMenu> |
| <Items> |
| <telerik:RadMenuItem Text="Edit" Value="CommandEdit" /> |
| <telerik:RadMenuItem Text="Delete" Value="CommandDelete" /> |
| </Items> |
| </telerik:RadSchedulerContextMenu> |
| </AppointmentContextMenus> |
| <%--Forms --%> |
| <AdvancedForm Modal="true" /> |
| </telerik:RadScheduler> |