For some business reason both ASPX & MVC views are co-existing in the MVC DXA application. Is there any way get site confuguration values calling the GetConfigValue function ( Namespace - Sdl.Web.Common.Configuration Class - Localization) from ASPX code behind?


I haven't tried it yet for aspx code behind but you should be able to use WebRequestContext.Localization.GetConfigValue("YourConfig"). Please update here if you face any error in using that?

  • Mukesh, That's not working, error -Request is not available in this context
    – Tapas Pal
    Oct 5 '16 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.