| [WebMethod] |
| public IEnumerable<AppointmentData> GetAppointments(SchedulerInfo schedulerInfo) |
| { |
| return Controller.GetAppointments(schedulerInfo); |
| } |
| [WebMethod(EnableSession = true)] |
| public IEnumerable<AppointmentData> GetAppointments(SchedulerInfo schedulerInfo) |
| { |
| string callerName = Context.User.Identity.Name; // I can obtain the caller, but how can I make use of it? |
| return Controller.GetAppointments(schedulerInfo); |
| } |
<telerik:RadEditor ID="Instructions" runat="server" Width="640px" Height="300px" Skin="Office2007" EnableResize="false" EditModes="Design">
<Tools>
<telerik:EditorToolGroup >
<telerik:EditorTool Name="Cut" />
<telerik:EditorTool Name="Copy" />
<telerik:EditorTool Name="Paste" />
</telerik:EditorToolGroup>
</Tools>
</telerik:RadEditor>
GridDataItem gdi = (GridDataItem)((sender as ImageButton).NamingContainer);//hide the deleted recordgdi.Visible = false;
We are trying to implement the self referencing hierarchy in RadGrid. But the example provided in the Telerik demo site creates expand\collapse button explicitly for each row of the GridDataItem. Besides , It hide\expand the columns through iterating the each GridNestedViewItem and their nested tables recursively. Is there any other way to implement this functionality without creating explicit button control and avoiding the recursive loop for each GridDataItem?
