1.  在CS面页里定义一个全局变量.

          protected string str_NoticeMsg ;
           给str_NoticeMsg 赋值
           str_NoticeMsg ="onload=\"javascript:window.open               ('ScheduleNotice.aspx','','top=1000,left=1000')\"";
    2.   在HTML页面里调用这个全局变量.
    
    <body  bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout" ALINK="#0000ff" VLINK="#0000cc" <%=str_NoticeMsg %>>
<%=str_noticemsg%>

相关文章:

  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2021-06-27
  • 2022-12-23
  • 2021-08-27
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-11-25
  • 2021-08-15
  • 2021-04-09
  • 2022-12-23
相关资源
相似解决方案