Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by elango on Jul 27, 2009 05:00
open dhtmlx forum
ASP.NET:Problems while binding vaues

Hi all,

i am using dhtmlxgrid, i am facing some problem while using in asp.net

(1.)cannot able to bind database values in "onload" event(but i can bind data's in "onclick" event )
and
(2.)while using script(for create a grid) within "<HEAD></HEAD>" tag an script error showing that " 'this.entBox' is null or not an object".

Regards,
Elango
Answer posted by dhxSupport on Jul 27, 2009 05:35
1. Could you please provide us more detailed information how are you trying to blind database values in "onload" event? Which dhtmxlGrid methods do you use? What issues occur?
2. This issue occurs because of grid's container object is not created. Probably you should call grid initialization script on body's onload event:
<body onload="doInitGrid()">...</body>
or
<script>
window.onload=function(){
//initialize grid object
}
</script>