Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic data editing/saving
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00779261
Message ID:
00779958
Vues:
11
I have a Multi row edit page on this intranet that I'm doing.

Concept is a grid with a column of buttons, where the relevant description of the data is the button lable. In my situation that is acceptable to Mgmt.

The largest table has 80,000 transactions. With the use of a textbox for primary filtering my datagrid is at most 180 items.

I put this grid inside a {div> tags replace { with < where needed.

{div style="OVERFLOW: auto; WIDTH: 247px; HEIGHT: 416px">

mm:mmdatagrid id="MmDataGrid1" style="Z-INDEX: 101; LEFT: 4px; POSITION: absolute; TOP: 5px" runat="server AutoPostBack="True" AutoGenerateColumns="False" Width="128px" Height="263px" BindingSource="DepapplD" OnItemCommand="Button_Edit">
{Columns>
{asp:TemplateColumn HeaderText="Print">
{ItemTemplate>
{asp:Checkbox id=chkreleases Checked='<%# DataBinder.Eval(Container.DataItem, "ap_noprint")%> ' Runat="server">
{/asp:Checkbox>
{/ItemTemplate>
{/asp:TemplateColumn>
{asp:ButtonColumn ButtonType="PushButton" DataTextField="ap_part" HeaderText="PTO Model" CommandName="ButtonEdit">
{ItemStyle Wrap="False">
{/asp:ButtonColumn>
{/Columns>
{PagerStyle Mode="NumericPages">
{/PagerStyle>
{/mm:mmdatagrid>
{/div>

This gives me a list of buttons to click on. The ButtonEdit fetches the data.

Others have a page that calls a new page and that is a RPITA for the users.

YMMV

__Stephen

>Thanks for the information. I actually had no problems with this part of the setup. This was in the developer guide and it worked for fine retrieving the data. What I didn't see were examples of what methods you would call to move through rows in a multi-row dataset, as well as adding and deleting rows. I was really hoping for a sample of this kind of behavior. I'm sure it's simple, but I haven't seen examples of the correct appropriate calls.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform