Difficulty in creating InlineInsertTemplate

17 posts, 1 answers
  1. Alan
    Alan avatar
    107 posts
    Member since:
    Oct 2010

    Posted 07 Mar 2011 Link to this post

    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
  2. Alan
    Alan avatar
    107 posts
    Member since:
    Oct 2010

    Posted 09 Mar 2011 Link to this post

    Anyone?

    Thanks
  3. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 10 Mar 2011 Link to this post

    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!
  4. Alan
    Alan avatar
    107 posts
    Member since:
    Oct 2010

    Posted 10 Mar 2011 Link to this post

    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
  5. Alan
    Alan avatar
    107 posts
    Member since:
    Oct 2010

    Posted 14 Mar 2011 Link to this post

    bump.
  6. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 16 Mar 2011 Link to this post

    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!
  7. Alan
    Alan avatar
    107 posts
    Member since:
    Oct 2010

    Posted 18 Mar 2011 Link to this post

    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
  8. Answer
    Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 21 Mar 2011 Link to this post

    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
  9. Alan
    Alan avatar
    107 posts
    Member since:
    Oct 2010

    Posted 14 Apr 2011 Link to this post

    Hi Nikolay,

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

    Thanks,
    Daryl
  10. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 19 Apr 2011 Link to this post

    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.

  11. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    654 posts

    Posted 13 May 2011 Link to this post

    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.

  12. huy
    huy avatar
    3 posts
    Member since:
    Jul 2011

    Posted 04 Aug 2011 Link to this post

    .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 ???

     

  13. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    654 posts

    Posted 04 Aug 2011 Link to this post

    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.

  14. huy
    huy avatar
    3 posts
    Member since:
    Jul 2011

    Posted 04 Aug 2011 Link to this post

    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!!
  15. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 05 Aug 2011 Link to this post

    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.

  16. huy
    huy avatar
    3 posts
    Member since:
    Jul 2011

    Posted 07 Aug 2011 Link to this post

    Hi ,

    thank you,  i want get value Start Time and End TIme when i choose  in  RadScheduler1
    ,  in event  RadScheduler1_FormCreating .
  17. Alan
    Alan avatar
    107 posts
    Member since:
    Oct 2010

    Posted 08 Aug 2011 Link to this post

    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
Back to Top