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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...