locked
css menu is not working in this.response.write RRS feed

  • Question

  • User1046245955 posted

    here's my code for this.response.write

    this.Response.Write("<SCRIPT language=\"javascript\">open('page.aspx?bg=" + Session["user"].ToString() + "','mywindow','status=1,resizable=1,scrollbars=1');</script>");

    - this code is working but the problem is the css menu is not working when i click the button (for the new window).

    Saturday, December 25, 2010 7:29 AM

Answers

  • User-1360095595 posted

    Try to use ClientScript.RegisterStartupScript() instead of response.write.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, December 25, 2010 7:35 AM

All replies

  • User-1360095595 posted

    Try to use ClientScript.RegisterStartupScript() instead of response.write.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, December 25, 2010 7:35 AM
  • User1046245955 posted

    its working... thanks thanks... happy holidays!

    Saturday, December 25, 2010 7:41 AM