javascript - Bring new page to the front -


I am trying to open a new page using window.open in vb asp.net

The problem is that the new page does not appear in front of how can I make the new page appear in front of the current page?

  Protected sub btnedit_Click (as the object, in the form of e EventArgs) btnedit.Click ScriptManager.RegisterStartupScript (My, GetType (string), "OPEN_WINDOW", "varMatha = ( Screen.width / 2) - (760/2); var Mtop = (screen.height / 2) - (700/2); var newwin = window.open ('& amp; ResolveUrl ("~ / webform / multimedia / Video / playlistadd.aspx mediaID =? "& Gvlist.Tag (gvlist.SelectedIndex) & amp;";) & amp; "', null,' height = 600, width = 750, position = yes, toolbar = No, scrollbar = yes, menu bar = no, location = no, resizable = no, top = '+ mtop +', left = '+ mleft +'); Newwin.focus (); ", true) End Sub   

To eliminate confusion,

  = window.open newwin ('/ webform / Multimedia / Videos / playlistadd.aspx? MediaID = myvalue 'zero', height = 600, width = 750, position = yes, toolbar = no, scrollbar = yes, menu bar = no, location = no, resizable = no, top = ' + M + + ', left =' + Mleft + ''); Newwin.focus ();    

To force it to show BringToFront method Use front

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -