Hello,
In my Webforms app, in Refernce I have JuiceUI. In my aspx, I can find <juice:.....> elements. I am trying to associate a TextBox with JuiceUI DatePicker. This is my aspx code :
<juice:Datepicker runat="server" ID="juiceInqDtPkr" TargetControlID="inqDtPickerTxt" MaxDate="0" DateFormat="d M yy" DefaultDate="0" /> <asp:TextBox ID="inqDtPickerTxt" runat="server" TextMode="Date" CssClass="form-control"></asp:TextBox>
Unhandled exception at line 138, column 2 in http://localhost:19715/Scripts/juice.js 0x800a138f - JavaScript runtime error: Unable to get property '_attachDatepicker' of undefined or null reference
<pages> <controls> <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" /> <add assembly="JuiceUI" namespace="Juice" tagPrefix="juice" /> </controls> </pages>
I couldn't find any cause for this error. Any idea why is this error causing & how to solve it !!! Even I googled this error, but couldn't get any productive help.
Any help is highly appreciated.
Thanks