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

Movable AdvancedForm

3 Answers 76 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ne2000
Top achievements
Rank 1
ne2000 asked on 07 Sep 2011, 04:02 PM
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...

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Sep 2011, 04:23 PM
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 >>

0
ne2000
Top achievements
Rank 1
answered on 08 Sep 2011, 12:33 PM
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;">
.......
0
Peter
Telerik team
answered on 13 Sep 2011, 03:53 PM
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.
Tags
Scheduler
Asked by
ne2000
Top achievements
Rank 1
Answers by
Peter
Telerik team
ne2000
Top achievements
Rank 1
Share this question
or