How to resize Webpart?

Last post 06-26-2009 6:34 AM by vinz. 2 replies.

Sort Posts:

  • How to resize Webpart?

    06-26-2009, 5:22 AM
    • Member
      8 point Member
    • sunju16
    • Member since 06-17-2009, 7:11 AM
    • Posts 15

     Hi,

    I have webparts in my page with close and minimise buttons. How to make the webpart resizable?????

    Actually we are uisng a user control and deriving it from WebPartBase . Will Ajax toolkit resizable Control be helpful to resize the webpart?

    please guide me..

    Thanks

     

  • Re: How to resize Webpart?

    06-26-2009, 5:53 AM
    • Contributor
      3,121 point Contributor
    • sujitm
    • Member since 05-23-2007, 9:01 AM
    • Pune
    • Posts 512

    If you are going to allow the user of your website to resize the web part then it is quite difficult and you shouldn't go down that path. Try to evaluate alternate solutions.

    - Sujit

    Dont forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: How to resize Webpart?

    06-26-2009, 6:34 AM
    Answer
    • All-Star
      89,375 point All-Star
    • vinz
    • Member since 10-05-2007, 11:47 AM
    • Cebu, Philippines
    • Posts 13,522
    • TrustedFriends-MVPs

    sunju16:

    I have webparts in my page with close and minimise buttons. How to make the webpart resizable?????

    Actually we are uisng a user control and deriving it from WebPartBase . Will Ajax toolkit resizable Control be helpful to resize the webpart?

    You can resize the WebPartZone instead since the WebPartZone size will automatcailly adapt to the size of the WebParts which has a greater width.I used SplitterBar control for resizing the WebZone... SplitterBar is a FREE and stable third party control... see below for demo

    http://www.codeproject.com/KB/webforms/VwdCmsSplitterBar.aspx


    Regards, Vinz
    SDE |Microsoft MVP - ASP/ASP.NET


    ~Currently looking for an overseas job opportunity~
Page 1 of 1 (3 items)