just do only
1. Add a OnPreRender to the DataPager
2. In the OnPreRender, Bind the listview again to the dataset
as my Function name is
private void getDetail()
{
clsListView obj = new clsListView();
DataTable dt = obj.getDetails();
LV_Getail.DataSource = dt;
LV_Getail.DataBind();
}
protected void Pager_PreRender(object sender, EventArgs e)
{
getDetail();
}
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
getDetail();
}
Tuesday, August 26, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment