Last post Nov 18, 2005 05:40 PM by Baiju
Nov 18, 2005 11:21 AM|Konstantina|LINK
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
Protected WithEvents litControl1 As System.Web.UI.WebControls.Literal
Public Shared litControl1 As System.Web.UI.WebControls.Literal
and then I could access the property using webForm.litControl1.text =
Since upgrading to VS2005, this code is no longer valid.
Does anyone have any thoughts on any other methods to try???
Nov 18, 2005 05:40 PM|Baiju|LINK