I have an issue want to help below:
1. I created a custom control named MyGridViewControl is custom gird view control
2. In .aspx page
<cc1:MyGridViewControl ID="gridView1" runat="server" /> <script type="text/javascript">
function test() {
// I want to get selected keys on the custom grid (how can i implement it?)
var value = gridView1.GetSelectedKeys(); // return a string like 1,2,3,4,... that is the key of data item bind to this grid is selected
}
</script>
My question is: How can i implement the custom control has GetSelectedKeys() method and compine it?
Go to the complete details ...