Rendering a GridView Control in a Sharepoint WebPart
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I am trying to create a Sharepoint web part that will consist of a gridview control. I cannot see any errors when debugging, and no exceptions (apparently) are thrown. protected override void RenderContents(HtmlTextWriter writer) { writer.Write("
Test Web Part
"); gv_JobData.RenderControl(writer); writer.Write("
"); lbl_Test.RenderControl(writer); writer.Write("
"); } I get the table with it's title, and the test label, but absolutely nothing for the gridview. :confused: As I am getting no errors or exceptions, I'm a bit stuck. Any suggestions as to how to find out why the gridviews RenderControl method is called happily, but nothing gets rendered?