Using the help from http://forums.infragistics.com/forums/p/16644/60759.aspx#60759, I set my columns to hide correctly. When I run the application on my dev environment, they display (hidden) correctly. When I deploy the application, the all the columns are visible. I checked .Net version, dll dependencies, everything its expecting is there. Any thoughts?
-dan
Elena,
I have been using the methods of deployment outlined in the link you posted.
Lets take a look at the Xaml code I am currently using.
<igDP:Field Name="LastUpdate" Visibility="Collapsed"/><igDP:Field Name="InstNumber" Label="Inst" Width=".75*"><igDP:Field.Settings><igDP:FieldSettings AllowEdit="False" CellContentAlignment="LabelAboveValueAlignCenter"/></igDP:Field.Settings></igDP:Field> <igDP:Field Name="Source" Label="Source" Width=".75*"><igDP:Field.Settings><igDP:FieldSettings AllowEdit="False" CellContentAlignment="LabelAboveValueAlignCenter"/></igDP:Field.Settings></igDP:Field> <igDP:Field Name="Run" Label="Run" Width=".75*"><igDP:Field.Settings><igDP:FieldSettings AllowEdit="False"/></igDP:Field.Settings></igDP:Field> <igDP:Field Name="BatchNumber" Label="Batch" Width=".75*"><igDP:Field.Settings><igDP:FieldSettings AllowEdit="False"/></igDP:Field.Settings></igDP:Field> <igDP:Field Name="LockedBy" Label="LockedBy" Width="*"><igDP:Field.Settings><igDP:FieldSettings AllowEdit="False"/></igDP:Field.Settings></igDP:Field>
<igDP:Field Name="State" Label="State" Width="3*"><igDP:Field.Settings><igDP:FieldSettings AllowEdit="False"/></igDP:Field.Settings></igDP:Field> <igDP:Field Name="StatusDescript" Label="Status" Width="2*"><igDP:Field.Settings><igDP:FieldSettings AllowEdit="False"/></igDP:Field.Settings></igDP:Field> <igDP:Field Name="PatternName" Label="Pattern" Width="*"><igDP:Field.Settings><igDP:FieldSettings AllowEdit="False"/></igDP:Field.Settings></igDP:Field>
The columns hide just fine....as long as the PatternName field is commented out. From what I can tell the PatternName field doesn't exist and that throws the rest of the field formatting out. I tried reproducing this with the binding to the sample data in a test app, but couldn't recreate. Thoughts?
Hello Dan,
I was looking into the scenario you are describing and I am not aware for such an issue. Could you please double check if you are using some of the deployment approaches that are described at the following link from our documentation:
http://help.infragistics.com/NetAdvantage/WPF/2011.1/CLR4.0/?page=WPF_Deploying_Your_Application.html .
If you still have the issue, please do not hesitate to ask.