Replies
I find it disappointing:
1) That you would suggest that there is no way to hide columns when it is documented in the help. http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.2/CLR4.0/html/WebDataGrid_Hiding_a_Column.html
2) That this clearly was available since 2011.2 and I've upgraded to 2012 and this still isn't working.
I get this error when using the Hidden property available for a BoundDataField:
[HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).] System.Web.UI.ControlCollection.Add(Control child) +11415588 Infragistics.Web.UI.Framework.AppStyling.CssBuilder.OnPreRenderComplete(Object sender, EventArgs e) +742 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4543 |
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
The reason for the need to hide columns is to have the data readily available whether it be in the browser or on the server. Most of my applications with the UltraWebGrid relied on this functionality. It looks like Bunty's solution should work, but this is something the grid should be doing on it's own. It's the sole purpose of buying 3rd party controls is to prevent us from having to create hacks for a usable UI.
Was there a resolution to this situation?
I have the same problem with the Webupload control and the rounded corners.
Development:
- OS: Windows 7 64bit
- IIS 7.5 (I run the app through IIS and not the WebDev server.)
- VS 2010
- Internet Explorer : version 9 – works
- Chrome – perfect, no problems
- Firefox – no problems
Server:
- OS : Windows Server 2008
- IIS 7.0
- IE 9 – rounded corners not working
- Chrome – works
- Firefox – doesn't
IE 9.0.8112
Scripts that are referenced in page:
<link href="/DSWeb/Styles/jquery-ui-1.8.17.custom.css" rel="stylesheet" type="text/css" />
<link href="/DSWeb/Styles/tre.css" rel="stylesheet" type="text/css" />
<link href="/DSWeb/ig_ui/themes/base/ig.ui.min.css" rel="stylesheet" type="text/css" />
<script src="/DSWeb/scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="/DSWeb/scripts/jquery-ui-1.8.17.custom.min.js" type="text/javascript"></script>
<script src="/DSWeb/ig_ui/js/min/ig.ui.min.js" type="text/javascript"></script>
Control Tag configuration:
<ig:WebUpload ID="WebUpload1" runat="server" AutoStartUpload="true" Mode="Single" ShowFileExtensionIcon="true"
ProgressUrl="~/IGUploadStatusHandler.ashx"
onuploadfinished="WebUpload1_UploadFinished"
onuploadfinishing="WebUpload1_UploadFinishing" ToolTip="Upload.aspx"
>
<ClientEvents OnError="onErrorHandler" FileUploaded="onUploadFinished" FileSelected="onUploading" />
</ig:WebUpload>
I copied my site directly from dev to the server. I would suspect that I'm missing a file resulting in the rounded corners not working, but it works in FF and Chrome.
I've attached a screenshot to illustrate the problem. You can see in the address bar which one is local vs server. Please let me know if there is something I can look for on my end to help you solve this problem.
Thank you.