日期:2014-05-17  浏览次数:21070 次

asp:GridView自带的编辑按钮点击后进入了事件但是文本状态还是没有改变为可编辑!!!
本帖最后由 u010690451 于 2013-08-31 21:49:43 编辑
前台代码:

<ext:ContentPanel ID="CtlPal" runat="server" Width="400px"  BodyPadding="5px"
                EnableBackgroundColor="false" ShowBorder="false" ShowHeader="false" Height="446px">
                <%--<div style="overflow: scroll; height:446px"
                    runat="server" id="divProjectDetail">--%>
                    <asp:GridView ID="GridCabinetType" runat="server" BackColor="White" BorderColor="Silver" 
                    Width="500px" DataKeyNames="Number" AutoGenerateColumns="false"
                        BorderStyle="None" BorderWidth="1px" GridLines="Horizontal"
                        OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating">
                    <AlternatingRowStyle BackColor="White"></AlternatingRowStyle>                    
                    <Columns>
                    <asp:BoundField HeaderText="编号" DataField="Number">
                    <HeaderStyle Font-Bold="True"></HeaderStyle>
                    </asp:BoundField>                      
                
                    <asp:BoundField HeaderText="衣柜类型" DataField="CabinetType">