M
Mark Denardo
I recently upgraded to VS2005 and converted some projects from 1.1 to 2.0
and am seeing two weird behaviors I can't seem to resolve, and am wondering
if they are bugs or something I'm forgetting to do or add.
(issue 1)
When setting up a panel control with border settings:
<asp
anel Backcolor="BurlyWood" Borderstyle="Ridge"
BorderColor="Black" BorderWidth="1px" ... Runat="server" />
When I load the page, the border settings do not show, unless I resize
the browser. Anyone experienced this one or see something I'm missing?
(issue 2)
If I preload a Textbox control with text such as:
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Text = "abc";
}
protected void Button_Submit_Click(object sender, EventArgs e)
{
string s = TextBox1.Text;
}
And then add more text manually by typing something like "xyz".
Then I click a Submit button and if I read the text in the Textbox control
it reads only "abc", instead of "abcxyz" as I might expect. But if I don't
pre-load any text and just type "xyz" into an empty Textbox control, then
when read in code, I get "xyz" as expected. Anyone seen this problem
before, or see what my problem is?
and am seeing two weird behaviors I can't seem to resolve, and am wondering
if they are bugs or something I'm forgetting to do or add.
(issue 1)
When setting up a panel control with border settings:
<asp
BorderColor="Black" BorderWidth="1px" ... Runat="server" />
When I load the page, the border settings do not show, unless I resize
the browser. Anyone experienced this one or see something I'm missing?
(issue 2)
If I preload a Textbox control with text such as:
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Text = "abc";
}
protected void Button_Submit_Click(object sender, EventArgs e)
{
string s = TextBox1.Text;
}
And then add more text manually by typing something like "xyz".
Then I click a Submit button and if I read the text in the Textbox control
it reads only "abc", instead of "abcxyz" as I might expect. But if I don't
pre-load any text and just type "xyz" into an empty Textbox control, then
when read in code, I get "xyz" as expected. Anyone seen this problem
before, or see what my problem is?