1. Add the DataGrid to the Controls collection protected override void CreateChildControls() { … dgEmployees = new DataGrid(); dgEmployees.EnableViewState=true; dgEmployees.AutoGenerateColumns=false; Tweet This Post Digg This Post Reddit Stumble This Post
Archive for December, 2008
DataGrid Pagination in Webparts
Step 1: Set up your CreateChildControls protected override void CreateChildControls() { dGrid = new DataGrid(); // write code to set up the data grid // with your columns etc. dGrid .PageIndexChanged +=new DataGridPageChangedEventHandler(dGrid _PageIndexChanged); base.Controls.Add(dGrid); base.CreateChildControls(); Tweet This Post Digg This Post Reddit Stumble This Post
InfoPath form to a Windows SharePoint Services
Introduction: In Microsoft Office InfoPath, you cannot submit form data to a Microsoft Windows SharePoint Services document library directly. This article describes how to design a form template that uses script to submit form data to a Windows SharePoint Services document library. In InfoPath, you can submit the form data to a Windows SharePoint Services [...]
