Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > 'System.Web.UI.WebControls.Panel' does not contain a definition for 'Location'

Thread Tools

'System.Web.UI.WebControls.Panel' does not contain a definition for 'Location'

Posts: n/a
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);
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does string contain A, and if so, does a section of string contain B Jason Carlton Javascript 11 12-08-2009 06:07 PM
URGENT Error: CS0117: 'System.Data.DataTable' does not contain a definition for 'WriteXml' Luis Esteban Valencia ASP .Net 1 01-06-2005 03:01 PM
Error 'BusinessLayer' does not contain a definition for 'MySoapHeader' Justin Dutoit ASP .Net 3 10-07-2004 10:07 PM
'ASP.login_aspx' does not contain a definition for 'btnSignIn_Click' - I have the function..then why? Columbia Pike ASP .Net 5 08-09-2004 12:28 AM
Compilation Error: dropdownlist does not contain a definition for selected value Ashish Kanoongo ASP .Net 1 02-03-2004 10:41 AM