Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Custom Code And Sharepoint...

  Asked By: Brendan    Date: Feb 08    Category: Sharepoint    Views: 846

I tried to place some custom server-side code (<script
runat="server"></script>) in a master page. When I tried to view a
page based on this master page, I received an error along the lines
that code was not supported. I stumbled across a blog entry yesterday
afternoon that stated codebehind was not supported in Sharepoint. Is
this true? If so, what are my options as far as custom code is

This question stems from a set of other posts I have created
(concerning how to remove the Welcome.ascx user control). Rather than
remove this control, I would like to conditionally hide it from the
external site. There will be a time when I want this control visible
on the external site so I don't want to completely remove it. I would
like to do something like if (x == true) {show welcome.ascx} else {hide
welcome.ascx}. What is the best way to accomplish this?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Custom Code And Sharepoint... Or get search suggestion and latest updates.