Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gridview filled by XML, how to page? how to edit?
Message
 
 
À
11/12/2008 17:29:19
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01366773
Message ID:
01366809
Vues:
7
>Hello all,
>
>I'm a newbie to ASP.NET (as you will see).
>
>I've a webform with a Gridview, bound to a dataset. The dataset is filled by a Foxpro.dll delivering XML.
>
>Everything works fine, the Grid is filled with data from a foxpro-dbf, just like I want, AllowPaging is True, so I get the first 10 records.
>
>1.
>I get an error (The GridView 'grdKlanten' fired event PageIndexChanging which wasn't handled.) when I press '2' to page to record 11-20. When reading about the gridview, I undertsand I have the wrong type of dataobject bound to the gridview, which doesn't allow paging. I do not have the slightest idea what to do next.
>2.
>When setting autogenerateditbutton (which works fine) and I press Edit, i get an error too: The GridView 'grdKlanten' fired event RowEditing which wasn't handled.
>
>Any ideas?
>
>TIA
>
>Lennert

I think you would need to add these events. In the PageIndexChanging event as I recall you need to set current PageIndex and the do Grid.DataBind()
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform