Looking at the stack trace, the program is not getting to the PageChangeClicked() method.
Instead it is crashing on the DetailsClicked() event method. A page change command is a ItemCommand event as well. You need to insert code on the ItemCommand Handler(DetailsClicked) like this:
protected void DetailsClicked(object sender, ItemCommandEventArgs e)
{
if (e.CommandName=="Details")
///...Event Handler for Details button
}
Then change the details button as follows:
<asp:ButtonColumn Text="Details" ButtonType="PushButton" HeaderText="FAQ Details" CommandName="Details"></as
Main Topics
Browse All Topics





by: kaflekkPosted on 2006-08-09 at 23:12:16ID: 17285511
After line
ProductDataGrid.CurrentPag
add and try
ProductDataGrid.EditItemIn
its working perfectly in mine. Hope so it works for you too