CoolGrid issue with usercontrol

Jul 1, 2010 at 6:34 PM

 I have extended the CoolGrid to have my own paging and creating empty grid information and then I created a user control and used my extended grid view but during run time I am getting following error
Microsoft JScript runtime error: 'CoolGridView' is undefined
= new CoolGridView({GridContainerID: "ctl00_contentMain_gvProjectCollection_grdvwGenericjEsCoOl_mainDiv",HeaderContainerID: "ctl00_contentMain_gvProjectCollection_grdvwGenericjEsCoOl_headerDiv",TableContainerID: "ctl00_contentMain_gvProjectCollection_grdvwGenericjEsCoOl_tableDiv",GridID: "ctl00_contentMain_gvProjectCollection_grdvwGeneric",FooterContainerID: "ctl00_contentMain_gvProjectCollection_grdvwGenericjEsCoOl_footerDiv",PagerContainerID: "ctl00_contentMain_gvProjectCollection_grdvwGenericjEsCoOl_pagerDiv",HiddenFieldDataID: "ctl00_contentMain_gvProjectCollection_grdvwGenericjEsCoOl_data",FormID:"aspnetForm", AllowResizeColumn : true});
varctl00_contentMain_gvProjectCollection_grdvwGeneric.Initialize();

Any help will be really appreciated