Jump to content

uniUrlFrame ajaxRequest cagrisi


mehmet07

Recommended Posts

Merhabalar,

UrlFrame icerisine html dosyasi cagiriyorum. 

Html dosyasinin  icerisinde  

ajaxRequest(MainForm.uniUrlframe1 , "dosyasecildi", ['konu=2123']);

kodunu yazarak programa veri yollamaya calisiyorum. ama bir turlu UniURLFrame AjaxEvent i tetikletemedim. Nerede hata yapiyorum acaba?

top.ajaxRequest(top.MainForm.uniUrlframe1 , "dosyasecildi", ['konu=2123']); 

bu kodda ise yaramadi

 

teşekkürler.

Link to comment
Share on other sites

What about server side:

procedure TMainForm.uniUrlframe1AjaxEvent(Sender: TComponent; EventName: string;
  Params: TStrings);
begin
 If SameText(EventName, 'dosyacildi' ) Then
  Begin
    showmessage(Params.Values['konu']);
  End;
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...