Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gridview filled by XML, how to page? how to edit?
Message
 
 
To
11/12/2008 17:29:19
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01366773
Message ID:
01366809
Views:
9
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform