Hi all,
i want to make a small pop out windows from the cell button on the Web Grid. How can it be done? Screenshot as below:
I have an idea as below coding and i would like pass the values from the webgrid into the small windows.
Protected Sub dgResult_ClickCellButton(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.CellEventArgs) Handles dgResult.ClickCellButton
xxxxCellbutton.Attributes.Add("onclick", "window.open('popup.aspx',null,'left=400, top=100, height=250, width= 250, status=n o, resizable= no, scrollbars= no, toolbar= no,location= no, menubar= no');");
End Sub
Use a template column of type hyperlink for edit ,and in dgResult_InitializeRow
e.Row.Cells.FromKey("Edit").TargetURL = "window.open('popup.aspx',null,'left=400, top=100, height=250, width= 250, status=n o, resizable= no, scrollbars= no, toolbar= no,location= no, menubar= no')";
Hi
Even I am looking for a solution in which if I clieck on hyperlink cell it should open new window with focus on it. But
this does not work.
Plz help on this