Skip to main content

Posts

Showing posts from December, 2017

DnnDatePicker Error while adding in to your custom controller in DNN 9 [Solved]

Dear All I tried to add the DNN datepicker by adding following way, I search on google but did not find any appropriate solution. Every where i found the below solution which is no more workable with DNN 9. <%@ Register Assembly="DotNetNuke.Web" Namespace="DotNetNuke.Web.UI.WebControls" TagPrefix="dnn" %> <dnn:DnnDatePicker runat="server" ID="StartDatePicker" /></div> In last i found a solution myself by digging down into the designer classes and I found that the above references are  obsolete in DNN 9 and there is no  DotNetNuke.Web reference in DNN9 If you want to add the date controller in dnn 9 then following class you need to change  <%@ Register TagPrefix="dnn" Assembly="DotNetNuke" Namespace="DotNetNuke.UI.WebControls" %> <dnn:DateTimeEditControl ID="dnnDatePicker1" runat="server"  /> I hope it save your time  Regards  ...