Hi Telerik,
if,grid item double click,we can show item detail
the same process, the Enter button you want to make a pressure,
I tried this code,
because I could not get ID does not show details,
Thank you for your answer.
if,grid item double click,we can show item detail
<
ClientSettings
EnablePostBackOnRowClick
=
"true"
><
br
> <
ClientEvents
OnRowDblClick
=
"SelectTab"
/><
br
> <
Selecting
AllowRowSelect
=
"true"
/><
br
> </
ClientSettings
>
<
script
type
=
"text/javascript"
><
br
><
br
> function SelectTab() {<
br
> var tabStrip = $find("<%= rdDisputeOutputTabStripDetail.ClientID %>");<
br
> var tab = tabStrip.findTabByText("Detail");<
br
> if (tab) {<
br
> tab.select();<
br
> $('html,body').scrollTop(0);<
br
> }<
br
> } <
br
> </
script
>
the same process, the Enter button you want to make a pressure,
I tried this code,
<
ClientSettings
AllowKeyboardNavigation
=
"true"
> <
br
> <
ClientEvents
OnKeyPress
=
"keyPressed"
/> <
br
> <
Selecting
AllowRowSelect
=
"true"
/><
br
> </
ClientSettings
> <
br
>
<
script
type
=
"text/javascript"
><
br
><
br
function keyPressed(sender, args) {<
br
if (args.get_keyCode() == 13) {<
br
alert("Hello");<
br
var e = args.get_domEvent().rawEvent;<
br
e.returnValue = false;<
br
e.cancelBubble = true;<
br
><
br
if (e.stopPropagation) {<
br
e.preventDefault();<
br
e.stopPropagation();<
br
> }<
br
> } <
br
> <
br
> } <
br
> </
script
>
because I could not get ID does not show details,
Thank you for your answer.