Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » ReportColumnRegister returning null Collapse All
Subject Author Date
Upanshu Yadav Apr 4, 2011 - 4:02 AM


I am using ReportColumnRegister to add a column to the grid as follows:

CExtReportGridColumn* m_pVehicleID = ReportColumnRegister(_T("Vehicle ID"),_T("RT"));

but it always return null ..

Can anyone tell me the reason why and how to get rid of this problem?


Technical Support Apr 4, 2011 - 8:45 AM

First of all, please check whether you already registered some column with the same names. Second, you can step into the CExtReportGridWnd::ReportColumnRegister() method and let us know where it decides to return NULL. Third, the problem may depend from the report grid initialization code and you can show it to us.