我的问题是当我在更新面板下的页面中使用类似gridview和combobox的DevExpress控件时,当页面加载第一次所有工作完美但当我在控制gridview中的任何事件和更新面板下的组合框丢失时有css属性,看起来很丑,但仍然有效。我该如何解决这个问题?请帮忙!
<asp:UpdatePanel ID="UpdateGridPanel" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<dx:ASPxGridView ID="Grid" runat="server" EnableViewState="true" Width="100%"
Visible="true" ClientInstanceName="Grid" EnableCallBacks="false" EnableRowsCache="false"
SettingsBehavior-ColumnResizeMode="Control">
<Styles>
<Header BackColor="#6C1502" ForeColor="White" CssClass="alertgridhears" Border-BorderColor="White"
Border-BorderWidth="2px">
</Header>
<AlternatingRow BackColor="#e6e6e6">
</AlternatingRow>
<Cell Wrap="True" Border-BorderColor="White" Border-BorderWidth="1.95px">
</Cell>
</Styles>
<SettingsPager PageSize="5">
<PageSizeItemSettings Visible="true" Items="5, 10, 20" />
</SettingsPager>
<SettingsLoadingPanel Mode="ShowAsPopup" />
<Settings HorizontalScrollBarMode="Auto" ShowGroupedColumns="true" ShowGroupPanel="true" />
</dx:ASPxGridView>
<dx:ASPxGridViewExporter ID="gridExpt" runat="server" GridViewID="Grid">
</dx:ASPxGridViewExporter>
</ContentTemplate>
</asp:UpdatePanel>