I have following code to resize the form at run-time but it does not work. Form size remains same. What could be the possible reason? \r\n \r\nfrmErrMsg.btnNo_Err.Visible = True \r\nfrmErrMsg.btnOK_Err.Text = "Yes" \r\n \r\nfrmErrMsg.Height = 800 \r\nfrmErrMsg.btnNo_Err.Top = frmErrMsg.Height - 80 \r\nfrmErrMsg.btnOK_Err.Top = frmErrMsg.Height - 80 \r\n \r\nfrmErrMsg.ShowDialog()
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe