Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there possible I can have a standard maintenance screen, so if any new maintenance screen, I can inherit from my standard screen?

 

basic layout and simple validation are in this standard screen... can it be done?

  • *Gurus*
Posted

Yes, it can. Create your code-behind in such a fashion that it can easily be customized by any page that derives from it. Then, use the Page directive's Inherits attribute to obtain the code-behind's functionability on each page in question.

 

<%@ Page Inherits="MyNamespace.MyClass" %>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...