Jump to content
uniGUI Discussion Forums
Sign in to follow this  
aliemre

refering a previous request

Recommended Posts

Merhaba,

 

Bir objenin click eventınde yeni TUniEdit oluşturunca TUniBaseEdit.LoadCompleted metodunun base inde (inherited kısmında) aşağıdaki hata  oluşuyor. Nerede hata yapıyor olabilirim ?

 

Teşekkürler.

 

 

---------------------------
Debugger Exception Notification
---------------------------
Project ETSWeb.exe raised exception class Exception with message 'Config Option: O6FF->name:"O6FF"<br/>is refering a previous request,<br/>it's not allowed in AJAX request or JS handler.<br/>Use equivalent Public Property or Method instead.'.
---------------------------
Break Continue Help
---------------------------



procedure TUniBaseEdit.LoadCompleted;
begin
FChanged := False;
JSAdjustCase;

if FMaxLength > 0 then
begin
JSConfig('maxLength', [FMaxLength] );
JSConfig('enforceMaxLength', [True]);
end;

if FInputMask.Mask<>'' then
JSConfig('uniInpMaskObj', [
JSObject([
'mask',FInputMask.Mask,
IfThen(FInputMask.MaskChar<>UNI_DEF_MASK_CHAR, 'placeholder', ''), FInputMask.MaskChar
])
]);

if IsNumberEdit then
JSConfigNumberEdit
else
begin
if Text <> '' then
begin
if FInputMask.Mask <> '' then
SetOriginalValue(Text) // make sure originalValue and getValue() are same. See UNG-1793
else
JSConfig('value', [Text]);
end;
end;

FFormatChanged := False;
inherited;
end;

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×