Movable AdvancedForm

4 posts, 0 answers
  1. ne2000
    ne2000 avatar
    13 posts
    Member since:
    Apr 2011

    Posted 07 Sep 2011 Link to this post

    Hi everybody,
    I use a rad scheduler. I use a advanced form in this component. it opens but when I drag the form but is just moving to the right and left. How do i make the form is movable. javascript or property etc. ?? Thank you for your help...
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 07 Sep 2011 Link to this post

    Hello Ne2000,

    If you set <AdvancedForm Modal="true" /> the advanced form will be movable in all directions. You can test the behavior in this demo.  

    All the best, Peter
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. ne2000
    ne2000 avatar
    13 posts
    Member since:
    Apr 2011

    Posted 08 Sep 2011 Link to this post

    Thank you for your reply, i tried this example before, but my code is some different. the code is below. 

    <div class="rsAdvancedEdit"> 
        <div class="rsAdvTitle">
            <h1 class="rsAdvInnerTitle" style="font-family: Trebuchet MS; font-size: 9pt; font-weight: bold;"
                runat="server" id="hProcTitle">
                XXX
            </h1>
            <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
                CommandName="Cancel" CausesValidation="false" ToolTip='Kapat'>
    Close
            </asp:LinkButton>
        </div>
        <div class="rsAdvContentWrapper">
            <div class="rsAdvOptionsScroll" style="overflow: visible;">
    .......
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 13 Sep 2011 Link to this post

    Hi Ne2000,

    Please, refer to this help topic -
    http://www.telerik.com/help/aspnet-ajax/scheduler-custom-modal-advanced-template.html

    The formatting of the code is not quite need, so here is a better version of the code sample:
    <AdvancedInsertTemplate>
                <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative">
                    <div class="rsModalBgTopLeft">
                    </div>
                    <div class="rsModalBgTopRight">
                    </div>
                    <div class="rsModalBgBottomLeft">
                    </div>
                    <div class="rsModalBgBottomRight">
                    </div>
                    <div class="rsAdvTitle">
                        <h1 class="rsAdvInnerTitle">
                            <%# Container.Appointment.Owner.Localization.AdvancedNewAppointment %></h1>
                        <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose"
                            CommandName="Cancel" CausesValidation="false" ToolTip='<%# Container.Appointment.Owner.Localization.AdvancedClose %>'>
    <%# Container.Appointment.Owner.Localization.AdvancedClose%>
                        </asp:LinkButton>
                    </div>
                    <div class="rsAdvContentWrapper">
                        <telerik:RadTextBox ID="SubjectTextBox" runat="server" Text='<%# Bind("Subject") %>'
                            Label='<%# Container.Appointment.Owner.Localization.AdvancedSubject%>'>
                        </telerik:RadTextBox>
                        <p>
                            Custom content here...
                        </p>
                        <asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">
                            <div class="rsAdvButtonWrapper">
                                <asp:LinkButton CommandName="Update" runat="server" ID="UpdateButton" CssClass="rsAdvEditSave">
    <span><%# Container.Appointment.Owner.Localization.Save%></span>
                                </asp:LinkButton>
                                <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel"
                                    CausesValidation="false">
    <span><%# Container.Appointment.Owner.Localization.Cancel%></span>
                                </asp:LinkButton>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </AdvancedInsertTemplate>


    Greetings,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top