Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > asp.net datagrid control > october 2004 > threads for october 1 - 7, 2004

Filter by week: 1 2 3 4 5

adding button to header, footer or Pager of dataGrid
Posted by rosh at 10/7/2004 12:42:20 AM
hi i want to know whether is it possible to add button (say DELETE button) in the header,footer or Pager of a dataGrid? If yes,how do i achieve the same? thnkx cheers *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Setting widths of columns
Posted by Gary Paris at 10/6/2004 3:17:29 PM
I have a DataGrid on a Windows Form and I set the DataSource and DataMember. Data appears correctly. Question is how can I make certain columns wider to accomodate the fields. One field is ComapnyName and half of it gets truncated. Any help would be appreciated. Thanks, Gary ...more >>

Getting control of Items within a Datalist
Posted by ree32 NO[at]SPAM hotmail.com at 10/5/2004 11:47:23 PM
I have a problem as I have placed a dropdownlist in a datalist. Whenever the selected index changes I need to change a label inside the datalist. The problem is I can't get control of the label. When dropdownlist changes it goes to a function with args of systemEvent than a DataListItemEv...more >>

Binding a image button to a datagrid
Posted by c24chan NO[at]SPAM gmail.com at 10/5/2004 7:42:36 PM
Hi: I have a datagrid and I've created a itemtemplate column with textbox inside each row like the following: <asp:TemplateColumn HeaderText="New NIBS DS1s"> <ItemTemplate> <asp:TextBox ID="txtNewNIBSDS1" Runat="server" MaxLength="10" Enabled="True" Visible="True" Width="200" ReadOnly="F...more >>

validation controls
Posted by Ian Oldbury at 10/5/2004 1:43:02 PM
I've a datagrid with a textbox with autopostback=True and also validation controls. Even if the validation controls fail the postback still occurs. How can i stop this happening? ian ...more >>

Inserting an Image into a Column
Posted by W Akthar at 10/5/2004 7:18:39 AM
Hi All, I want to know how to insert an image into a datagrid column. I am using the following method to create a DataTabel which I then add to a dataset and finally set the datasource of datagrid to this dataset. DataSet dsOrgs = GetAllContactNotesByContactID(id); DataSet ds = new D...more >>

adding subHeader to dataGrid
Posted by rosh shah at 10/5/2004 3:42:19 AM
i want my datagrid to look as below : ------------------------------------- Account | | column1 | column2 | column3 | ------------|-------------|----------| | | | | | | wh...more >>

Grid texbox autopostback
Posted by Ian Oldbury at 10/4/2004 6:19:27 PM
Hi All, I'm trying to perform an autopostback on a textbox, when i leave the cell it does postback to the server but i can't find the event that it calls. I create the datagrid using the ItemDataBound event. has anyone got any ideas? cheers ian aspx page <edititemtemplate> ...more >>



How to add New Column to existing DataTable in specific position.
Posted by GoodMorningSky at 10/4/2004 5:36:13 PM
I want to add new DataColumn to existing DataTable object as first column shown in the datagrid. (like DataColumn dc = new DataColumn("Target"); dc.DataType = typeof(string); dc.DefaultValue = tbl.TableName; tbl.Columns.Add(dc); ) Whenever I add it, the column is shown at the end...more >>

Refrence image in template column
Posted by David A. Coursey at 10/4/2004 4:34:06 PM
I am trying to change the image in my column depending on the status of the db field. All of the data is being populated correctly, I just haven't been able to get the image path to work. aspx page: <asp:boundcolumn visible="False" datafield="success" /> <asp:templatecolumn headertext="S...more >>

Remove an item from a datagrid on binding
Posted by A Traveler at 10/4/2004 10:54:05 AM
Hello, i have a datagrid which i have set up so it has "Accounting" style formating (alternating items with a different backcolor). There are a few rows which the client wanted removed. This is no problem to do, however the rows still count into the sequence for item,alternateitem,item,alter...more >>

How to create a Paging navigation in a datagrid?
Posted by stanley mroczek at 10/2/2004 8:40:54 AM
Hello, I created a data grid which 500 records . Now i need to create the navigation. Something like: Previous [Current Page] of [Total Pages] Next Can someone help me out? Thank you, stan *** Sent via Developersdex http://www.developersdex.com *** Don't just participat...more >>

datagrid layout??
Posted by Dickson at 10/2/2004 12:22:30 AM
If i set the property "allowpaging" to true and "pagesize" to 10, the datagrid layout display is fine with 10 records and my problem is when navigate to the last page with only fewer record like 3 and the layout for the 3 record seem to be quite big, i mean each row the height is bigger than whe...more >>


DevelopmentNow Blog