D
Dina
If anyone could assist me with this issue, I'd really appreciate it!
I have a literal web control, litControl1, in webForm.aspx.
I want to modify the litControl text property from a user control
code-behind page, userControl.ascx.vb.
To do this with VS2003, I had to modify the Web Form Designer Generated
code
from
Protected WithEvents litControl1 As System.Web.UI.WebControls.Literal
to
Public Shared litControl1 As System.Web.UI.WebControls.Literal
and then I could access the property using webForm.litControl1.text =
"whatever"
Since upgrading to VS2005, this code is no longer valid.
Does anyone have any thoughts on any other methods to try???
Thanx in advance!!!
-Dina
I have a literal web control, litControl1, in webForm.aspx.
I want to modify the litControl text property from a user control
code-behind page, userControl.ascx.vb.
To do this with VS2003, I had to modify the Web Form Designer Generated
code
from
Protected WithEvents litControl1 As System.Web.UI.WebControls.Literal
to
Public Shared litControl1 As System.Web.UI.WebControls.Literal
and then I could access the property using webForm.litControl1.text =
"whatever"
Since upgrading to VS2005, this code is no longer valid.
Does anyone have any thoughts on any other methods to try???
Thanx in advance!!!
-Dina