Jump to content

Search the Community

Showing results for tags 'ajax'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 8 results

  1. procedure TMainForm.UniFormCreate(Sender: TObject); ... ////////////////////////////////////////////////////////////////////////////// grdSuppliers.ClientEvents.ExtEvents.Clear; MyScript:= 'hide=function hide(sender, eOpts)'#10+ '{ '#10+ ' ajaxRequest(MainForm.grdSuppliers, ''_Hiding_'', []); '+ '} '; grdSuppliers.ClientEvents.ExtEvents.Add(MyScript); // MyScript:= 'show=function show(sender, eOpts)'#10+ '{ '#10+ ' ajaxRequest(MainForm.grdSuppliers, ''_Showing_'', []); '+ '} '; grdSuppliers.ClientEvents.ExtEvents.Add(MyScript); ... // ONLY EVENTS FIRED data/load/columnresize procedure grdSuppliersAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); ... ////////////////////////////////////////////////////////////////////////////// if SameText('_Hiding_', EventName) then begin // NEVER FIRES ////////////////////////////////////////////////////////////////////////////// if SameText('_Showing_', EventName) then begin // NEVER FIRES Please advise - Thanks in advance
  2. I have spent 3 and a half years exclusively in the UniGUI Mobile world where most things work after effort and today tried to build the most simplest Desktop App with a Login Form and Thread Timer. I cannot get the Thread Timer Event to call the fLogin Form Ajax Event ? Please advise - Thanks procedure TfLogin.ttTimeOutTimer(Sender: TObject); begin ttTimeOut.Enabled:= False; WaitFlag:= False; // Below Fails (along with about 10 other variants of calling) UniSession.AddJS('ajaxRequest(fLogin.window, "_TimerReset_", []'); UniSession.AddJS('ajaxRequest(' + fLogin.Form + ', "_TimerReset_", []'); UniSession.AddJS('ajaxRequest(' + fLogin.WebForm.JSName + ', "_TimerReset_", []'); UniSession.AddJS('ajaxRequest(' + Chr(39)+fLogin.GetWebForm.Name+Chr(39) + ', "_TimerReset_", []'); end; procedure TfLogin.UniLoginFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = '_TimerReset_' then begin Caption:= 'Login'; UniSession.Synchronize(); end; end;
  3. Here is what I need. We have a socket comunication with our telephony servers (each session has it's on socket connection) and we need to update the form every time an event is triggered (message received on the socket). Since that the sockets are on a separate thread, If i try to do this from inside the thread unigui throws an exception. So I need to create an event to I can update the screen immediately without need a timer to do so. Is this possible ? If yes, anyone have an example of how to do that ?
  4. Occasionally, at least once a month, an error occurs in an application that runs 24x7x365 Application crashes with a lot of alerts from javascript. The cache log shows: PlataformaDRA.dll: 000011EC: 08:19:33 []:Terminating ISAPI Server. Module Handle: 0000000000400000 PlataformaDRA.dll: 000011EC: 08:19:33 [TUniServerModule]:Shutting Down Server. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Terminating Session manager. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Stopping Cache Eraser... PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Cache Eraser Stopped. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Destroying Worker Threads. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Session manager terminated. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniServerModule]:Server Shutdown Completed. PlataformaDRA.dll: 000011EC: 08:19:33 []:ISAPI Server Terminated. Module Handle: 0000000000400000 PlataformaDRA.dll: 000011EC: 08:19:33 []:<--------------------------------------------------------------> plataformadra.dll: 00000408: 08:21:47 []:Error deleting folder: "C:\inetpub\wwwroot\PlataformaDRA\cache\plataformadra_dll\314J4BZHtb105182102\" [OS Error:2] plataformadra.dll: 00000094: 09:29:16 []:Terminating ISAPI Server. Module Handle: 0000000000400000 plataformadra.dll: 00000094: 09:29:16 [TUniServerModule]:Shutting Down Server. plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Terminating Session manager. plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Stopping Cache Eraser... plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Cache Eraser Stopped. plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Destroying Worker Threads. plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Session manager terminated. plataformadra.dll: 00000094: 09:29:16 [TUniServerModule]:Server Shutdown Completed. plataformadra.dll: 00000094: 09:29:16 []:ISAPI Server Terminated. Module Handle: 0000000000400000 plataformadra.dll: 00000094: 09:29:16 []:<--------------------------------------------------------------> plataformadra.dll: 00000D58: 09:29:20 []:Error deleting folder: "C:\inetpub\wwwroot\PlataformaDRA\cache\plataformadra_dll\VcA6pCFI4m1051833E5\" [OS Error:2] After first "error deleting" , always raises same error type, for each new access. The problem only is resolved when recycling application group on IIS, or stop the service..... How can solve it?
  5. Hi i have encountered this error please help me fast because my server is completely disabled Please Refer me Soonnnnnn. @Sherzod @Farshad Mohajeri @erich.wanker
  6. After installation of the current trial, and trying to run the demo "mdemo", I get the following error: _ffc_ is not defined _ffc_(O2B);ajaxRequest(OB4,"resize",["w="+OB4.getWidth(),"h="+OB4.getHeight()]);alert('Thank you for evaluating uniGUI.');if(Ext.Msg.isVisible())Ext.Msg.toFront(); Obviously, I made an error in the install. Has anyone know how I can resolve this? I am running Windows 10 with Delphi 10.2 Toyko.
  7. I want to build an application that have a TreeView and when user selects an item, it shows some information on a DBMemo. I want to build a functionality that when user requests the application with a parameter like ?ajax=1&id=1234 the application would send just the text from the selected row in database, but not the entire web application, like a webservice API. Is that possible?
  8. Hi Pals: I get this ajax errors. I think this is because of my program do something brong, but Delphi does not raise a error but JavaScritp do. There is a way to know the "Delphi" name of a control from his javascript name? This way I can see wath is doing this control. Thanks a lot.
×
×
  • Create New...