Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1360
Grid Not Visible when Inside UserControl
posted

I use a commercially available product to generate web-based database applications (CodeOnTime.com). This product produces standard ASPX web projects that are compatible with Visual Studio. Customising the application is done by adding UserControls (.ASCX) and placing custom code/web controls therein. I have found that WebDataGrids and WebHierarchical data grids do not display when placed within such a UserControl. (I can create a simple .ASPX project from scratch and it does work OK but when used in conjunction with generated applications it fails.) I have tried setting the grid's visibility etc but to no avail. if you use the browser inspection facility it is possible to manually switch off the visibility=hidden and display=none css tags and the grid becomes visible. But how could I do this reliably in code?

I have attached a link to a Visual Studio 12 project that exhibits this behaviour. Please edit the connectionString [SDS] in Web.Config to point to a copy of the Northwind database and run - The GridTest page shows as empty but it actually contains a WebDataGrid that remains hidden. As far as I can tell there are no JavaScript (or any other) errors whilst loading/running the project and I am at a loss to know how to fix this. (VS 2012, IG 13.1.2107 .net 4.5)

Please advise how to get this working.

I have an active licence for IG.Ultimate.

Kind regards,

Paul Shearing

Parents Reply Children
No Data