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

RadScheduler InlineInsertTemplate problem

1 Answer 134 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 06 Jan 2011, 06:00 AM
Hi

I am very new to the RadControls. Just a few hours in fact so go easy on me. :)

I am running what seems to be an excellent tutorial here.

Advanced ASP.NET AJAX RadScheduler Customization

At around the 38 minute mark he is using code from the Templates documentation page to demo how to set the InlineInsertTemplate on the RadScheduler.

That code looks like this.

 
<telerik:RadScheduler . . . (removed the rest of this for brevity)
            <InlineInsertTemplate>
                <p>In here</p>
                <div id="InlineInsertTemplate">
                    <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>'                                   Width="90%"
                                  TextMode="MultiLine" Height="20px"></
asp:TextBox>
                    <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">
                        <asp:Image runat="server" ID="insertImage" ImageUrl="Images/ok.gif" AlternateText="insert" />
                    </asp:LinkButton>
                    <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel">
                        <asp:Image runat="server" ID="Image2" ImageUrl="Images/cancel.gif" AlternateText="cancel" />
                    </asp:LinkButton>
                    <div class="inline-label">
                        Color code:</div>
                  <br>
                    <asp:LinkButton ID="InsertMoreButton" runat="server" CommandName="More" CssClass="rsAdvancedEditLink">Edit Advanced</asp:LinkButton>
                </div>
            </InlineInsertTemplate><br>
</
telerik:RadScheduler>


However, when I run my RadScheduler, the Insert Template looks exactly as it did before I tried this code above.  As you can see above, I added a simple <p>In here</p> to the top of the template to see if it is displayed. It is not. Seems the RadScheduler ignores the InlineInsertTemplate

What am I missing here?

1 Answer, 1 is accepted

Sort by
0
Brad
Top achievements
Rank 1
answered on 06 Jan 2011, 06:58 AM
I worked it out

There is an InlineEditTemplate.

He did not mention that in the video, not up to that point anyway.

Brad
Tags
General Discussions
Asked by
Brad
Top achievements
Rank 1
Answers by
Brad
Top achievements
Rank 1
Share this question
or