Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > can't Update information at the editing row

Thread Tools

can't Update information at the editing row

Posts: n/a
I have create a dropdownlist in datagrid, and when I
select the item in the dropdownlist. It will retrieve
information from the database and update
the "Boundcolumn". But I cant invoke
the "OnSelectedIndexChanged" when I clicked on the

<ASPATAGRID id="MyDataGrid" runat="server"
AutoGenerateColumns="False" HeaderStyle-BackColor="#aaaadd"
Font-Size="8pt" Font-Name="Verdana" CellPadding="2"
BorderColor="Black" BackColor="White"Width="100%" Font-
Names="Verdana" GridLines="Horizontal"
OnEditCommand="EditCommand" OnCancelCommand="CancelCommand"
OnUpdateCommand="UpdateCommand" nItemCommand="ItemCommand"

<ASP:EditCommandColumn EditText="Edit" CancelText="Cancel"
<asp:TemplateColumn HeaderText="Stage">
<aspropDownList id="StageList" runat="server"
DataSource="<%# GetVersionStage(getFileName)%>"
DataTextField="sStage" >
<asp:BoundColumn DataField="dtDateTime"
HeaderText="Date/Time" ReadOnly="True"></asp:BoundColumn>
<asp:BoundColumn DataField="nSize" HeaderText="Size"
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to stop editing another row in a Gridview, ReorderList etc when another row is already being edited Andrew Jocelyn ASP .Net 2 04-27-2009 02:01 AM
ok I can do a totals row but how about a percentage row after each data row D ASP .Net Datagrid Control 0 05-23-2005 04:10 PM
"Deleted row information cannot be accessed through the row." WHY!! Mohammad Ali via ASP .Net 0 04-16-2005 07:17 AM
Clicking on a datagrid row selects it but doesn't update prev row Sameeksha ASP .Net Web Controls 0 04-07-2005 10:05 AM
Row / Column gets much bigger when editing a row in grid Bazza Formez ASP .Net 4 12-09-2004 11:03 PM