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. General Programming
  3. C#
  4. Multipage control

Multipage control

Scheduled Pinned Locked Moved C#
designtutorialquestion
3 Posts 2 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

    Can somebody give me an idea of how to build multipage dynamically without having it created at design time at all??

    rmr

    M 1 Reply Last reply
    0
    • S shivarishxxxx

      Can somebody give me an idea of how to build multipage dynamically without having it created at design time at all??

      rmr

      M Offline
      M Offline
      mikone
      wrote on last edited by
      #2

      a multipage (though i haven't used one yet :)) is a class as every other designable object in .net. I guess you're talking about creating a multipage in the codeeditor, don't you? If so, you just have to declare a multipage object and assign a new instance of the multipage class to it. that could look like MultiPage mymultipage = new MultiPage(); If you want to add controls (Multipage sounds similar to a form ;)) you will have to use its methods. To access all public multipage members just go on and type mymultipage.MEMBER_OF_MULTIPAGE_CLASS in reality you could do it like this: mymultipage.BackColor = System.Colors.Black; If you don't know much about classes and object oriented programming (oop) you should first read some stuff about it. Since I started writing vb.net and then wrote some php and cpp too, i have inherited some knowledge about c#. thats why i cant recommend you a special tutorial but maybe someone else can ;) good luck, mik

      S 1 Reply Last reply
      0
      • M mikone

        a multipage (though i haven't used one yet :)) is a class as every other designable object in .net. I guess you're talking about creating a multipage in the codeeditor, don't you? If so, you just have to declare a multipage object and assign a new instance of the multipage class to it. that could look like MultiPage mymultipage = new MultiPage(); If you want to add controls (Multipage sounds similar to a form ;)) you will have to use its methods. To access all public multipage members just go on and type mymultipage.MEMBER_OF_MULTIPAGE_CLASS in reality you could do it like this: mymultipage.BackColor = System.Colors.Black; If you don't know much about classes and object oriented programming (oop) you should first read some stuff about it. Since I started writing vb.net and then wrote some php and cpp too, i have inherited some knowledge about c#. thats why i cant recommend you a special tutorial but maybe someone else can ;) good luck, mik

        S Offline
        S Offline
        shivarishxxxx
        wrote on last edited by
        #3

        Thanks. Actually, am trying to use the Tabstrip control with the multipage control. Am able to bind data to a Tabstrip dynamically when tabstrip and multipage are created at design time. But, am not able to create multipage at run time. Microsoft.Web.UI.WebControls.MultiPage multipage1 = new Microsoft.Web.UI.WebControls.MultiPage(); Please help me on this.

        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