Multipage control
-
Can somebody give me an idea of how to build multipage dynamically without having it created at design time at all??
rmr
-
Can somebody give me an idea of how to build multipage dynamically without having it created at design time at all??
rmr
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 typemymultipage.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 -
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 typemymultipage.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, mikThanks. 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