MultiPage Control????

J

Jim Beatty

Hello All,

I need to know if anyone has ever come across the need
to generate multiple pages under the multipage control.
Like an array within an array so to speak. I am wondering
if anyone has done something similar or knows of a way to
do it. I'm thinking about just creating a custom control.
Any thoughts on that? Drop a line to the group.

Jim Beatty,
 
P

Praveen Jhurani

Yes I have come across this kind of need and in process.
But yes you can do this. Here is some sample code which works.

Assuming you would add Multipage control during design time.
So now in your code behind file either in Page_Load or any appropriate
funtion you can do

PageView pv = new PageView();
pv.ID="p1";
MultiPage.Controls.Add(pv);

So this would in runtime add a pageview to a multipage control.

Hope this helps

Praveen Jhurani
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top