Microsoft Content Management Server - Page Revert From Book

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2006 > Page Revert From Book





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 Page Revert From Book
Tom

2006-05-29, 5:22 pm

Stefan:

I purchased your 'Advanced MCMS' book and I am in the process of creating
the code for the new PageRevert. BTW... I really like the way the code and
comeents are laid out. Very education and powerful.

But on page 425 where I am instrcurted to create a PageRevertButton.cs file,
I am gettting an error when I try to compile.

Here is my class and here is the error.
using System;
using Microsoft.ContentManagement.Publishing;
using Microsoft.ContentManagement.WebControls.ConsoleControls;


namespace FHLB.Console
{
/// <summary>
/// Summary description for PageRevertButton.
/// </summary>
public class PageRevertButton : BaseNewWindowAction
{
public PageRevertButton()
{
//
// TODO: Add constructor logic here
this.Text = "Revert Posting";
//
}
}
}
c:\Inetpub\wwwroot\fhlb\Console\PageReve
rtButton.cs(11):
'FHLB.Console.PageRevertButton' does not implement inherited abstract member
'Microsoft.ContentManagement.WebControls.ConsoleControls.BaseAction.ActionJavascript.get'


Can you advise on why this is happening?

What can I do?

Thanks

Tom

Stefan [MSFT]

2006-05-29, 5:22 pm

Hi Tom,

you need to read a little bit further.
You have to implement all steps on 425 and 426 in order to be able to
compile this.
As you can see in the middle of page 426:

"The code is complete. Save and compile the solution."

There is no guarantee that compile will work before this step.

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
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Tom" <Tom@discussions.microsoft.com> wrote in message
news:CEFCCC9A-2BA2-409D-AD38-AB6D379004F9@microsoft.com...
> Stefan:
>
> I purchased your 'Advanced MCMS' book and I am in the process of creating
> the code for the new PageRevert. BTW... I really like the way the code
> and
> comeents are laid out. Very education and powerful.
>
> But on page 425 where I am instrcurted to create a PageRevertButton.cs
> file,
> I am gettting an error when I try to compile.
>
> Here is my class and here is the error.
> using System;
> using Microsoft.ContentManagement.Publishing;
> using Microsoft.ContentManagement.WebControls.ConsoleControls;
>
>
> namespace FHLB.Console
> {
> /// <summary>
> /// Summary description for PageRevertButton.
> /// </summary>
> public class PageRevertButton : BaseNewWindowAction
> {
> public PageRevertButton()
> {
> //
> // TODO: Add constructor logic here
> this.Text = "Revert Posting";
> //
> }
> }
> }
> c:\Inetpub\wwwroot\fhlb\Console\PageReve
rtButton.cs(11):
> 'FHLB.Console.PageRevertButton' does not implement inherited abstract
> member
> 'Microsoft.ContentManagement.WebControls.ConsoleControls.BaseAction.ActionJavascript.get'
>
>
> Can you advise on why this is happening?
>
> What can I do?
>
> Thanks
>
> Tom
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com