Page Revert From Book
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Page Revert From Book




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Page Revert From Book  
Tom


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10: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.ActionJa
vascript.get'


Can you advise on why this is happening?

What can I do?

Thanks

Tom






[ Post a follow-up to this message ]



    Re: Page Revert From Book  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10: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.Action
Javascript.get'
>
>
> Can you advise on why this is happening?
>
> What can I do?
>
> Thanks
>
> Tom
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:30 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register