I have a WebDataGrid, a multiselect WebDropDown above it and an "Apply" button.
All are placed in one UpdatePanel.
The WebDropDown is populated with the columns of the WebDataGrid and the user can check the multiselect ceckboxes of the WebDropDown to choose which columns of the WebDataGrid should be displayed or hidden.
The "Apply" button's OnClick server-side event then applies the columns selection from the WebDropDown to the WebDataGrid by setting each WebDataGrid's column's Hidden property. The UpdatePanel makes the OnClick call an async postback.
THE PROBLEM IS: The WebDataGrid's columns are not being redrawn on the client after the async postback. Columns that actually have their Hidden property really set to true are still being displayed and vice versa. However, if I change some column's Header Text in the same "Apply" button's OnClick event, it does redraw the text of the column's header on the client, which means the whole WebDataGrid actually was redrawn but did not apply the Hidden properties...
Is this a WebDataGrid's bug, design feature or am I doing something wrong?
The WebDataGrid has the following behaviors enabled: Column Moving, Column Resizing, Editing Core with Cell Editing, Row Selectors, Selection.
I also tried it with WebDataGrid.EnableAjax true and false, nothing helped.
Hi,
I tried this with version 9.2.20092.2061 and it worked for me. It also worked on the latest internal 10.1 build. If you have an older version of 9.2, I suggest upgrading to the latest Service Release. If you still have problems with that, try it without the Update Panel and attach a sample here.
regards,
David Young
The version that I use is Infragistics35.WebUI.UltraWebGrid.v9.2, Version=9.2.20092.1003
Infragistics35.WebUI.UltraWebGrid.v9.2, Version=9.2.20092.1003
I could not find the version that you mention - 9.2.20092.2061 - on the Infragistics.com website.
Is it published yet?
(IG website says that some service release is planned for April 5.)
thx & best regards
Hey,
You are correct. Apparently 2061 is an internal build. 9.2.20092.2056 is the latest Service Release (from February) and we have another planned for April. Could you check if this issue persists in the latest SR by upgrading to build 2056. If it is still broken there, we'll either have to wait for April 5 or you can contact Developer Support and request an escalation.
Dave
Thanks, I have just found the 2056 SR in "My Downloads" section at IG.com. I hope the reinstall will be smooth and it will work.
I could not find the SR download link. I should have looked into My Downloads and the Net Advantage product's details before. The 2056 was quite hidden in there. The webpage SUPPORT / SERVICE RELEASES actually could be mentioning the latest SR version for lost people like me...
Thanks. Upgrading to Net Advantage 9.2.2056 Service Release did solve the issue, now the WebDataGrid's columns do hide when their Hidden property is set to true on server-side.
Though, the WebDataGrid column operations (moving, hiding) are running surprisingly slow on the local VS2008 "development webserver" on my PC. I think the UltraWebGrid was faster, though I was running it on local IIS, which might be faster than the "development webserver". I will try to deploy it to a real server...