Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Sherzod

  1. Please explain in more detail then.
  2. Hi, Something like this: 1. function beforeedit(editor, context, eOpts) { return ajaxRequest(this, 'getCheck', [], false).responseText == 'true'; } 2. procedure TMainForm.UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'getCheck' then begin if ClientDataSet1.FieldByName('EmpNo').AsInteger < 20 then UniSession.SendResponse('true') else UniSession.SendResponse('false') end; end;
  3. Hello, I think you have to use sockets. Try looking for solutions on the forum.
  4. Hello, Please specify which edition of UniGUI are you using?
  5. On the other hand, can you "download" external links to the PDF to the server first, and then "load" them from the local folder!?
  6. Try this. MainForm -> Script: $.extend($.inputmask.defaults, { 'clearMaskOnLostFocus': false });
  7. If possible, create a simple testcase, I will try to analyze it on your testcase.
  8. For example open google.com, same thing. You shouldn't use simple cookie names...
  9. V 1.00.00 [UNG-2175] - Client side JS hacking is possible when control's parent is disabled or invisible.
  10. Simply use dataset insert operations.
  11. procedure TMainForm.UniButton2Click(Sender: TObject); var TabSheet: TUniTabSheet; onCloseTab: String; begin onCloseTab := 'function beforeclose(panel, eOpts){ '+ ' alert("close event"); ' + '}'; TabSheet := TUniTabSheet.Create(MainForm); with TabSheet do begin Caption := 'Tab 2'; Name := 'Tab_2'; Closable := true; ClientEvents.Enabled := true; ClientEvents.ExtEvents.Values['beforeclose'] := onCloseTab; PageControl := UniPageControl1; end; end;
  12. Hello, Once again, are you sure the UniGUI installation was successful? Have UniGUI folder paths been added to the "library path"? You are not using the trial version, are you?
  • Create New...