How to get Selected list item from a Custom list programatically on Button Click
-
12. března 2012 18:39
Hi,
I have a SPGridView with Buton(ReadMore) and am binding the List Data to this Grid.Now, How to get Selected list item ID from this list on this Button Click ?
Please help me to resolve this.
Many Thanks in Advance..!
Please mark answered if I've answered your question and vote for it as helpful to help other user's find a solution quicker!
Všechny reakce
-
13. března 2012 4:05
SPGridView is inherited from GridView, so you can follow the sample for GridView.
please look the below links work in the same way as asp.net Gridview.
http://www.ezzylearning.com/tutorial.aspx?tid=5066444
MCTS,MCPD Sharepoint 2010. My Blog- http://sharepoint-journey.com
If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful- Upravený Devendra Velegandla 6. února 2013 8:36
-
14. března 2012 10:13
Thanks for the reply.
But in my case i need to get the ID of the listitem from the List where i have already binded all this listitems to Grid and need to pass this Selecetd ListItem ID to next page on Button_Click.
Please mark answered if I've answered your question and vote for it as helpful to help other user's find a solution quicker!
- Upravený Praveen Mandalapu 14. března 2012 10:14
-
16. května 2012 9:36
Got the solution, just get the ListItem ID and keep it in Hidden Variable and pass the same will makes the job done... :)Please mark answered if I've answered your question and vote for it as helpful to help other user's find a solution quicker!
- Označen jako odpověď Praveen Mandalapu 16. května 2012 9:36