Team, when i upgrade dnn from 9.13.3 to 10.2.1 I am facing null below is my code which is giving exception
protected override void OnInit(EventArgs e) { base.OnInit(e);
var crl = new ClientResourceLoader(); Page.Form.Controls.Add(crl); Page.Form.Controls.Add(_phDependencies); _ltMiniProfiler = new LiteralControl(); Page.Form.Controls.Add(_ltMiniProfiler); var cds = ClientDependencySettings.Instance; if (cds != null) { HccPageHeaderProvider.Register(cds); HccBodyProvider.Register(cds); } }
HccPageHeaderProvider.Register(cds); is throwing exception. if help me for this.
refrence exception as shown in attached screenshot.
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.