Hi
i have many imageButton on my page and this imageButton are linked to the radwindow which is always open in the center position on my window. My problem is that i would like to open the radwindow next the imageButton that open it. So i wouldn't scroll the window to find the radwindow.
below my script:
the command does this:
and the javascript that open the radwindow is:
Can someone help me to solve this problem .
Another question: how can i set the window so that is always view in the radwindow position?
Many thanks.
i have many imageButton on my page and this imageButton are linked to the radwindow which is always open in the center position on my window. My problem is that i would like to open the radwindow next the imageButton that open it. So i wouldn't scroll the window to find the radwindow.
below my script:
<
telerik:GridTemplateColumn
HeaderText
=
"Dealers"
HeaderStyle-Width
=
"70px"
AllowFiltering
=
"false"
>
<
ItemTemplate
>
<
asp:ImageButton
ID
=
"Ib_Button"
runat
=
"server"
CommandName
=
"Redirect"
ImageUrl
=
'~/Images/Add.png'
/>
</
ItemTemplate
</telerik:GridTemplateColumn>
the command does this:
if (e.CommandName == "Redirect")
{
GridDataItem item = (GridDataItem)e.Item;
RadAjaxManager1.ResponseScripts.Add(string.Format("Open('{0}');", item.GetDataKeyValue("Code").ToString()));
}
and the javascript that open the radwindow is:
function Open(code) {
var wnd = window.radopen('DealersD.aspx?Customer=' + code, "RadWindow1");
}
Can someone help me to solve this problem .
Another question: how can i set the window so that is always view in the radwindow position?
Many thanks.