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

how to disable drag and drop

1 Answer 62 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 08 Nov 2008, 07:10 PM
I've inserted scroll bars in the appointment using the following code:

<AppointmentTemplate> 
                                    <div style="overflow:auto;height:20px;"
                                    <%# Eval("Subject") %> 
                                    <br /> 
                                    <asp:Label id="label1" runat="server" Text="Label"></asp:Label> 
                                    <br /> 
                                    <asp:Label id="label2" runat="server" Text="Label"></asp:Label> 
                                    </div> 
                                     
</AppointmentTemplate> 


The first problem is that whenever I click (and hold) on the scroll bars to move up and down the appointment gets in the "move" (drag and drop) mode and then starts moving with the mouse pointer.How can I disable this feature?...Secondly the upper scroll button appears right under the "delete" image button (it comes on mouseover by default).Is it possible to change the position of delete image button or maybe the vertical scroll bars :-)  (I need only vertical bars)

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 11 Nov 2008, 11:44 AM
Hello John,

The problem about the appiontment moving with the mouse cursor will be fixed for the upcoming service pack.

As for the other issue, you can try setting the width property in percents. For example:

 <AppointmentTemplate>    
          <div style="overflow:auto;height:20px; width:98%">    
          <%# Eval("Subject") %>    
          <br />    
           <asp:Label id="label1" runat="server" Text="Label"></asp:Label>    
          <br />    
          <asp:Label id="label2" runat="server" Text="Label"></asp:Label>    
          </div>   
</AppointmentTemplate>  


Greetings,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
john
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or