新人求助.web 窗体定位问题.在线等.
我定义了一个按扭.按扭点击后是打开一个html页面,如何让这个页面出现在这个按扭的旁边呢?
我的代码如下
...
HtmlTableRow Color;
HtmlTableCell First;
Color=new HtmlTableRow();
First=new HtmlTableCell();
Color.ID=fieldId;
Button CHColor = new Button();
Button CHSure = new Button();
TextBox CText=new TextBox();
CHColor.Text = "color";
CHSure.Text="Sure";
First.Controls.Add(CText);
First.Controls.Add(CHColor);
CHColor.Attributes.Add("onclick","javascript:window.open ('DTColor.htm', 'newwindow', 'height=200, width=280, top=100, left=500, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no')");
Color.Cells.Add(First);
Color.Cells.Add(First);
//Color.Cells.Add(First);
CText.ID="CText";
...
CHColor点击以后打开html页面.就是想让那个页面出现在这个button的旁边