|
Home > Archive > Microsoft Content Management Server > April 2005 > How to put UserControl in a template?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to put UserControl in a template?
|
|
|
| Hi,
Can I put user controls (.ascx) in a template?
This question has been asked before on this forum and I’ve
seen a couple of post where people (Jim Reynolds ) have said that they have
placed user controls in templates. I’ve searched the CMS as well as the
ASP.NET forums but did not find anything on how to do it.
Does any body know how to place a usercontrol in a template? Or if anyone
has a link which explains how to do it would be great.
Thanks in advance
Joshi
| |
| Frank Joppe 2005-04-26, 2:48 am |
| You can put an ascx on your template. An MCMS template is almost the same as
a normal .NET aspx page.
What you do is, you create and develop your user control. Then from the
solution explorer, you can drag an drop your user control onto your
template.
Frank
"MJ" <MJ@discussions.microsoft.com> wrote in message
news:B6CACD4D-8AA4-4B7D-B81E-1D2304B717EC@microsoft.com...
> Hi,
> Can I put user controls (.ascx) in a template?
>
> This question has been asked before on this forum and I've
> seen a couple of post where people (Jim Reynolds ) have said that they
> have
> placed user controls in templates. I've searched the CMS as well as the
> ASP.NET forums but did not find anything on how to do it.
> Does any body know how to place a usercontrol in a template? Or if anyone
> has a link which explains how to do it would be great.
>
> Thanks in advance
> Joshi
>
| |
| Stefan [MSFT] 2005-04-26, 2:48 am |
| Correct.
:-)
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Frank Joppe" <frankj@delta-n.nl> wrote in message
news:OBBn77iSFHA.3788@tk2msftngp13.phx.gbl...
> You can put an ascx on your template. An MCMS template is almost the same
as
> a normal .NET aspx page.
>
> What you do is, you create and develop your user control. Then from the
> solution explorer, you can drag an drop your user control onto your
> template.
>
> Frank
>
>
> "MJ" <MJ@discussions.microsoft.com> wrote in message
> news:B6CACD4D-8AA4-4B7D-B81E-1D2304B717EC@microsoft.com...
anyone[vbcol=seagreen]
>
>
| |
| Stefan [MSFT] 2005-04-26, 7:47 am |
| Hi MJ,
on the how can I do this: identical with any other web form: using
drag&drop.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"MJ" <MJ@discussions.microsoft.com> wrote in message
news:B6CACD4D-8AA4-4B7D-B81E-1D2304B717EC@microsoft.com...
> Hi,
> Can I put user controls (.ascx) in a template?
>
> This question has been asked before on this forum and I've
> seen a couple of post where people (Jim Reynolds ) have said that they
have
> placed user controls in templates. I've searched the CMS as well as the
> ASP.NET forums but did not find anything on how to do it.
> Does any body know how to place a usercontrol in a template? Or if anyone
> has a link which explains how to do it would be great.
>
> Thanks in advance
> Joshi
>
| |
|
| Thanks Frank and Stefan, Now the next question is, Is the code for the user
control (which would be a CMS placeholder if I'm not wrong) available
somewhere so that I can get it and use it in my application istead of
rewriting it?
Thanks
Joshi
"Stefan [MSFT]" wrote:
> Hi MJ,
>
> on the how can I do this: identical with any other web form: using
> drag&drop.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "MJ" <MJ@discussions.microsoft.com> wrote in message
> news:B6CACD4D-8AA4-4B7D-B81E-1D2304B717EC@microsoft.com...
> have
>
>
>
| |
| Stefan [MSFT] 2005-04-26, 7:47 am |
| Hi MJ,
a user control is something you have to code.
Nothing that is provided by someone else.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"MJ" <MJ@discussions.microsoft.com> wrote in message
news:ABE458DE-7DFF-4DF1-840A-47D434A1B6C6@microsoft.com...
> Thanks Frank and Stefan, Now the next question is, Is the code for the
user[vbcol=seagreen]
> control (which would be a CMS placeholder if I'm not wrong) available
> somewhere so that I can get it and use it in my application istead of
> rewriting it?
>
> Thanks
> Joshi
>
> "Stefan [MSFT]" wrote:
>
rights[vbcol=seagreen]
http://tinyurl.com/6zj44[vbcol=seagreen]
I've[vbcol=seagreen]
the[vbcol=seagreen]
anyone[vbcol=seagreen]
|
|
|
|
|