Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   'System.Web.UI.WebControls.Panel' does not contain a definition for 'Location' (http://www.velocityreviews.com/forums/t772949-system-web-ui-webcontrols-panel-does-not-contain-a-definition-for-location.html)

Ray 04-07-2004 08:16 AM

'System.Web.UI.WebControls.Panel' does not contain a definition for 'Location'
 
Hi, I got a problem with panel.Location. I got the error as shown in the subject lin
It seems that I need to import the proper namespace for it
The rest of the code works fin

Please hel

Panel pR = new Panel();
pR.HorizontalAlign = HorizontalAlign.Right
pR.Wrap = true

pR.Height = 100
pR.Width = 75
pR.BackColor = System.Drawing.Color.Gainsboro
pR.BackImageUrl = "/theslides/images1/" + filename

pR.Location = new System.Drawing.Point(150, 200);


All times are GMT. The time now is 07:56 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.