Posted on: 10/12/2012 1:21:48 AM | Views : 359

 
Hi,
I am trying to hack the below code from .net webpart code and put it into a normal .net webform.
I have most working but I am unsure what to do with the below.  I want it to run in the web form page itself...but the below just puts it in a blank web page.
How would I incorporate this into a normal page load?
 
Protected Overrides Sub Render(writer As System.Web.UI.HtmlTextWriter) 'If strLoginName <> String.Empty Then writer.Write("<table border=0>") writer.Write("<tr>") writer.Write("<td class='ms-vb'>") writer.Write("Current password:") writer.Write("</td>") writer.Write("<td class='ms-vb'>") 'oldpassword.RenderControl(writer) writer.Write("</td>") writer.Write("<td class='ms-vb'>") writer.Write("</td>") writer.Wri ...

Go to the complete details ...