Change panel Size At Runtime

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: 182
Reputation: Kusno is an unknown quantity at this point 
Solved Threads: 15
Kusno's Avatar
Kusno Kusno is offline Offline
Junior Poster

Re: Change panel Size At Runtime

 
0
  #2
Sep 28th, 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

Message:




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



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

©2003 - 2009 DaniWeb® LLC