Change panel Size At Runtime

Please support our ASP.NET advertiser: 50% Off 6 Months Web Hosting from 1&1. The World's #1 Host!
Reply

Join Date: Apr 2009
Posts: 33
Reputation: ritu verma is an unknown quantity at this point 
Solved Threads: 1
ritu verma ritu verma is offline Offline
Light Poster

Change panel Size At Runtime

 
0
  #1
Sep 26th, 2009
Is it possible to change the panel height & width at runtime on Button click. In VB.net ,it can be easily done! How to do it ASP.Net?
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 185
Reputation: Kusno is an unknown quantity at this point 
Solved Threads: 16
Kusno's Avatar
Kusno Kusno is offline Offline
Junior Poster

Re: Change panel Size At Runtime

 
0
  #2
Sep 27th, 2009
  1.  
  2. Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
  3. Panel1.Width = 400
  4. Panel1.Height = 400
  5. End Sub
NEVER NEVER NEVER GIVE UP
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 479 | Replies: 1
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC