Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 246305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:09:42+00:00 2026-05-11T21:09:42+00:00

The question was: I’ve got a page in a MOSS 2007 publishing site that

  • 0

The question was:

I’ve got a page in a MOSS 2007
publishing site that uses a layout
(the page inherits from
Microsoft.SharePoint.Publishing.TemplatedRedirectionPage),and
I need to write a codebehind for this
page, but still let the layout
templating mechanism work.

My attempt was to write a class that
inherits from
Microsoft.SharePoint.Publishing.TemplatedRedirectionPage,
and then change the page to inherit
from my class. The page behaves
normally (i.e., it worked as before),
but the methods in my code behind
class don’t get called.

Anyone know what I should be doing?

But at this point, I’m pretty sure it won’t work. My current direction is to try and place a custom server control on the publishing page, but I can’t seem to get that working either. Is it just not possible to customize a publishing page except through its layout (which isn’t an option here)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:09:42+00:00Added an answer on May 11, 2026 at 9:09 pm

    As it turns out, the most straight-forward way to accomplish what I wanted was to drop a Web Part Zone on the page layout, and then use the SharePoint editing controls to add my control (which can be made into a web part trivially).

    All is well, and I didn’t have to do anything freaky.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question Can I build a image database/library that has an e-commerce style checkout system
Question Is there a way to have a method that will always run anytime
Question as stated in the title.
Question is pretty self explanitory. I want to do a simple find and replace,
Question Alright, I'm confused by all the buzzwords and press release bingo going on.
Question in the title. And what happens when all 3 of $_GET[foo] , $_POST[foo]
Question says it all, really. My application is a time tracker. It's currently written
Question Using XSLT 1.0, given a string with arbitrary characters how can I get
Question: ((lambda (x y) (x y)) (lambda (x) (* x x)) (* 3 3))
Question: Should I write my application to directly access a database Image Repository or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.