1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I can't see my webpart for some reason ?

Discussion in 'C#' started by JohnMally, Oct 29, 2006.

  1. #1
    Hi Everyone,

    For some reason I can't view my webpart2 when I publish my page ? I've written this code. Does anyone know what I'm talking about ? Thanks for your help.
    SEMrush
    Select Case DropDownList1.SelectedValue

    Case "Browse"


    WebPartManager1.DisplayMode = WebPartManager.BrowseDisplayMode

    Case "Design"

    WebPartManager1.DisplayMode = WebPartManager.DesignDisplayMode

    Case Else
     
    JohnMally, Oct 29, 2006 IP
    SEMrush
  2. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #2
    what i webpart?
     
    ludwig, Oct 29, 2006 IP
  3. SEO Jeff

    SEO Jeff Active Member

    Messages:
    534
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    90
    #3
    WebParts are new to ASP.NET 2.0 ludwig. Kinda like SharePoint parts.

    Do you have any parts assigned at designtime or are your permissions set correctly? What kind of web part are you using? User Control or a custom web part that inherits the webpart class?
     
    SEO Jeff, Nov 7, 2006 IP