Microsoft Content Management Server - simple question - compile C# .cs file

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > July 2005 > simple question - compile C# .cs file





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 simple question - compile C# .cs file
Dariusz Tomon

2005-07-26, 7:56 am

Hi

This is really simple question. How can I import and use .cs file (under
Visual Studio) - it's hiddenplaceholder.cs file.
I'm rather new in VS so please if you could explain me step-by-step how to
implement it into my MCMS project I would appreciate it.
I assume that in this case I could add the hiddenplaceholder control to my
tool toolbox - Am I right?

Best Regards

Darek


Stefan [MSFT]

2005-07-26, 7:56 am

Hi Darek,

that is more an ASP.NET/VS.NET question than a MCMS question.

Anyway:
- create a new C# class library project (can be added to your solution)
- add the cs file
- compile

Btw: are you building a custom placeholder control or a custom placeholder?
I assume a placeholder control.

Then add the created DLL to the VS.NET toolbox to allow drag & drop similar
to the standard MCMS placeholder controls.

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
----------------------


"Dariusz Tomon" <d.tomon@mazars.pl> wrote in message
news:Ok6vglSkFHA.3580@TK2MSFTNGP09.phx.gbl...
> Hi
>
> This is really simple question. How can I import and use .cs file (under
> Visual Studio) - it's hiddenplaceholder.cs file.
> I'm rather new in VS so please if you could explain me step-by-step how to
> implement it into my MCMS project I would appreciate it.
> I assume that in this case I could add the hiddenplaceholder control to my
> tool toolbox - Am I right?
>
> Best Regards
>
> Darek
>



Dariusz Tomon

2005-07-26, 7:56 am

thank you

"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:OjdPtnSkFHA.2852@TK2MSFTNGP14.phx.gbl...
> Hi Darek,
>
> that is more an ASP.NET/VS.NET question than a MCMS question.
>
> Anyway:
> - create a new C# class library project (can be added to your solution)
> - add the cs file
> - compile
>
> Btw: are you building a custom placeholder control or a custom
> placeholder?
> I assume a placeholder control.
>
> Then add the created DLL to the VS.NET toolbox to allow drag & drop
> similar to the standard MCMS placeholder controls.
>
> 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
> ----------------------
>
>
> "Dariusz Tomon" <d.tomon@mazars.pl> wrote in message
> news:Ok6vglSkFHA.3580@TK2MSFTNGP09.phx.gbl...
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com