Aspx网格视图FileUpload

时间:2010-08-14 11:37:25

标签: asp.net-3.5 devexpress

Bllow是我的AspxGridview语法

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" KeyFieldName="Menu_ID"
                OnCellEditorInitialize="ASPxGridView1_CellEditorInitialize" OnCustomUnboundColumnData="ASPxGridView1_CustomUnboundColumnData">
                <Columns>
                    <dx:GridViewCommandColumn VisibleIndex="0">
                        <EditButton Visible="True">
                        </EditButton>
                        <NewButton Visible="True">
                        </NewButton>
                        <DeleteButton Visible="True">
                        </DeleteButton>
                        <CustomButtons>
                            <dx:GridViewCommandColumnCustomButton Text="Create a Copy" ID="Copy" />
                        </CustomButtons>
                    </dx:GridViewCommandColumn>
                    <dx:GridViewDataTextColumn Caption="Module_ID" FieldName="Module_ID" UnboundType="Integer"
                        VisibleIndex="1">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataButtonEditColumn Caption="Target_URL" FieldName="Target_URL" UnboundType="String"
                        VisibleIndex="2">
                        <PropertiesButtonEdit>
                            <Buttons>
                                <dx:EditButton Text=".." Width="5px">
                                </dx:EditButton>
                            </Buttons>
                        </PropertiesButtonEdit>
                    </dx:GridViewDataButtonEditColumn>
                    <dx:GridViewDataTextColumn Caption="Menu_ID" FieldName="Menu_ID" UnboundType="Integer"
                        VisibleIndex="3">
                    </dx:GridViewDataTextColumn>
                </Columns>
            </dx:ASPxGridView>

AspxGridview 编辑/插入模式点击我想要FileUpload的 Target_URL 列按钮。

1 个答案:

答案 0 :(得分:0)