mehmet07 Posted February 20, 2013 Share Posted February 20, 2013 Merhabalar, Gridde tasarım zamanında columuns ozelliginden alanları ekleyince o formu açmaya çalıştığımda hata veriyor. Bir ajax hata ekranı çıkıyor. try{ O257=new Ext.grid.Column({sortable:false,dataIndex:"0",renderer:_rndcll_,rdonly:true,text:"GRUPADI",width:100}); O1C5=new Ext.Window({id:"O1C5_id",retfalse:{},onEsc:function(){},layout:"anchor",title:"Grup ile başlayan. Teşekkürler. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 20, 2013 Administrators Share Posted February 20, 2013 Bir örnek uygulama yollamanız gerek. Tşk. Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted February 20, 2013 Author Share Posted February 20, 2013 Merhabalar, Dosya Ektedir. Yaptığım İşlemler; -Forma 1 adet grid nesnesi ekledim -Nesneyi dataasource bagladim -Columuns ozelliğinden tüm alanlari ekledim. -Sonrada Tüm alanları seçip alanların width ozelligini 100 olarak değiştirdim. Bu işlemleri 3 farkli uygulamada denedim. hepsinde de aynı hatayı üretti. hata.rar Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 20, 2013 Administrators Share Posted February 20, 2013 Bende herhangi bir hata vermedi. uniGUI sürümü nedir? Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted February 20, 2013 Author Share Posted February 20, 2013 unigui sürümü 0.91.0.980 web modunda kullanıyorum. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 20, 2013 Administrators Share Posted February 20, 2013 verdiği hatayı tam olarak buraya yazar mısınız? Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted February 20, 2013 Author Share Posted February 20, 2013 Ekran Goruntulerini ekledim. Sayfa2 ekran goruntusunde yazanlar try{ O6F=new Ext.grid.Column({sortable:false,dataIndex:"0",renderer:_rndcll_,rdonly:false,text:"LAST_NAME",width:100}); O24=new Ext.Window({id:"O24_id",retfalse:{},onEsc:function(){},layout:"anchor",title:"UniForm1",modal:true,maximizable:true,minimizable:true,resizable:true});O24.nm="O24"; O34=new Ext.form.FormPanel({id:"O34_id",border:false,layout:"absolute",anchor:"100% 100%",tabItems:new Ext.util.MixedCollection()});O34.nm="O34";O24.add(O34);O24.on("beforeclose",function(P0){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O24&Evt=beforeclose&P="+P0.nm+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O24,e:"beforeclose"});});O24.on("move",function(P0,P1,P2){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O24&Evt=move&This="+P0.nm+"&X="+P1+"&Y="+P2+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O24,e:"move"});});O24.on("resize",function(P0,P1,P2){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O24&Evt=resize&This="+P0.nm+"&Width="+P1+"&Height="+P2+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O24,e:"resize"});});O24.on("activate",function(P0){ _saf_(P0);return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O24&Evt=activate&This="+P0.nm+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O24,e:"activate"});});O24.on("deactivate",function(P0){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O24&Evt=deactivate&This="+P0.nm+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O24,e:"deactivate"});});O24.on("maximize",function(P0){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O24&Evt=maximize&This="+P0.nm+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O24,e:"maximize"});});O24.on("minimize",function(P0){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O24&Evt=minimize&This="+P0.nm+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O24,e:"minimize"});});O24.on("restore",function(P0){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O24&Evt=restore&This="+P0.nm+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O24,e:"restore"});}); O5D=new Ext.data.Store({fields:[],proxy:{type:"ajax", url:"/p2.dll/HandleEvent?IsEvent=1&Obj=O44&Evt=data&"+_S_ID,reader:{type:"json"}},storeId:"O5D_id",remoteSort:true,pageSize:25}); O5B=new Ext.selection.CellModel({}); O60=new Ext.PagingToolbar({store:O5D}); O44=new Ext.grid.Panel({id:"O44_id",columns:[],columnLines:true,store:O5D,bodyBorder:true,border:true,tabIndex:139,width:649,height:177,x:30,y:73,plugins: [Ext.create("Ext.grid.plugin.CellEditing", {pluginId:"uniCellEditor",clicksToEdit:2}) ],selModel:O5B,bbar:O60,viewConfig:{loadMask:false},enableColumnMove:false});O44.nm="O44";_cdo_("UniDBGrid1",O44,null,UniForm1); O57=new Ext.form.Hidden({name:"O57"});O57.nm="O57";O44.on("edit",function(P0,P1){_ae_(P1);return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O44&Evt=edit&V="+_xl_(P1.value)+"&O="+_xl_(P1.originalValue)+"&R="+P1.rowIdx+"&C="+P1.colIdx+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O44,e:"edit"});});O44.on("beforeedit",function(P0){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O44&Evt=beforeedit&V="+_xl_(P0.value)+"&R="+P0.row+"&C="+P0.column+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O44,e:"beforeedit"});});O5B.nm="O5B"; O5C=new Ext.selection.RowModel({});O5C.nm="O5C";O5C.addListener("select",function(obj, rec, row){O57.setValue(row);if(obj.nocbk)return(false);_sfg_(obj);});O5C.grid=O44;O5B.addListener("select",function(obj, rec, row, col){_cge_(obj);O57.setValue("\3"+row+"\3"+col+"\3");if(obj.nocbk)return(false);_sfg_(obj);});O5B.grid=O44;O5C.on("select",function(P0,P1,P2){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O5C&Evt=select&This="+P0.nm+"&RowIndex="+P2+"&R="+P1.nm+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O5C,e:"select"});});O5B.on("select",function(P0,P1,P2,P3){if(_ccell_(P0))return;return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O5B&Evt=select&This="+P0.nm+"&RowIndex="+P2+"&ColIndex="+P3+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O5B,e:"select"});});O5D.nm="O5D";O5D.on("load",function(P0,P1,P2,P3){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O5D&Evt=load&This="+P0.nm+"&Records=null&Options="+P3+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O5D,e:"load"});});O5D.grid=O44;O5D.dbgrid=true;O44.on("columnresize",function(P0,P1,P2){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O44&Evt=columnresize&ColumnIndex="+P1.dataIndex+"&NewSize="+P2+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O44,e:"columnresize"});});O44.on("columnmove",function(P0,P1,P2,P3){return Ext.Ajax.request({url:"/p2.dll/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O44&Evt=columnmove&OldIndex="+P2+"&NewIndex="+P3+""+_gv_(O34),success:AjaxSuccess,failure:AjaxFailure,obj:O44,e:"columnmove"});});O60.nm="O60";O34.add(O44);O34.add(O57); O69=new Ext.Button({id:"O69_id",text:"Tablo Aç"});O69.nm="O69";O34.add(O69);O24.show();O24.retfalse.beforeclose=1;_axy_(O24);O24.header.child("component").el.child(".x-window-header-text",true).style.marginLeft="19px";O24.header.el.dom.style.background="url(/p2.dll/cache/p2/Fi2NJNNm1U5bblc/app_main_icon.png) no-repeat 4px 4px";O44.addToTab(1390); O6E=new Object({width:11,resizable:false,menuDisabled:true,renderer:function(){return " ";}});O6E.nm="O6E"; O6D=[O6E,O6F];O6F.nm="O6F";_mnthc_(O44,O6F);}finally{alert("Access violation at address 090D9994 in module 'p2.dll'. Read of address 0000004A.");} Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 20, 2013 Administrators Share Posted February 20, 2013 İlk resimdekli Access Violation'in ana nedenini bulmanız lazım önce. Bir de DLL olarak değil EXE olarak deneyin önce. Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted February 21, 2013 Author Share Posted February 21, 2013 Exe olarak deneyince sıkıntısız calisiyor. web de griddeki columuns ozelliginden eklemiş oldugum alanları iptal edersem yine duzgun calisiyor. Sorun grid le alakali gibi gorunuyor. Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted February 21, 2013 Author Share Posted February 21, 2013 Yaptığım İşlemler; -Forma 1 adet grid nesnesi ekledim -Nesneyi dataasource bagladim -Columuns ozelliğinden tüm alanlari ekledim. -Sonrada Tüm alanları seçip alanların width ozelligini 100 olarak değiştirdim. Yukarıdaki işlem adımlarını yapıp web olarak çalıştırmayı deneyebilir misiniz acaba? Sizde de aynı sıkıntı çıkacak mı. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 22, 2013 Administrators Share Posted February 22, 2013 Sadece DLL de hata veriyorsa IIS yetkileri ile ilgilidir. Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted February 22, 2013 Author Share Posted February 22, 2013 apache kullaniyorum. Normalde sorunsuz calisiyordu. Ayarlarla da oynamadım :S Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.