How to get Selected list item from a Custom list programatically on Button Click
-
segunda-feira, 12 de março de 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!
Todas as Respostas
-
terça-feira, 13 de março de 2012 04: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- Editado Devendra Velegandla quarta-feira, 6 de fevereiro de 2013 08:36
-
quarta-feira, 14 de março de 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!
- Editado Praveen Mandalapu quarta-feira, 14 de março de 2012 10:14
-
quarta-feira, 16 de maio de 2012 09: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!
- Marcado como Resposta Praveen Mandalapu quarta-feira, 16 de maio de 2012 09:36

