Control InlineInsertTemplate etc...

2 posts, 0 answers
  1. Darren
    Darren avatar
    72 posts
    Member since:
    Oct 2006

    Posted 11 Jul 2012 Link to this post

    Is there a way to control the height and width of the InLineInsertTemplate and InLineEditTemplate, regardless of the view it is on (weekly, daily etc...)?

    No matter what I try it doesn't appear nicely. It seems like the background is shaded to the size of the time span, but the contents are spilling out past this shaded part.

    Thanks.
  2. Plamen
    Admin
    Plamen avatar
    2958 posts

    Posted 16 Jul 2012 Link to this post

    Hello Darren,

    As an inline template it is designed to have a height and width that are defined by the Time Slot it is situated in and accordingly from its height and width. 
     As for the second issue here is the code that I used for testing:
     

    <InlineInsertTemplate>
                <div id="InlineInsertTemplate" class="rsCustomAppointmentContainer technical">
                    <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%"
                        TextMode="MultiLine" Height="20px"></asp:TextBox>
                    <asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="Save" />
                    <asp:Button ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                        Text="Cancel" />
                </div>
            </InlineInsertTemplate>
            <InlineEditTemplate>
                <div id="InlineInsertTemplate" class="rsCustomAppointmentContainer technical">
                    <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%"
                        TextMode="MultiLine" Height="20px"></asp:TextBox>
                    <asp:Button ID="InsertButton" runat="server" CommandName="Update" Text="Save" />
                    <asp:Button ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                        Text="Cancel" />
                </div>
            </InlineEditTemplate>

    Would you please review it and let us know what is not looking properly so we can inspect it locally as well?  Sending an image attached an clarifying the exact browser version you are using when observing the unusual appearance may be useful as well.

    All the best,
    Plamen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top