Building Simple Web Part(With HTML)

protected override void RenderContents(HtmlTextWriter writer)
// Add a webpart (Don't select Sandboxed or Visual WebPart)
//Override CreateChildControl method
        {
            writer.RenderBeginTag(HtmlTextWriterTag.H2);
            writer.Write("Hello, world");
            writer.RenderEndTag();
        }

Comments

Popular posts from this blog

Search data in Gridview on Textbox Key press event using JQuery in Asp.Net- C#

StateCode and StatusCode Values for mostly used entities in Microsoft Dynamics CRM 2013

Dumps for Microsoft Dynamics CRM MB2-703 Practice Exam Questions Free

How to import CSV files into DataTable in C#

WebAPI Query | Dynamics CRM | Error: Property 'field' on type 'Microsoft.Dynamics.CRM.entity' is not a navigation property or complex property

go to top image