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

Discussion in 'ASP .Net Web Controls' started by Ray, Apr 7, 2004.

  1. Ray

    Ray Guest

    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);
     
    Ray, Apr 7, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ashish Kanoongo
    Replies:
    1
    Views:
    780
    Vjekoslav Babic
    Feb 3, 2004
  2. Columbia Pike
    Replies:
    5
    Views:
    30,526
    Columbia Pike
    Aug 9, 2004
  3. Justin Dutoit
    Replies:
    3
    Views:
    3,782
    =?Utf-8?B?dG9tIHdpc25vd3NraQ==?=
    Oct 7, 2004
  4. Luis Esteban Valencia
    Replies:
    1
    Views:
    4,645
    =?Utf-8?B?Vmtv?=
    Jan 6, 2005
  5. mazdotnet
    Replies:
    0
    Views:
    506
    mazdotnet
    Aug 8, 2006
  6. Carlos
    Replies:
    3
    Views:
    805
    rajkushi
    Nov 7, 2006
  7. Anako
    Replies:
    1
    Views:
    2,239
    imransyed63
    Apr 7, 2009
  8. Jason Carlton
    Replies:
    11
    Views:
    482
    Dr J R Stockton
    Dec 8, 2009
Loading...