dynamically loading usercontrols (vb.net)

D

Darrel

Anyone have a tutorial they'd recommend. I've found a few snippets here and
there, mostly in C#.

I'm specifically looking for the 'gotchas' I should look out for.

I'm building a mini-CMS tool for a web site. The pages all load a 'content'
usercontrol, but a few 'pages' using the template, based on a query string,
I'd like to also add a second, custom control.

Is it a simple matter of 'if querystring=whatever then load control'? Or is
there more to it that I need to be aware of?

-Darrel
 
D

Darrel

Thanks scott, I'll try that. I did notice that those articles speak
specifically of Web Controls...not specifically User Controls. Is the
concept the same?

Answered my own question via trial and error. Wow...dynamic controls are
easier than I thought. Thanks!

-Darrel
 

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
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top