Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Adding pageview dynamically to multipage

Adding pageview dynamically to multipage

Scheduled Pinned Locked Moved ASP.NET
helpdesignquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shivarishxxxx
    wrote on last edited by
    #1

    Am trying to dynamically build a tab, multipage and pageview protected Microsoft.Web.UI.WebControls.TabStrip tc; protected Microsoft.Web.UI.WebControls.MultiPage mp; protected System.Web.UI.WebControls.Label txt; Microsoft.Web.UI.WebControls.Tab tab=new Microsoft.Web.UI.WebControls.Tab(); Microsoft.Web.UI.WebControls.PageView pv= new Microsoft.Web.UI.WebControls.PageView(); //Am building a control here and adding it to pv System.Web.UI.WebControls.TextBox txt= new TextBox(); txt.Text = "Microsoft"; pv.Controls.Add(txt); pv.ID = id.ToString(); tab.TargetID = pv.ID; Error: TargetID does not point to a valid PageView the tab.TargetID has to be set to pv.(something). can somebody help me on this? rmr

    rmr

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups