I recently upgraded the webgrid to version 8.2.20082.2011. I've found that changing some of the properties in quick design and then clicking Apply and OK does not change the html. I have to manually change the html in order for the changes to stay. I'm using Visual Studio 2008 and the grids were developed in previous versions of the webgrid and then upgraded. Is it just me?
Thanks,
Stacey
Sometimes I have found that if I debug an application VS does not persist changes in design time. Sometimes even if I appear to not debug, the problem occurs when the built-in web development server in VS.NET crashes (appears in ghost process). Sometimes if the values you change are the default one - in this case no serialization takes place.
But these are just suggestions. Like Ed said, if you can help us with steps to reproduce the problem, maybe we can provide better suggestions.
I'm having this problem more and more. This is an example.
Here the "Suffix" column was added to the grid through the Quick Design. It can be seen in the design view.
But there is no "Suffix" column in the source. It had to be manually added in the html. Saving and running the page doesn't help.
<igtbl:ultrawebgrid id="uwgJobs" runat="server" Width="835px" Height="424px" EnableViewState="False">
<DisplayLayout ColFootersVisibleDefault="Yes" AutoGenerateColumns="False"
RowHeightDefault="20px" Version="3.00" ViewType="Hierarchical" SelectTypeRowDefault="Single"
IndentationDefault="20" BorderCollapseDefault="Separate" EnableInternalRowsManagement="True"
RowSelectorsDefault="No" Name="uwgJobs" AllowSortingDefault="OnClient" HeaderClickActionDefault="SortSingle">
<AddNewBox>
<BoxStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
</BoxStyle>
</AddNewBox>
<Pager>
<PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
</PagerStyle>
</Pager>
<HeaderStyleDefault VerticalAlign="Bottom" Font-Bold="True" BorderStyle="Solid" HorizontalAlign="Center"
ForeColor="Black" BackColor="Silver" CssClass="gridHeader">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White"></BorderDetails>
</HeaderStyleDefault>
<FrameStyle Width="835px" BorderWidth="1px" Font-Size="8pt" Font-Names="Verdana" BorderStyle="Solid"
Height="424px"></FrameStyle>
<FooterStyleDefault BorderWidth="1px" BorderStyle="Solid" BackColor="Silver">
</FooterStyleDefault>
<EditCellStyleDefault BorderWidth="0px" BorderStyle="None" CssClass="gridEditStyle"></EditCellStyleDefault>
<SelectedRowStyleDefault CssClass="gridSelectedRow"></SelectedRowStyleDefault>
<RowStyleDefault BorderWidth="1px" BorderColor="Gray" BorderStyle="Double" CssClass="hl">
<Padding Left="3px"></Padding>
<BorderDetails WidthLeft="0px" WidthTop="0px"></BorderDetails>
</RowStyleDefault>
<ActivationObject BorderColor="" BorderWidth="">
</ActivationObject>
</DisplayLayout>
<Bands>
<igtbl:UltraGridBand AllowUpdate="Yes" AllowAdd="No" Key="bndJobs" AllowDelete="No">
<Columns>
<igtbl:UltraGridColumn AllowUpdate="No" Width="5%">
<Header Caption="SA">
</Header>
<CellStyle BackColor="Gainsboro">
</CellStyle>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn AllowNull="False" AllowUpdate="No" BaseColumnName="PART_NUMBER" Width="15%">
<Header Caption="Part #">
<RowLayoutColumnInfo OriginX="1" />
<Footer>
</Footer>
<igtbl:UltraGridColumn AllowNull="False" AllowUpdate="No" BaseColumnName="JOB_NUM"
FooterText="Totals" Width="8%">
<Header Caption="Job #">
<RowLayoutColumnInfo OriginX="2" />
<Footer Caption="Totals">
FooterTotal="Sum" Width="10%">
<Header Caption="Allocated">
<RowLayoutColumnInfo OriginX="3" />
<Footer Total="Sum">
<igtbl:UltraGridColumn AllowNull="False" AllowUpdate="No" BaseColumnName="ISSUED_QUANTITY"
FooterTotal="Sum" Width="9%">
<Header Caption="Issued">
<RowLayoutColumnInfo OriginX="4" />
<igtbl:UltraGridColumn AllowNull="False" AllowUpdate="No" BaseColumnName="PART_WEIGHT"
<Header Caption="Weight">
<RowLayoutColumnInfo OriginX="5" />
<igtbl:UltraGridColumn AllowNull="False" AllowUpdate="No" BaseColumnName="REQUIRED_QUANTITY" Width="9%">
<Header Caption="Required">
<RowLayoutColumnInfo OriginX="6" />
BaseColumnName="NESTED_QUANTITY" Width="9%">
<Header Caption="Nested">
<RowLayoutColumnInfo OriginX="7" />
<igtbl:UltraGridColumn AllowNull="False" AllowUpdate="No" BaseColumnName="COMPLETED_QUANTITY" Width="10%">
<Header Caption="Completed">
<RowLayoutColumnInfo OriginX="8" />
<igtbl:UltraGridColumn AllowNull="False" AllowUpdate="No"
Type="CheckBox" Width="10%">
<Header Caption="Op Closed">
<RowLayoutColumnInfo OriginX="9" />
<igtbl:UltraGridColumn AllowNull="False" BaseColumnName="JOB_NUMBER"
Hidden="True" Key="JOB_NUMBER">
<Header Caption="Job_Number">
<RowLayoutColumnInfo OriginX="10" />
<igtbl:UltraGridColumn AllowNull="False" BaseColumnName="OPERATION_CLOSED_FLAG"
Hidden="True">
<Header Caption="Hidden_Close_op">
<RowLayoutColumnInfo OriginX="11" />
<igtbl:UltraGridColumn AllowNull="False" BaseColumnName="JOB_NUM"
<Header Caption="Job_Num">
<RowLayoutColumnInfo OriginX="12" />
<igtbl:UltraGridColumn AllowNull="False" BaseColumnName="PART_NUMBER"
<Header Caption="Part_Number">
<RowLayoutColumnInfo OriginX="13" />
<igtbl:UltraGridColumn AllowNull="False" BaseColumnName="REMAKE_FLAG"
<Header Caption="Remake_Flag">
<RowLayoutColumnInfo OriginX="14" />
</Columns>
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
</igtbl:UltraGridBand>
<igtbl:UltraGridBand ColHeadersVisible="No" Key="bndBOM">
<igtbl:UltraGridColumn BaseColumnName="PART_NUMBER">
<igtbl:UltraGridColumn BaseColumnName="PART_WEIGHT">
<igtbl:UltraGridColumn BaseColumnName="NESTED_QUANTITY">
<Header Caption="Quantity">
<RowStyle BackColor="LightSteelBlue"></RowStyle>
</Bands>
</igtbl:ultrawebgrid>