Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
627
HyperLink column - the new window does not get the focus
posted

Hi,

I'm using a HyperLink column in a webGrid. Clicking the hyperLink opens a new window, but the new opened window does not get the focus.

I did it by:

UltraGridCell CEIDCell = e.Row.Cells.FromKey("ID");

CEIDCell.Column.Type = ColumnType.HyperLink;

CEIDCell.TargetURL = string.Format("@[_blank]ID_MainPage.aspx?ID={0}", CEIDCell.Value);

CEIDCell.AllowEditing = AllowEditing.No;

 

How can I cause the new window get the focus?

 

Thanks

Maya

Intel

Parents Reply Children
No Data