Jump to content


Photo

refering a previous request


  • Please log in to reply
2 replies to this topic

#1 aliemre

aliemre

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 63 posts

Posted 21 November 2017 - 06:30 AM

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;

  • 0

#2 aliemre

aliemre

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 63 posts

Posted 21 November 2017 - 08:35 AM

Aynı zamanda UniSession.JSONDirect kullanınca böyle bir sorun oluyor.


  • 0

#3 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 10138 posts

Posted 23 November 2017 - 11:45 AM

TUniEdit'i ne şekilde oluşturuyor sunuz?


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users