Hi everybody!!!
i have a problem using radpagemultiview i have on each radpageview a grid, my problem is in the second radgrid when i use javascript openRadWindow if i do double click the popup get the correct path but if i click in the link button using javascript not get the correct path i dont understand why because i wrote correct path
<a href="#" onclick="openRadWindow2('<%#DataBinder.Eval(Container.DataItem,"cod_empleado")%>'); return false;">
Imprimir</a>
and my javascript:
<telerik:RadCodeBlock ID="RadCodeBlock4" runat="server">
<script type="text/javascript">
function refreshGrid(arg) {
if (!arg) {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
}
else {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate");
}
}
function RowDblClick(sender, eventArgs) {
window.radopen("Descuentoempleado?cod_empleado=" + eventArgs.getDataKeyValue("cod_empleado"), "UserListDialog");
}
function openRadWindow(cod_empleado_) {
var oWnd = radopen("Descuentoempleado.aspx?cod_empleado=" + cod_empleado_, "UserListDialog");
oWnd.center();
}
</script>
</telerik:RadCodeBlock>
i hope anybody can help me thank u very much
i have a problem using radpagemultiview i have on each radpageview a grid, my problem is in the second radgrid when i use javascript openRadWindow if i do double click the popup get the correct path but if i click in the link button using javascript not get the correct path i dont understand why because i wrote correct path
<a href="#" onclick="openRadWindow2('<%#DataBinder.Eval(Container.DataItem,"cod_empleado")%>'); return false;">
Imprimir</a>
and my javascript:
<telerik:RadCodeBlock ID="RadCodeBlock4" runat="server">
<script type="text/javascript">
function refreshGrid(arg) {
if (!arg) {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
}
else {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate");
}
}
function RowDblClick(sender, eventArgs) {
window.radopen("Descuentoempleado?cod_empleado=" + eventArgs.getDataKeyValue("cod_empleado"), "UserListDialog");
}
function openRadWindow(cod_empleado_) {
var oWnd = radopen("Descuentoempleado.aspx?cod_empleado=" + cod_empleado_, "UserListDialog");
oWnd.center();
}
</script>
</telerik:RadCodeBlock>
i hope anybody can help me thank u very much