This is a migrated thread and some comments may be shown as answers.

[Solved] InlineEditTemplate doesn't seem to replace default editing dialog

1 Answer 129 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Greg Mercer
Top achievements
Rank 1
Greg Mercer asked on 26 Jan 2010, 08:37 PM
Hi,

I'm trying to create a simple inline edit template, but when I double-click on an appointment in the Scheduler I seem to get some default appointment editing dialog with "Save" and "Cancel" buttons near the bottom right-hand corner.

Here is the code I'm using:
        <telerik:RadScheduler runat="server" ID="RadScheduler1" 
            Width="750px" 
            Height="650px" 
            SelectedView="MonthView"  
            FirstDayOfWeek="Monday"  
            LastDayOfWeek="Friday"             
            SelectedDate="2008-06-01" 
            StartInsertingInAdvancedForm="false" 
            EnableCustomAttributeEditing="true"  
            ProviderName="ReadOnlySchedulerData"  
            OnAppointmentDataBound="RadScheduler1_AppointmentDataBound">     
                 <InlineEditTemplate> 
                   <div id="InlineEditTemplate" class=""
                        
                       <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%" TextMode="MultiLine" Height="20px"></asp:TextBox> 
                  
                       <asp:LinkButton ID="InsertButton" runat="server" CommandName="Update" Text="Cancel"></asp:LinkButton> 
                  
                       <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel"></asp:LinkButton> 
                  
                       <asp:LinkButton ID="InsertMoreButton" runat="server" CommandName="More" CssClass="rsAdvancedEditLink">Advanced</asp:LinkButton> 
                    
                   </div> 
                </InlineEditTemplate>                    
        </telerik:RadScheduler>             
 
Can someone tell me what I'm doing wrong?

Thanks,
Greg


1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Jan 2010, 06:46 AM
Hello Greg,

Set the 'StartEditingInAdvancedForm' property to "false" in order to show inline editform.

    <telerik:RadScheduler StartEditingInAdvancedForm="false" Width="750px" Height="650px"
                SelectedView="MonthView"  .... >

-Shinu.
Tags
Scheduler
Asked by
Greg Mercer
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or