Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I have a TabContainer in that there are 3 Tabs and each Tab contains different GridView.So how can i get data of each row of the every Tab's GridView.I have created Tabs and GridView dynamically.
Posted
Updated 28-Jun-15 2:57am
v3
Comments
F-ES Sitecore 28-Jun-15 8:25am    
You'll need to explain what you mean by a "tab" and how they are implemented.
Merajuddin Ansari 28-Jun-15 8:56am    
I have one TabContainer inside that i have added 3 tabs and each tab contains different different GridView. So i want to save GridView data to the Database.

1 solution

To find gridview in a tab panel in tab container you can do something like -
HTML
Gridview Gridview1 =(Gridview) TabContainer1.FindControl("TabPanel1").FindControl("Panel1").FindControl("Gridview1");


Hope, it helps :)
 
Share this answer
 
Comments
Merajuddin Ansari 29-Jun-15 3:06am    
thanks giri it helped me out.
Suvendu Shekhar Giri 29-Jun-15 3:12am    
Glad to know that it helped :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900