Developer forum

Forum » Development » Error when using DW control dw:DateSelector

Error when using DW control dw:DateSelector


Reply
I have a custom module where im using dw:DateSelector.

The control render the gui like it should but i get some javastript errors. After looking the the source code of the page i can see that there is no reference to the needed .js and .css files.

It worked fine before the upgrade to DW7.

I have cheked and double checked that all paths and references to .dll's are ok

What am i missing??

/Kenneth

Replies

 
Reply
Now i know why the refenence to the scripts and css is not included anymore.

In the latest release og dynamic.dll there is an additional check in Dates.DateSelect, to see if the request is comming from the folder "Admin".
If the request is not from "Admin" the references is not rendered to the page.

Is the change made på intention, or is it "just" in the heat of the battle?

If its by intention, then I almost only can interpretate it, as we are not supposed to use DW controls in Custommodules, and there by have to take another path in rendering the GUI for the customers :(

/Kenneth
 
Nicolai Høeg Pedersen
Reply
Hi Kenneth

That is a bug. I've fixed it and flagged it for the next hotfix (19.0.1.2). It has bugnumber TFS4136 - it can be found on http://engage.dynamicweb-cms.com/Releases-177.aspx when released.

 

You must be logged in to post in the forum