Hello
I have use Gridview and also inner grid bind in maingrid
When I am PageIndexchanging event fire in main grid is correctly working , but when I am use in inner grid page indexchanging event fired then it not working properly, I have find datakey value in inner grid page indexchanging event ,but not getting . can you have any idea ?
Loading
selva kumarPosted Jun 28, 2013, 4:57 AM
http://forums.asp.net/t/1895665.aspx/1
mark as answered if it is helpful,,,,,,,,,,,........
Sanjeeb LenkaPosted Jun 28, 2013, 2:07 AM
http://aspsnippets.com/Articles/Collapsible-Nested-GridView-with-Paging-using-ASPNet.aspx
http://www.codeproject.com/Questions/294777/Gridview-nested-on-another-gridview-getting-the-da
Jyosana PatelPosted Jun 28, 2013, 1:57 AM
GridView gvwChild = ((GridView)sender);
GridViewRow gvRowParent = ((GridView)sender).Parent.Parent as GridViewRow;
gvwChild.PageIndex = e.NewPageIndex;
int id = Convert.ToInt32(gvTaskActivity.DataKeys[gvRowParent.RowIndex].Value);