Jump to content

Hayri ASLAN

Moderators
  • Posts

    1573
  • Joined

  • Last visited

  • Days Won

    133

Everything posted by Hayri ASLAN

  1. Dear hakim, as i said yesterday, you will create function and this function will call ajaxevent. Like that : For example it is menu html: MenuHTML:='<div id=\"block_navigation\"><ul class=\"navigation\"><li> '+ '<a href=\"#\" onclick=\"MyFunction(''111'');return false;\">Home</a></li>'+ '<li><a class=\"block_navigation_submenu\" href=\"#\">Sliders <span class=\"span_main_links\">+</span></a>'+ '<ul><li><a href=\"#\" onclick=\"MyFunction(''112'');return false;\">Level 1 </a></li><li><a href=\"#\">Level 1 </a></li></ul>'+ '</ul></div>'; This İs function for ajaxevent var data:TStringList; begin data:=TStringList.Create; data.Clear; data.Add('$(document).ready(function(){ '); data.Add(' window.MyFunction = function MyFunction(a) { '); data.Add(Format('ajaxRequest(%s, "Menuclicked", ["menuid="+a]);', [TForm(MyForm).Name+'.'+TUniHTMLFrame(self).Name]) ); data.Add('}'); data.Add('});'); UniSession.AddJS(data.Text); FreeAndNil(data); end;
  2. i want to update my unigui version but it says "not valid licence" also i can't reach customer area it is not loading.
  3. http://takip.mygps.com.tr/ or https://hayriaslan.net/staj/ Sizin için çok basit bir yol it is the best way for do this. i always using that
  4. test case ve ekran görüntüsü gönderin
  5. Hi Dear Friends, I want to share my new component UniNoty. It is A Notification -> Smart, Full Customizable and Callbacks Demo : http://hayriaslan.net/iis/UniNoty/UniNotyDemo.dll Also i created lots of component like TuniCaptcha, TUniCssMenu, TUniFormatEdit, TUniMasterEdit, TUniNewButton, TUniNewMenu, TUniNotification, TUniNotifIt, TUniSmartAlert, TUniVKeyboardEdit..... i will make bundle and share soon. Defaults: layout: 'top', theme: 'defaultTheme', type: type, text: type, // can be html or string dismissQueue: true, // If you want to use queue feature set this true template: '<div class="noty_message"><span class="noty_text"></span><div class="noty_close"></div></div >', animation: { open: {height: 'toggle'}, close: {height: 'toggle'}, easing: 'swing', speed: 500 // opening & closing animation speed }, timeout: 0, // delay for closing event. Set false for sticky notifications force: false, // adds notification to the beginning of queue when set to true modal: false, maxVisible: 10, // you can set max visible notification for dismissQueue true option, killer: false, // for close all notifications before show closeWith: ['click'], // ['click', 'button', 'hover'] callback: { onShow: function() {}, afterShow: function() {}, onClose: function() {}, afterClose: function() {}, onCloseClick:function () {} }, buttons: [ {addClass: 'btn btn-primary', text: 'Ok', onClick: function($noty) { noty({text: 'You clicked "Ok" button', type: 'success'}); } }, {addClass: 'btn btn-danger', text: 'Cancel', onClick: function($noty) { noty({text: 'You clicked "Cancel" button', type: 'error'}); } } ]
  6. hi Delphi Developer yes it is works. Thanks a lot. additionally can we do this with unisession.addjs ?
  7. hi, how to implement to dbgrid "menuDisabled:true" by Extevent? it will be good solution for use like that codes with extevents. for info : http://stackoverflow.com/questions/12107056/how-to-remove-picker-from-column-header-of-ext-js-grid
  8. you can use http://forums.unigui.com/index.php?/topic/3444-tuninotification-a-notification-system-with-clicked-event/ this component
  9. go to servermodule add to customcss : .borderred{ border: solid 3px red; } go to which you want component add to clientevents-extevents-OnBeforerender: sender.addClass('borderred'); that's all Border css help : http://www.w3schools.com/css/css_border.asp
  10. http://forums.unigui.com/index.php?/topic/3316-redirect-an-url-to-an-existing-session-generate-an-event-which-runs-inside-the-existing-session/?hl=session_id&do=findComment&comment=15381 burayı inceleyebilirsiniz.
  11. dear agmoro7622 we can create and send to xls or csv to user. it is possible
  12. Dear İdris, please change UniServerModule.LocalCachePath to UniServerModule.StartPath or you can use that s:= UniServerModule.LocalCachePath; s := StringReplace(s,'\','/',[rfReplaceAll]); UniSession.SendFile(s+DosyaAdi,DosyaAdi);
  13. cookie atabilirsin, yada şu özellik var yeni tabı önceki sessionid ile açabilirsin.
  14. go to server module, change DefaultImageFormat = cfPNG and go to uniimage's property select transprent=True
  15. Hi Farshad, May you add jsname property to unimainmenu component?
  16. today we met face to face with farshad. in v94 we can create our self component. please be patient.
  17. Please don't forget add that under servermodule.customfiles files/js/itoast.min.js files/css/itoast.css
  18. you can change sessiontimeout adn ajaxtimeout in servermodule properties.
  19. I am using Delphi 2010(14) and i compiled it with that. if you are using different version of delphi change in notification.dpk uniGUI14, ExtPascal14, uniTools14, uIndy14 to your delphi version. For example for XE2(16) change that uniGUI16, ExtPascal16, uniTools16, uIndy16
×
×
  • Create New...