I created a simple master/detail page using a webcombo and webgrid. Everything worked fine, until I added a WARP to the mix.
Now, when I select something in the webcombo, both it and the grid lose their defaultrowheight setting, and the row sizes jump back to the Infragistics default. I'm a bit confused as to what I could possibly have done to cause this...this is way to simple a page to have problems.
Any advice apprecietd
My aspx:
<igcmbo:WebCombo ID="WebCombo1" runat="server" Version="4.00" DataValueField="VehicleID" OnSelectedRowChanged="WebCombo1_SelectedRowChanged">
<Columns>
<igtbl:UltraGridColumn BaseColumnName="SerialNumber">
<Header Caption="Serial #"></Header>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn BaseColumnName="ColorText">
</Header>
</Footer>
<igtbl:UltraGridColumn BaseColumnName="ModelYear">
<igtbl:UltraGridColumn BaseColumnName="VehicleMakeText">
<igtbl:UltraGridColumn BaseColumnName="VehicleModelText">
<igtbl:UltraGridColumn BaseColumnName="VehicleStyleText">
<igtbl:UltraGridColumn BaseColumnName="VehicleTypeText">
<igtbl:UltraGridColumn BaseColumnName="MVIVehicleID" Hidden="True" Key="VehicleID">
</Columns>
<ExpandEffects ShadowColor="LightGray" Type="Fade" />
<DropDownLayout AutoGenerateColumns="False" DropdownHeight="" DropdownWidth="" RowHeightDefault="15px"
Version="4.00">
</DropDownLayout>
</igcmbo:WebCombo>
<br />
<igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel1" runat="server" Height="20px"
TriggerControlIDs="WebCombo1" Width="80px">
<igtbl:UltraWebGrid ID="gvOwner" runat="server" DataKeyField="MVIOwnerID" EnableAppStyling="True" Browser="Xml">
<Bands>
<igtbl:UltraGridBand DataKeyField="MVIOwnerID">
<igtbl:UltraGridColumn BaseColumnName="MVIOwnerID" Hidden="True">
<Header Caption="MVIOwnerID">
<igtbl:UltraGridColumn BaseColumnName="MNIIdentityID">
<Header Caption="Identity ID">
<RowLayoutColumnInfo OriginX="1" />
<Footer>
<igtbl:UltraGridColumn BaseColumnName="MBIBusinessID">
<Header Caption="Business ID">
<RowLayoutColumnInfo OriginX="2" />
<igtbl:UltraGridColumn BaseColumnName="DateObserved">
<Header Caption="Date Observed">
<RowLayoutColumnInfo OriginX="3" />
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
</igtbl:UltraGridBand>
</Bands>
<DisplayLayout AutoGenerateColumns="False" BorderCollapseDefault="Separate" CellClickActionDefault="RowSelect"
Name="gvOwner" ReadOnly="LevelZero" RowHeightDefault="15px" RowSelectorsDefault="No"
SelectTypeRowDefault="Single" Version="4.00">
<RowStyleDefault Height="15px">
</RowStyleDefault>
<ActivationObject BorderColor="" BorderWidth="">
</ActivationObject>
</DisplayLayout>
</igtbl:UltraWebGrid></igmisc:WebAsyncRefreshPanel>
Codebehind:
{
if (!Page.IsPostBack) {
WebCombo1.DataBind();
}
Infragistics.WebUI.WebCombo.WebCombo c = (Infragistics.WebUI.WebCombo.WebCombo)sender;
gvOwner.DataBind();
Hi,
I was wondering if you ever managed to solve this? I am having a similar problem - I surrounded my webgrid and a label control with a WARP control in order to update the label each time a cell is clicked. This works fine, but now when a cell is clicked the grid loses some of the styles that have been set on it, for example, the horizontal alignment of the columns.
Thanks.