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

Control InlineInsertTemplate etc...

1 Answer 39 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 11 Jul 2012, 05:37 PM
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.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 16 Jul 2012, 09:12 AM
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.
Tags
Scheduler
Asked by
Darren
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or