herculanojs Posted August 24, 2016 Posted August 24, 2016 TUniDBFormattedNumberEdit, TUniDBNumberEdit Someone could tell me why when I use TUniDBFormattedNumberEdit component is generating fail me for lack of autoNumeric. I located this file within the uni-0.99.95.1309 \ jQuery \autoNumeric-1.9.35.js and add in custom files in servermodule, the error disappears. However my components are being created at runtime in a frame. Quote
Administrators Farshad Mohajeri Posted August 24, 2016 Administrators Posted August 24, 2016 When UniEdit.pas unit is in the uses list, file \autoNumeric-1.9.35.js will be included automatically. Quote
herculanojs Posted August 27, 2016 Author Posted August 27, 2016 I'm dynamically creating TUniDBFormattedNumberEdit component, yet strangely even making reference to the units uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Data.DB, MemDS, DBAccess, Uni, System.Types, Xml.XMLIntf, System.StrUtils, uniImageList, uniButton, uniBitBtn, uniSpeedButton, datamodel.types, system.Contnrs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Comp.DataSet, FireDAC.Comp.Client, uniEdit, uniDBEdit, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIForm, uniGUIBaseClasses, uniPanel, uniGUIRegClasses; However I am getting the error message. She only be resolved with the inclusion of autoNumeric file in custom files on the server. I thought it might be due to some component of UniSpecial of Hayri Aslan. However since I treated topic with him, and told me that is not related to your component. The strange thing is that it has created a new application, and add the component, do not have this problem. But in my current application, I have this error. Quote
alfr Posted February 8, 2018 Posted February 8, 2018 Hi, I also get a similar error - "Ajax Error - autNumber is not a function". This happens as soon as I add a a TUniDBFormattedNumberEdit component to the form (design time) and runs the application and .showmodal on the form. I can see the file autoNumeric-1.9.35.js being loaded from the server, so this is not the problem. Does anybody have any advise how this can be fixed? Regards Alf Ps. UniGui is Fantastic!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.