Click here to Skip to main content
11,490,566 members (37,749 online)
   

ASP.NET

 
GeneralRe: state management Pin
Member 80319153-Dec-12 0:26
memberMember 80319153-Dec-12 0:26 
GeneralRe: state management Pin
ThetaClear3-Dec-12 0:37
memberThetaClear3-Dec-12 0:37 
GeneralRe: state management Pin
Member 80319153-Dec-12 0:48
memberMember 80319153-Dec-12 0:48 
GeneralRe: state management Pin
ThetaClear3-Dec-12 1:02
memberThetaClear3-Dec-12 1:02 
AnswerRe: state management Pin
@AmitGajjar3-Dec-12 19:15
member@AmitGajjar3-Dec-12 19:15 
QuestionGeneral understanding how facebook knows who is the user who is making a request for the 'code' parameter Pin
ThetaClear2-Dec-12 23:03
memberThetaClear2-Dec-12 23:03 
Question3 tier applications in ASP.NET Pin
DeepanjanNag2-Dec-12 11:54
memberDeepanjanNag2-Dec-12 11:54 
AnswerRe: 3 tier applications in ASP.NET Pin
deflinek3-Dec-12 3:26
memberdeflinek3-Dec-12 3:26 
AnswerRe: 3 tier applications in ASP.NET Pin
@AmitGajjar3-Dec-12 19:16
member@AmitGajjar3-Dec-12 19:16 
Questionselect an item in gridview Pin
ptvce2-Dec-12 2:56
memberptvce2-Dec-12 2:56 
AnswerRe: select an item in gridview Pin
CommDev3-Dec-12 5:41
memberCommDev3-Dec-12 5:41 
Questionpage life cycle in asp.net Pin
MD SAJID sajid2-Dec-12 2:42
memberMD SAJID sajid2-Dec-12 2:42 
AnswerRe: page life cycle in asp.net Pin
ThetaClear3-Dec-12 2:47
memberThetaClear3-Dec-12 2:47 
Questiondynamic MAsterType virtualPath Pin
jojoba20111-Dec-12 19:17
memberjojoba20111-Dec-12 19:17 
I am wondering if you can set the MasterType VirtualPath dynamically in the codebehind? I have other code that dynamically changes the MasterPageFile using OnPreInit(), but it seems that the MasterType VirtualPath value has to be hard-coded into the .aspx.

What I would like to do is call a function from the master page, but since the master page is set dynamically, I can't hard-code the VirtualPath into the aspx because I'd be calling the function from the wrong master page if I do.

Anyone know if I can set the MasterType VirtualPath value dynamically in the OnPreInit()? Or can I dynamically cast "this.Master" before calling the function?

Thanks. Any help is appreciated.
AnswerRe: dynamic MAsterType virtualPath Pin
deflinek3-Dec-12 3:40
memberdeflinek3-Dec-12 3:40 
QuestionRetrieving the COM class factory for component ... Access is denied Pin
Super_Developer30-Nov-12 21:50
memberSuper_Developer30-Nov-12 21:50 
GeneralRe: Retrieving the COM class factory for component ... Access is denied Pin
jkirkerx1-Dec-12 18:47
memberjkirkerx1-Dec-12 18:47 
GeneralRe: Retrieving the COM class factory for component ... Access is denied Pin
Super_Developer1-Dec-12 20:08
memberSuper_Developer1-Dec-12 20:08 
QuestionViews and Entity Framework 1.0 Pin
indian14330-Nov-12 16:45
memberindian14330-Nov-12 16:45 
QuestionNHibernate maping Pin
Manikandhar V30-Nov-12 3:58
memberManikandhar V30-Nov-12 3:58 
QuestionTry Catch Pin
Mickt198530-Nov-12 2:12
memberMickt198530-Nov-12 2:12 
AnswerRe: Try Catch Pin
Richard MacCutchan30-Nov-12 2:45
mvpRichard MacCutchan30-Nov-12 2:45 
GeneralRe: Try Catch Pin
Mickt198530-Nov-12 10:22
memberMickt198530-Nov-12 10:22 
GeneralRe: Try Catch Pin
Richard MacCutchan1-Dec-12 0:49
mvpRichard MacCutchan1-Dec-12 0:49 
AnswerRe: Try Catch Pin
@AmitGajjar1-Dec-12 3:34
member@AmitGajjar1-Dec-12 3:34 
GeneralRe: Try Catch Pin
Robert Bettinelli3-Dec-12 16:20
memberRobert Bettinelli3-Dec-12 16:20 
GeneralRe: Try Catch Pin
Mickt19855-Dec-12 9:42
memberMickt19855-Dec-12 9:42 
AnswerRe: Try Catch [modified] Pin
CommDev8-Dec-12 23:28
memberCommDev8-Dec-12 23:28 
Questionbest way to send bulk SMS Pin
Jassim Rahma30-Nov-12 2:01
memberJassim Rahma30-Nov-12 2:01 
Questionhow to preview a word file before you download it? Pin
yanocean29-Nov-12 23:59
memberyanocean29-Nov-12 23:59 
QuestionCreating WCF client proxy using svcutil.exe [modified] Pin
indian14329-Nov-12 10:14
memberindian14329-Nov-12 10:14 
AnswerRe: Creating WCF client proxy using svcutil.exe Pin
@AmitGajjar3-Dec-12 19:22
member@AmitGajjar3-Dec-12 19:22 
QuestionCredit Card Processing using Paypal Pin
Rameez Raja28-Nov-12 22:15
memberRameez Raja28-Nov-12 22:15 
AnswerRe: Credit Card Processing using Paypal Pin
Richard MacCutchan29-Nov-12 0:37
mvpRichard MacCutchan29-Nov-12 0:37 
QuestionWeb Application Pin
jojoba201128-Nov-12 21:39
memberjojoba201128-Nov-12 21:39 
Questioniss problem in windoms xp Pin
ramukdin28-Nov-12 21:11
memberramukdin28-Nov-12 21:11 
SuggestionRe: iss problem in windoms xp Pin
Richard MacCutchan29-Nov-12 0:36
mvpRichard MacCutchan29-Nov-12 0:36 
Questioncontrols in ASP.Net Pin
vani1028-Nov-12 9:28
membervani1028-Nov-12 9:28 
AnswerRe: controls in ASP.Net Pin
jkirkerx28-Nov-12 13:11
memberjkirkerx28-Nov-12 13:11 
AnswerRe: controls in ASP.Net Pin
mark merrens28-Nov-12 13:21
membermark merrens28-Nov-12 13:21 
AnswerRe: controls in ASP.Net [modified] Pin
CommDev8-Dec-12 23:32
memberCommDev8-Dec-12 23:32 
QuestionMicrosoft Office Excel cannot access the file Pin
umamahesh202028-Nov-12 0:52
memberumamahesh202028-Nov-12 0:52 
QuestionhttpModule Type Language Module will not load in Visual Studio debugger Pin
Raimundo2a27-Nov-12 23:50
memberRaimundo2a27-Nov-12 23:50 
AnswerRe: httpModule Type Language Module will not load in Visual Studio debugger Pin
Richard MacCutchan28-Nov-12 1:10
mvpRichard MacCutchan28-Nov-12 1:10 
GeneralRe: httpModule Type Language Module will not load in Visual Studio debugger Pin
Raimundo2a28-Nov-12 5:16
memberRaimundo2a28-Nov-12 5:16 
QuestionException: System.ServiceModel.ProtocolException: The content type text/html of the response message does not match the content type of the binding (text/xml; charset=utf-8) Pin
indian14327-Nov-12 14:35
memberindian14327-Nov-12 14:35 
AnswerRe: Exception: System.ServiceModel.ProtocolException: The content type text/html of the response message does not match the content type of the binding (text/xml; charset=utf-8) Pin
jkirkerx28-Nov-12 17:55
memberjkirkerx28-Nov-12 17:55 
GeneralRe: Exception: System.ServiceModel.ProtocolException: The content type text/html of the response message does not match the content type of the binding (text/xml; charset=utf-8) Pin
indian14329-Nov-12 8:46
memberindian14329-Nov-12 8:46 
GeneralRe: Exception: System.ServiceModel.ProtocolException: The content type text/html of the response message does not match the content type of the binding (text/xml; charset=utf-8) Pin
jkirkerx29-Nov-12 11:02
memberjkirkerx29-Nov-12 11:02 
Questionduplicate insert for no reason! Pin
Jassim Rahma27-Nov-12 11:29
memberJassim Rahma27-Nov-12 11:29 

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.150520.1 | Last Updated 27 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid