locked
open url in new window in telerik RadWindow RRS feed

  • Question

  • User1139542394 posted

    Hi

    My situation is

    In asp.net button click event , i have to open one URL in new window.

    So i have used the below code.But i faced popup blocker issue.So i tried RadWindow.But my client want it in new window.
    Code : -

    string url = "google.com"
    ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "history.go(-1);window.open('" + url + "');", true);

    Can anyone help me for this scenario?

    Thanks
    Visa
    Saturday, January 8, 2011 12:32 AM

All replies

  • User-196139804 posted

    Hi,

       set the   property of target to _blank

    Mark as answer if it helps u

    Monday, January 10, 2011 4:02 AM