For custom Next/Previous/First/Last buttons:
CommandName="Page" CommandArgument="..."
[Command arguments paramters]
Yes the buttons need to be in a template of the DetailsView control, they cannot be outside. Make sure they aren't outside if they aren't working....grrrr.
To access an item in the Pager template:
DetailsView1.BottomPagerRow.FindControl("...")
In the aspx page, set the DataKeyNames to allow SQL Statements to be updated/deleted.
Cheers,
No comments:
Post a Comment