TestCodeTest. aspx
Code
1 <% @ Page Language = " C # " Autoeventwireup = " True " Codefile = " Test. aspx. CS " Inherits = " Test " %>
2
3 <! Doctype HTML public " -// W3C // dtd xhtml 1.0 transitional // en " " Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd " >
4
5 < HTML xmlns = " Http://www.w3.org/1999/xhtml " >
6 < Head runat = " Server " >
7 < Title > Untitled page </ Title >
8
9 < Script Language = " Javascript " Type = " Text/JavaScript " SRC = " Images/JS. js " > </ Script >
10 </ Head >
11 < Body >
12 < Form ID = " Form1 " Runat = " Server " >
13 < Div >
14 < ASP: button ID = " Button1 " Runat = " Server " Onclientclick = " Showpop ('./popinputskillinfo. aspx ') " Text = " Button " /> </ Div >
15 </ Form >
16 </ Body >
17 </ Html >
18
19
JS file (put the following content directly in the Js. js file:
Function showpop (strurl)
{
Window. showmodaldialog (strurl, null, 'status ff; dialogwidth: 800px; dialogheight: 360x; dialoghide: true; help: No; scroll: no ');
}