Search

You searched for the word(s): userid:105425

Matching Posts

  • Re: Master Pages

    Base Class which will have the common Functions, I have jst defined only a click event and a GetStr Method. public class ProductBase : System.Web.UI. MasterPage { public string GetStr() { return "hello" ; } protected virtual void Button1_Click( object sender, EventArgs e) { Response.Write( "<BR>Master Btn Clicked<BR>" ); } } The Master Page in the root will have a Button and i have the Click event for it define in the ProductBase. public partial class MasterPage : ProductBase { protected
  • Re: Master Pages

    Kashif, As i said, i did try that, but the Content Page cannot see the Extended Methods in Sub or Root Master Page. I jst tried it again and the result was same.
  • Re: Master Pages

    I assume that i had tried this, but had some problem, I am not sure what it was, Let me try again and let update you.
  • Re: Master Pages

    I understood of what your were trying to say, but the problem is i have to repeat the Methods in each and every page and i have some were around 600+ pages. In Frmwrk 1.1 i used a Base Abstract class with has these and some more methods and the class extends from System.Web.Ui. The webfarm will inherit from this base and it was easy to work with. I am trying to achive the same with Master page, if this works it will reduce lots of development and Maintance issues. The only issue with the previous
  • Experts Advice Needed

    I have a MasterPage which has couple of buttons and some Security Methods which is common on all pages, Say on Page load u check for it, Lets call it ValidateUser(). Since its used in all pages i create it in Master Page. Now I have another Master Page, Lets say we Have Authentication Folder and we have a master Page which has headers related to Authentication, and this one has a Method CreateHeader() and this AuthmasterPage derives from Root Master Page. I create a Content Page inside Authentication
  • Master Pages

    I have a MasterPage which has couple of buttons and some Security Methods which is common on all pages, Say on Page load u check for it, Lets call it ValidateUser(). Since its used in all pages i create it in Master Page. Now I have another Master Page, Lets say we Have Authentication Folder and we have a master Page which has headers related to Authentication, and this one has a Method CreateHeader() and this AuthmasterPage derives from Root Master Page. I create a Content Page inside Authentication
Page 1 of 1 (6 items)