Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 13th, 2008, 08:19 AM
Authorized User
 
Join Date: Mar 2008
Location: Delhi
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to myself.panku
Default Dynamic Template Clm in Ultrawebgrid in c#

How to add a checkbox into infragistic ultrawebgrid at runtime....
i m using this code. But using that what i get a blank template column along with others bound column, but unable to see the check box...

Please help me it's urgent......
Co-operation will be appreated...
Thanks


This is piece of code for adding template column , i m using..

// Start

Infragistics.WebUI.UltraWebGrid.TemplatedColumn objTempColumn = new Infragistics.WebUI.UltraWebGrid.TemplatedColumn();

Infragistics.WebUI.UltraWebGrid.UltraGridCell Cell = new UltraGridCell();

Infragistics.WebUI.UltraWebGrid.CellItem CI = new CellItem(Cell);

CheckBox objChk = new CheckBox();
objChk.ID = "chkPointID";

CI.Controls.Add(objChk);
objTempColumn.CellItems.Add(CI);
UltraWebGrid1.Bands[0].Columns.Add(objTempColumn);

//End

__________________
Thanks
-Pankaj Bahuguna




Similar Threads
Thread Thread Starter Forum Replies Last Post
UltraWebGrid alwaysconfused ASP.NET 2.0 Basics 0 September 9th, 2008 06:36 AM
help required in datagrid dynamic template column govind ASP.NET 1.x and 2.0 Application Design 2 January 4th, 2006 11:32 AM
View state of Dynamic Template columns tatineni_m ASP.NET 1.x and 2.0 Application Design 2 January 17th, 2005 01:54 AM
Dynamic Template Repeater Find Control zac ASP.NET 1.0 and 1.1 Professional 0 October 9th, 2003 10:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.