Showing results for 
Search instead for 
Do you mean 

Pre-Render or override render

Bronze Super Contributor
Posts: 1,284
Country: USA

Pre-Render or override render



Is there a way to overload or override APFW page rendering / pre-render.

Something like this would be nice.


Protected Overloads Overrides Sub Render(ByVal writer As HtmlTextWriter)

           ' String to hold the rendered code
           Dim Output As String = ""
           Using sw As New StringWriter
                      Using w As New HtmlTextWriter(sw)
                      End Using
                      Output = sw.ToString()
           End Using
           Output = Output.Replace("type=""" + "text" + "", Chr(34) + " ACTField=" + Chr(34) + Me.ACTField + Chr(34) + " type=""" + "text" + "")


End Sub




-- Jim Durkin