Hi
I just want to ask how can i use Drag and Drop animation like your sort list on my datalist.
I tried but it gave me javascript debug. How can i fix that problem.
<ul id="MyWishList" >
<asp:DataList ID="DataList1" runat="server">
<ItemTemplate>
<li class="item" index="<%# DataBinder.Eval(Container.DataItem, "DisplayIndex") %>"> <div class="itemContainer"> <img class="itemStar" alt="star" src="images/gray.png"/> <span class="itemIndex" id="color"> <%# DataBinder.Eval(Container.DataItem, "DisplayIndex") %> </span> <img class="itemImg" align="top" alt="item" src="<%# DataBinder.Eval(Container.DataItem, "ImageUrl") %>" /> <div class="itemText"> <asp:Label ID="Label2" runat="server"><%# DataBinder.Eval(Container.DataItem, "Description") %></asp:Label>   |   <asp:Label ID="Label3" runat="server"><%# DataBinder.Eval(Container.DataItem, "Headertext") %></asp:Label> </div> </div> </li> </ItemTemplate></asp:DataList>
</ul>
I'm having the problem getting the sort list sample to work.
i copied the code in front and behind and added two script reference from scriptmanager.
Infragistics.Web.UI.SharedScripts.igDragDrop.js
Infragistics.Web.UI.Scripts.5_igObjects.js
it looks like first having problem in this code.
$IG.SlideItemAnimation.registerClass(
"Infragistics.Web.UI.SlideItemAnimation"
, $IG.AnimationBase);
then it gets error here in dragStart function.
if (listItem == null || _slideAnimation.get_isAnimating()) {
Am I missing more reference?
Please let me know