In true, i need to pass a placeholder by param

N

nail

Hi again.
I'm wrong in my first message.
What I need to do is, render my control in a placeholder passed by param.
I try somethings here, by I get this error:

A value of type 'System.Web.UI.WebControls.PlaceHolder' cannot be
serialized.

Someone know any way to do that? Render a custom conrol in a specifi
placeholder?

Thanks
 
N

nail

Thanks. I resolve the problem.
I can't do a property type PlaceHolder like

public PlaceHolder InitialPlaceholder
{
get{}
set{}
}

I change it to String and works.
 

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,054
Latest member
TrimKetoBoost

Latest Threads

Top