Tuesday 19 June 2012

Ajax-Drag Panel Extender


First  you  need  to  have  installed  Ajax Toolkit .For  details  on  how to install ajax toolkit in 
visual  studio  you  can  refer  the following  link.

http://www.dotnetstadium.com/2012/06/ajax-toolkit-installation.html

Step1


In order to use Ajax Drag Panel Extender you need to include the following javascript
in your Aspx page .




Step2


Also  you  need  to  include  the  script  manager  in the  aspx  page,this is to provide
support  for the ajax toolkit controls.




Step3


Now  you  can  add  the  DragPanelExtender  to  the  aspx page .


It  is  important  that  you  provide  the  TargetControlID , DragHandleID  Properties
for the DragPanelExtender.



Step4


You  need to  create  two  panels  one  inside  the  other.

As  you  can  see  the  TargetControlID  of the DragPanelExtender  is set to Panel1  and the
DragHandleID of it is set to Panel2.


Now  you  can  run  your  aspx  page  and  test  the  DragPanelExtender.


No comments:

Post a Comment