Hi Peryan,
I'm not sure I understand the question. Resizing the control is nothing to do with the grid itself. The grid is no different in this regard than any other control. You can anchor or dock it to the form.
If you want to resize the columns, then I would recommend using the PerformAutoResize method on the column which will size the column to it's contents. Be sure to use the right overload the this method, though. If yuo don't specify any parameters, it will only size to the visible rows.
Is there a way to assign auto resizing of columns via CSS or via DisplayLayout properties in Visual Studio?
When I set "<DisplayLayout ...AllowColSizingDefault="Auto" ....
I get the following error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Cannot create an object of type 'Infragistics.WebUI.UltraWebGrid.AllowSizing' from its string representation 'Auto' for the 'AllowColSizingDefault' property.
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
Is there another way to set this property on the grid?
This is a webgrid question and should be handled by that forum. This message was posted in the WinGrid forum.
Here's what appears at the top of my page:
Looks like we're in the WebGrid forum. If I'm missing something, please suggest a new URL.
Thanks. Can you also change the "answered" icon. There is no working resolution yet.
yeah, me too. :)
I have the same question. I will ask support and post back here.
sorry posting from an old account...