hi
i have a radgrig in dnn custom module.
i found this on guide to select and active a row in the same time
and with this configuration
it work, putting the code i need in a label.
now i have to manage the code in label to obtain a "detail", but server side the event for selected index change wont fire.
reading around i see EnablePostBackOnRowClick ="true"
whit this event fire but i've got no keyboard support.
can yuo explain me where i'm wrong?
sorry for my bad english.
Thanks
Teo
i have a radgrig in dnn custom module.
i found this on guide to select and active a row in the same time
<script type="text/javascript"> |
function RowSelected(sender, args) |
{ |
var grid = $find(sender.get_id()); |
{ |
grid.set_activeRow($get(args.get_id())); |
document.getElementById("<%= lblTest.ClientID %>").text ="<b>CODICE: </b>" + args.getDataKeyValue("CODICE_PRODOTTO"); |
// __doPostBack("<%= RadGridGiro.UniqueID %>", "RowClicked:" + eventArgs.get_itemIndexHierarchical()); |
} |
} |
function ActiveRowChanged(sender, args) |
{ |
if (sender.get_masterTableView().get_selectedItems().length < 1 || sender.get_masterTableView().get_selectedItems()[0].get_id() != args.get_id()) |
{ |
args.get_tableView().selectItem($get(args.get_id())); |
} |
} |
</script> |
and with this configuration
<ClientSettings AllowKeyboardNavigation="True" EnablePostBackOnRowClick ="false"> |
<Scrolling AllowScroll="True" UseStaticHeaders="True" /> |
<Selecting AllowRowSelect="True" /> |
<ClientEvents OnActiveRowChanged="ActiveRowChanged" OnRowSelected="RowSelected" /> |
</ClientSettings> |
now i have to manage the code in label to obtain a "detail", but server side the event for selected index change wont fire.
reading around i see EnablePostBackOnRowClick ="true"
whit this event fire but i've got no keyboard support.
can yuo explain me where i'm wrong?
sorry for my bad english.
Thanks
Teo