hi,

im a MCMS developer, and now we installed sharepoint 2007 to start
testing it.
So far i have managed to change the pages layout and look and feel,
adding my own html code using the sharepoint designer. in sharepoint
designer there is a section on the toolbox that refers to asp.net
controls, like drop down lists and buttons and all that, how can i
write the code behind actions for those controls? i havent found the
way to open the pages in visual studio .net. Is it even possible?

or is it possible to add a custom user control to the templates?

does anybody know where i can find information about it?

thank you very much!!

Eli

Re: sharepoint 2007 and user controls by Madhur

Madhur
Tue Aug 01 20:42:43 CDT 2006

Eli_b wrote:
> hi,
>
> im a MCMS developer, and now we installed sharepoint 2007 to start
> testing it.
> So far i have managed to change the pages layout and look and feel,
> adding my own html code using the sharepoint designer. in sharepoint
> designer there is a section on the toolbox that refers to asp.net
> controls, like drop down lists and buttons and all that, how can i
> write the code behind actions for those controls? i havent found the
> way to open the pages in visual studio .net. Is it even possible?
>
> or is it possible to add a custom user control to the templates?
>
> does anybody know where i can find information about it?
>
> thank you very much!!
>
> Eli

You can open the sharepoint site in Visual Studio .net 2005 as file system.
Just navigate to sharepoint site in InetPub directory and open as file
system.
You can create your own aspx pages from there. However I have not been able
to apply sharepoint master page to those pages.
May be we can create a page from within sharepoint designer and edit that in
Visual Studio .net

Hope that helps

--
Madhur Ahuja

http://madhurahuja.blogspot.com



Re: sharepoint 2007 and user controls by Eli_b

Eli_b
Wed Aug 02 16:33:31 CDT 2006

thank you, ill try it!!

Madhur ha escrito:

> Eli_b wrote:
> > hi,
> >
> > im a MCMS developer, and now we installed sharepoint 2007 to start
> > testing it.
> > So far i have managed to change the pages layout and look and feel,
> > adding my own html code using the sharepoint designer. in sharepoint
> > designer there is a section on the toolbox that refers to asp.net
> > controls, like drop down lists and buttons and all that, how can i
> > write the code behind actions for those controls? i havent found the
> > way to open the pages in visual studio .net. Is it even possible?
> >
> > or is it possible to add a custom user control to the templates?
> >
> > does anybody know where i can find information about it?
> >
> > thank you very much!!
> >
> > Eli
>
> You can open the sharepoint site in Visual Studio .net 2005 as file system.
> Just navigate to sharepoint site in InetPub directory and open as file
> system.
> You can create your own aspx pages from there. However I have not been able
> to apply sharepoint master page to those pages.
> May be we can create a page from within sharepoint designer and edit that in
> Visual Studio .net
>
> Hope that helps
>
> --
> Madhur Ahuja
>
> http://madhurahuja.blogspot.com


Re: sharepoint 2007 and user controls by Eli_b

Eli_b
Wed Aug 02 16:50:04 CDT 2006

hi again, i just tried to open a page in visual studio.net, and i
managed to open the page, but i still cannt get to its code behind page
to write the logic. i only see the design view, and it doesnt let me
add any server control by dragging and dropping it, i can only add it
in the html view.

i guess the answer is very easy, but im not finding the way.

thank you very much

Eli

Eli_b ha escrito:

> thank you, ill try it!!
>
> Madhur ha escrito:
>
> > Eli_b wrote:
> > > hi,
> > >
> > > im a MCMS developer, and now we installed sharepoint 2007 to start
> > > testing it.
> > > So far i have managed to change the pages layout and look and feel,
> > > adding my own html code using the sharepoint designer. in sharepoint
> > > designer there is a section on the toolbox that refers to asp.net
> > > controls, like drop down lists and buttons and all that, how can i
> > > write the code behind actions for those controls? i havent found the
> > > way to open the pages in visual studio .net. Is it even possible?
> > >
> > > or is it possible to add a custom user control to the templates?
> > >
> > > does anybody know where i can find information about it?
> > >
> > > thank you very much!!
> > >
> > > Eli
> >
> > You can open the sharepoint site in Visual Studio .net 2005 as file system.
> > Just navigate to sharepoint site in InetPub directory and open as file
> > system.
> > You can create your own aspx pages from there. However I have not been able
> > to apply sharepoint master page to those pages.
> > May be we can create a page from within sharepoint designer and edit that in
> > Visual Studio .net
> >
> > Hope that helps
> >
> > --
> > Madhur Ahuja
> >
> > http://madhurahuja.blogspot.com


Re: sharepoint 2007 and user controls by Madhur

Madhur
Thu Aug 03 11:56:02 CDT 2006

Eli_b wrote:
> hi again, i just tried to open a page in visual studio.net, and i
> managed to open the page, but i still cannt get to its code behind
> page to write the logic. i only see the design view, and it doesnt
> let me add any server control by dragging and dropping it, i can only
> add it in the html view.
>
> i guess the answer is very easy, but im not finding the way.
>

Hi

I dont think you can add code behind to the already built pages. What
you can do is create your own aspx page and add a code behind to it.

i doubt whether you will be able to apply default master page to that page..

Hope that helps



--
Madhur Ahuja

http://madhurahuja.blogspot.com