Rocky Moore
2/22/2004 5:51:00 AM
Quite some time ago, I needed build a simple web site that used a template
and the content would be in web user controls. Being new to web controls, I
thought it was just a simple matter but find myself digging all over the
net. Never found and answer, so I plowed through and built a very simple
control that worked for what I needed.
The control is not perfect as I have not yet managed to get the "style"
setting of the control to be brought out on the generated <div> tag that I
use to wrap the user control. But it functions for what I need to do. I
have used this control and several web sites and it is the primary structure
to www.GotTheAnswerToSpam.com for example. The links on the navigation bar
simple ad a parameter to the URL and the control picks that up and
automatically displays the matching user control. Simple but really handy.
I just drop it on a form, set three properties and it automatically handles
the rest.
Anyway, I was asked email if I knew of a way since they saw one of my
earlier posts where I was begging for information. The is the second time
someone has taken the time to email me about it, so I figure it might be
handy for others.
I have posted it to my web site: www.RJSoft.com/Products/RJContentPanel/
It is free for anyone to use. If you anyone happens to make improvements I
would love to receive them also, but not required.
Enjoy!
--
Rocky Moore
www.RJSoft.com
www.HintsAndTips.com - Share your tips with the world!
~~~~~~~~~ Developer Tips Welcome! ~~~~~~~~~