Velocity Reviews

Velocity Reviews (
-   ASP .Net Web Controls (
-   -   'System.Web.UI.WebControls.Panel' does not contain a definition for 'Location' (

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.