B
Blaz Ziherl
Hi all,
I have two ASP.NET newby questions:
1. what and why are there tag prefixes (example <asp:....)?
2. why doesn't the following code (in VB.NET) render these prefixes?
Dim myTextBox As New System.Web.UI.WebControls.TextBox
Dim oStringWriter As System.IO.StringWriter = New
System.IO.StringWriter
Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
System.Web.UI.HtmlTextWriter(oStringWriter)
myTextBox.RenderControl(oHtmlTextWriter)
TextBox1.Text = oStringWriter.ToString()
Regards,
Blaz
I have two ASP.NET newby questions:
1. what and why are there tag prefixes (example <asp:....)?
2. why doesn't the following code (in VB.NET) render these prefixes?
Dim myTextBox As New System.Web.UI.WebControls.TextBox
Dim oStringWriter As System.IO.StringWriter = New
System.IO.StringWriter
Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
System.Web.UI.HtmlTextWriter(oStringWriter)
myTextBox.RenderControl(oHtmlTextWriter)
TextBox1.Text = oStringWriter.ToString()
Regards,
Blaz