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

Difficulty in creating InlineInsertTemplate

16 Answers 232 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 07 Mar 2011, 04:44 PM
Hi,

My objective is to extend the current template and add one more field to the list. I figured out that the default template cannot be modified and it's not available on your website (to copy and modify).

I tried recreating the template and adding the field but the UI representation of what I'm creating is a bit off.

<InlineInsertTemplate>
    <div>
        <div>
            <telerik:RadTextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Description") %>'
                TextMode="MultiLine" Rows="2" EmptyMessage="Description" MaxLength="240"
                Width="100%">
            </telerik:RadTextBox>
            <telerik:RadTextBox ID="DocketNo" runat="server" Width="100%" EmptyMessage="Docket Number" MaxLength="15" Text='<%# Bind("DocketNo") %>'>
            </telerik:RadTextBox>
        </div>
        <div style="padding-top:10px;">
            <asp:Button ID="btnSave"  runat="server" CommandName="Insert"
                Text="Insert" />
            <asp:Button ID="btnCancel" runat="server" CommandName="Cancel"
                Text="Cancel" />
            <asp:Button ID="btnOptions" runat="server" CommandName="More"
                Text="More" />
        </div>
    </div>
</InlineInsertTemplate>


See attached image.

Any ideas?

Thanks
Daryl

16 Answers, 1 is accepted

Sort by
0
Alan
Top achievements
Rank 1
answered on 09 Mar 2011, 09:21 AM
Anyone?

Thanks
0
Nikolay Tsenkov
Telerik team
answered on 10 Mar 2011, 12:39 PM
Hi Daryl,

Please, add the following style to the page:
.rsTemplateWrapper
{
   height: auto !important;
}

The problem has been logged in our system. Thank you for reporting it to our team. As a small act of gratitude we have updated you telerik points.


Regards,
Nikolay Tsenkov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Alan
Top achievements
Rank 1
answered on 10 Mar 2011, 02:07 PM
That did partially fix my problem, thanks!

Current template:
<InlineInsertTemplate>
    <div>
        <div style="height: 50px;">
            <telerik:RadTextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>'
                TextMode="MultiLine" Rows="2" EmptyMessage="Description" MaxLength="240" Width="100%"
                Skin="Windows7">
            </telerik:RadTextBox>
            <br />
            <telerik:RadTextBox ID="DocketNo" runat="server" Width="100%" EmptyMessage="Docket Number"
                MaxLength="15" Text='<%# Bind("DocketNo") %>' Skin="Windows7">
            </telerik:RadTextBox>
        </div>
        <div class="rsEditOptions">
            <asp:LinkButton ID="btnSave" runat="server" CommandName="Insert" Text="Insert" class="rsAptEditConfirm" />
            <asp:LinkButton ID="btnCancel" runat="server" CommandName="Cancel" Text="Cancel"
                class="rsAptEditCancel" />
            <asp:LinkButton ID="btnOptions" runat="server" CommandName="More" Text="More" class="rsAptEditMore" />
        </div>
    </div>
</InlineInsertTemplate>

This is how it looks in chrome: http://dl.dropbox.com/u/1929707/chrome.PNG
This is how it looks on chrome when I try to drag the handle at the edge: http://dl.dropbox.com/u/1929707/chrome%20drag.PNG
This is how it looks on IE: http://dl.dropbox.com/u/1929707/IE.PNG
This is how it looks on IE wen I try to drag the handle: http://dl.dropbox.com/u/1929707/IE-draghandle.PNG

Unfortunately the behavior is not as expected in all cases, bear in mind that I want an exact replica of the default one, but with an added field.

It is probable that I'm doing something wrong, I'd be grateful if you could point it out.

Thanks,
Daryl
0
Alan
Top achievements
Rank 1
answered on 14 Mar 2011, 10:22 AM
bump.
0
Nikolay Tsenkov
Telerik team
answered on 16 Mar 2011, 10:35 AM
Hello Daryl,

We will try fix the problem for the upcoming SP release of Q1 2011.
Please, accept our sincere apologies for any inconvenience caused.


Regards,
Nikolay Tsenkov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Alan
Top achievements
Rank 1
answered on 18 Mar 2011, 10:05 AM
Hi Nikolay,

Does this mean that it's fixed in Q1 2011? Or in the next update?

I'm asking because I noticed that it's better in Q1 2011, but still not 100% there.

Thanks,
Daryl
0
Accepted
Nikolay Tsenkov
Telerik team
answered on 21 Mar 2011, 05:57 PM
Hello Daryl,

We will try to fix this in time for the upcoming Service Pack 1 of Q1 2011 release.


Regards,
Nikolay Tsenkov
the Telerik team
0
Alan
Top achievements
Rank 1
answered on 14 Apr 2011, 02:55 PM
Hi Nikolay,

By any chance, was this fixed in SP1 (released today)?

Thanks,
Daryl
0
Nikolay Tsenkov
Telerik team
answered on 19 Apr 2011, 01:35 PM
Hello Daryl,

This problem is still unresolved. We will try to include a fix for it in time for the SP2 for Q1 2011.
Once we are ready with the fix, I will notify you in this thread and you will be able to get the change even before the release - in the first Latest Internal Build available.


Regards,
Nikolay Tsenkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Ivan Zhekov
Telerik team
answered on 13 May 2011, 12:38 PM
Hi Daryl,

We have found a fix for this issue. Please add the following snippet in your CSS:

.rsTemplateWrapper {
    height: auto !important;
}
.rsTemplateWrapper .RadInput {
    width: 100% !important;
    display: inline-block !important;
}
.rsTemplateWrapper .RadInput .rdfd_ {
    display: none !important;
}

We have tested in FireFox, Chrome and IE9

Kind regards,
Ivan Zhekov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
huy
Top achievements
Rank 1
answered on 04 Aug 2011, 08:41 AM
.rsTemplateWrapper {
height: auto !important;
}
.rsTemplateWrapper .RadInput {
width: 100% !important;
display: inline-block !important;
}
.rsTemplateWrapper .RadInput .rdfd_ {
display: none !important;
}
plz ! Tell me? how do InlineInsertTemplate in middle ???

 

0
Ivan Zhekov
Telerik team
answered on 04 Aug 2011, 03:22 PM
Hi Huy,

I am not sure what the question / problem is. Could you ask it again or formulate it in another way?

Best wishes,
Ivan Zhekov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
huy
Top achievements
Rank 1
answered on 05 Aug 2011, 02:49 AM
hi ! 
I'm sorry, i say english very bad. I don't want picture p1 .I  want picture p2 .
And  I want one hour only one event.
plz!!
0
Peter
Telerik team
answered on 05 Aug 2011, 09:25 AM
Hi Huy,

Thank you for elaborating.

Please, try the following css
.rsAptEditSizingWrapper
        {
            width: 50% !important;   
        }



All the best, Peter
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
huy
Top achievements
Rank 1
answered on 08 Aug 2011, 04:49 AM
Hi ,

thank you,  i want get value Start Time and End TIme when i choose  in  RadScheduler1
,  in event  RadScheduler1_FormCreating .
0
Alan
Top achievements
Rank 1
answered on 08 Aug 2011, 10:06 AM
If I understand your request, you can do this:

protected void radScheduler_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
{
    DateTime start = e.Appointment.Start;
    DateTime end = e.Appointment.End;
}


Having said this - your question is totally unrelated to the original post, and it would be best if you create another thread for other questions (mostly because the admins would know exactly what they're dealing with).

Regards,
Daryl
Tags
Scheduler
Asked by
Alan
Top achievements
Rank 1
Answers by
Alan
Top achievements
Rank 1
Nikolay Tsenkov
Telerik team
Ivan Zhekov
Telerik team
huy
Top achievements
Rank 1
Peter
Telerik team
Share this question
or