Click here to Skip to main content
   

ASP.NET

 
AnswerRe: 3 tier applications in ASP.NET Pinmemberdeflinek3-Dec-12 3:26 
AnswerRe: 3 tier applications in ASP.NET Pinmember@AmitGajjar3-Dec-12 19:16 
Questionselect an item in gridview Pinmemberptvce2-Dec-12 2:56 
AnswerRe: select an item in gridview PinmemberCommDev3-Dec-12 5:41 
Questionpage life cycle in asp.net PinmemberMD SAJID sajid2-Dec-12 2:42 
AnswerRe: page life cycle in asp.net PinmemberThetaClear3-Dec-12 2:47 
Questiondynamic MAsterType virtualPath Pinmemberjojoba20111-Dec-12 19:17 
AnswerRe: dynamic MAsterType virtualPath Pinmemberdeflinek3-Dec-12 3:40 
If all your master pages are derived from the same base type, then you can set your MasterType to that base type.
 
Anything else wouldn't make much sense because if your code depends on type of master page then it either have to be known at compile time so you can't really set it on the fly, or you can check for it at runtime using
if (this.Master is MyMasterOne)
{
  var masterOne = this.Master as MyMasterOne;
  // do something with masterOne
}
so you don't have to set it anywhere.
--
"My software never has bugs. It just develops random features."

QuestionRetrieving the COM class factory for component ... Access is denied PinmemberSuper_Developer30-Nov-12 21:50 
GeneralRe: Retrieving the COM class factory for component ... Access is denied Pinmemberjkirkerx1-Dec-12 18:47 
GeneralRe: Retrieving the COM class factory for component ... Access is denied PinmemberSuper_Developer1-Dec-12 20:08 
QuestionViews and Entity Framework 1.0 Pinmemberindian14330-Nov-12 16:45 
QuestionNHibernate maping PinmemberManikandhar V30-Nov-12 3:58 
QuestionTry Catch PinmemberMickt198530-Nov-12 2:12 
AnswerRe: Try Catch PinmvpRichard MacCutchan30-Nov-12 2:45 
GeneralRe: Try Catch PinmemberMickt198530-Nov-12 10:22 
GeneralRe: Try Catch PinmvpRichard MacCutchan1-Dec-12 0:49 
AnswerRe: Try Catch Pinmember@AmitGajjar1-Dec-12 3:34 
GeneralRe: Try Catch PinmemberRobert Bettinelli3-Dec-12 16:20 
GeneralRe: Try Catch PinmemberMickt19855-Dec-12 9:42 
AnswerRe: Try Catch [modified] PinmemberCommDev8-Dec-12 23:28 
Questionbest way to send bulk SMS PinmemberJassim Rahma30-Nov-12 2:01 
Questionhow to preview a word file before you download it? Pinmemberyanocean29-Nov-12 23:59 
QuestionCreating WCF client proxy using svcutil.exe [modified] Pinmemberindian14329-Nov-12 10:14 
AnswerRe: Creating WCF client proxy using svcutil.exe Pinmember@AmitGajjar3-Dec-12 19:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150224.1 | Last Updated 28 Feb 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid