Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:105425
More Search Options
RSS Available
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
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
mohan_nz
on 5/17/2005
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.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
mohan_nz
on 5/17/2005
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.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
mohan_nz
on 5/17/2005
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
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
mohan_nz
on 5/14/2005
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
Posted to
Visual Web Developer 2005 Express
(Forum)
by
mohan_nz
on 5/13/2005
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
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
mohan_nz
on 5/13/2005
Page 1 of 1 (6 items)
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online