Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
198 views

I am dealing with a scenario where in grid , whether user clicks on a row or uses up/down arrow in the grid to select a row, it should do a postback and update other fields on the page. During research I have found that EnablePostBackOnRowClick and AllowKeyboard Navigation cannot work at the same time. This is what I have :

<Selecting AllowRowSelect="true" />

 <ClientEvents OnRowSelected="GridRowSelected" OnRowMouseOver="RowMouseOver" />

 

  function GridRowSelected(sender, args) {

// do a post back to update other controls on the  page

}

 

Can someone please help me in achieving this? I have tried different methods explained in forum but nothing worked for me. In short, I want it to do a post back  when either user clicks on a row or make a selection using keyboard navigation and call this:

  void RadGrid1_SelectedIndexChanged(object sender, EventArgs e)

{

}

 

Doncho
Telerik team
 answered on 20 Dec 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?