Friday 15 June 2012

Ajax-Resizable Control Extender


First  u  need  to have  installed  Ajax toolkit  . If  u  have  not  installed  Ajax  toolkit  you  can  download it  from  the  following  link

http://www.asp.net/ajaxlibrary/download.ashx

you  can  check  out  the  following  post  on  how  to  install and  configure  ajax  tollkit


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


First  you  need  to  create  the  following  style  in  your  aspx  page , the  .handleimage  class
will  be later  applied  to  the  ResizableControlExtender .





you  need  to put  a  script  manager on  the  aspx page ,this  is  to  support   the  ResizableControlExtender




The  script  tag   will  look  like  below
 



Now  create  a  panel  and  name  it as  panel1.

ok  now  let  us  add  the  ResizableControlExtender  You  can  find  it  under  the  tab in  which  u  configured  Ajax  toolkit









As  you  can  see  the  ResizableControlExtender 's  TargetControlID  is pointed  towards
panel1

we also  need to link the  HandleCssClass  to point  to  handleimage



The  Entire Asp will  look  like  below
















No comments:

Post a Comment