Click here to Skip to main content
15,883,887 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi,

I am using the Re-order list ajax control and it is working fine in my laptop, but when I publish it online(godaddy, IIS 7) the item cannot be dragged.

I tried to add handler

<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler,      System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,        PublicKeyToken=31bf3856ad364e35" validate="false" />


But nothing worked here is my code

<div class="reorderListDemo" style="width: 60%;">
                <cc1:ReorderList ID="ReorderList1"  runat="server" AllowReorder="true" DataSourceID="DSOrderAdvice" PostBackOnReorder="true"
                    SortOrderField="AdviceOrder" DragHandleAlignment="Left" CallbackCssStyle="callbackStyle">
                    <itemtemplate>
                        <div class="itemArea">
                            <asp:Label ID="Label2" runat="server" Text='<%# Container.DataItemIndex + 1 %>'>
                            <span>  -   </span>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("AdviceDescription") %>'>
                        </div>
                    </itemtemplate>
                    <reordertemplate>
                        <div class="dragHandle">
                        </div>
                    </reordertemplate>
                
            </div>


Can anyone help?
Posted
Updated 28-Feb-11 14:16pm
v2
Comments
HimanshuJoshi 28-Feb-11 20:16pm    
Added pre blocks
Mohammad Al Hoss 1-Mar-11 3:55am    
Explain more please
HimanshuJoshi 1-Mar-11 11:04am    
I edited your post to put your code inside <pre> blocks.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900