call user controls inside the same Panel

A

Adriano

Hi,
With ASP, I can add user contrlos inside the same Panel and then
programmatically change the view state of each one...but I don't want to have
all the controls allready loaded into the Panel when the page starts, instead
I want to call each control (from outside the page) as needed. I have tried
to declare the control class and then programmatically load and change the
view state but it din't work...

Any suggestion in how to better deal with many constrols to the same
panel/page ?

Thanks,

Adriano
 
B

Bob Barrows [MVP]

Adriano said:
Hi,
With ASP, I can add user contrlos inside the same Panel and then
programmatically change the view state of each one...

No, you can't do this with ASP: you _can_ do it with ASP.Net
but I don't want
to have all the controls allready loaded into the Panel when the page
starts, instead I want to call each control (from outside the page)

I'm not sure I understand what you mean by "outside the page" ... are you
talking about client-side code? if so, then what you want is not possible.
as needed. I have tried to declare the control class and then
programmatically load and change the view state but it din't work...

Any suggestion in how to better deal with many constrols to the same
panel/page ?
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-knowledgeable person here who
can answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-knowledgeable people hang out. I
suggest microsoft.public.dotnet.framework.aspnet.
 
A

Adriano

Thanks!

Bob Barrows said:
No, you can't do this with ASP: you _can_ do it with ASP.Net


I'm not sure I understand what you mean by "outside the page" ... are you
talking about client-side code? if so, then what you want is not possible.

There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-knowledgeable person here who
can answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-knowledgeable people hang out. I
suggest microsoft.public.dotnet.framework.aspnet.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top