hi,
i have seen some article described the method how to create the drag and drop window,but all are static.such as:
<control id="content1">
<behaviors>
<draggableListItem handle="content1Title" dataType="HTML" />
</behaviors>
</control>
i has checked that Sys.UI.DraggableListItem is a class in the AtalasUIDragDrop.js,but why i can not use in this way:
var obj=new Sys.UI.DraggableListItem();
the browser alert that it is an error!!!
but why i can use this:
var obj=new Sys.Timer();?
if i can use Sys.UI.DraggableListItem,i think i will implement the dynamic crreating drag and drop function.
who can help me?
Hi,please verify that
1) you added a reference to the AtlasUIDragDrop.js file.
2) you put the dynamic code after the framework (i.e. the Sys.Application object) has raised the load event.
No comments:
Post a Comment