'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. Advertising

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. Luis Esteban Valencia
    Replies:
    1
    Views:
    4,192
    =?Utf-8?B?Vmtv?=
    Jan 6, 2005
  2. mazdotnet
    Replies:
    0
    Views:
    407
    mazdotnet
    Aug 8, 2006
  3. Carlos
    Replies:
    3
    Views:
    625
    rajkushi
    Nov 7, 2006
  4. Anako
    Replies:
    1
    Views:
    1,863
    imransyed63
    Apr 7, 2009
  5. Jason Carlton
    Replies:
    11
    Views:
    232
    Dr J R Stockton
    Dec 8, 2009
Loading...

Share This Page