Click here to Skip to main content
12,509,932 members (57,883 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET MVC3
hi,


i am using kendoui

in this i need one button function if i click on button it should move the selected rows in a grid to the another grid database when i refresh grid2 should display those rows.

for this i have retrieve id from view to controller and also i have to use url in this click button function,

so present i am trying to retrieve id;s using ajax but i don't know how to retrieve the id's

so anyone can please send me sample or related code

only in Kendoui.


Thanks,
Posted 29-Jun-12 2:15am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

please try this code to find selected rows
var FirstGridSelctedRows_id = $("#yourfirstgridId  tr.k-state-selected").attr("data-id")
  Permalink  
Comments
Sukanya Karri 2-Jul-12 1:24am
   
Thank you so much i also worked nearly same way any way thanks for giving sample code.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 1 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100