November Happy Hour will be moved to Thursday December 5th.

CurrentPage method in Master Page working only in IE not in Mozilla

Vote:
 

Hi,

When i tried to use the CurrentPage method in Mater Page it is working fine in IE but not working in Mozilla.....

my code goes like below:

string imagesource = ((PageBase)Page).CurrentPage["SubBanner"] as string ?? string.Empty;

 

Can any one pls figure it out.....

#54419
Oct 13, 2011 13:47
Vote:
 

Hi,

Can't reproduce the error, which version of firefox are you using and which error are you getting?

#54422
Oct 13, 2011 14:49
Vote:
 

This code is executed on the web server so I don't see how different browsers can affect it

#54434
Oct 14, 2011 15:17
Vote:
 

Is there a PageAdaptor in play?

#54439
Oct 14, 2011 15:43
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.