Jump to content

refering a previous request


aliemre

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;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...