Groups | Blog | Home


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 > september 2003 > threads for september 8 - 14, 2003

Filter by week: 1 2 3 4 5

Master Detail Web Form Challenge
Posted by Gary Brower at 9/13/2003 12:42:56 PM
Hi, I am using VB.Net to create an ASP web form. My goal is to create a master/detail web form that allows users to create new master and detail records. For example the form would have header that would have fields for: Customer XXXXX CustomerAddress XXXXX CustomerEtc... XX...more >>


EditItemTemplate Error
Posted by Aaron Prohaska at 9/12/2003 2:25:22 PM
Can anyone tell me why the following code is throwing this error: System.InvalidCastException: Specified cast is not valid Line 43: string itemID = e.Item.Cells[2].Text; Line 44: string manufacturer = ((TextBox)e.Item.Cells[3].Controls[0]).Text; Line 45: string model = ((TextBox)e....more >>

datagrid footer
Posted by tangolp NO[at]SPAM yahoo.com at 9/12/2003 1:42:05 PM
I'd like to know how to add a text box in the datagrid footer at runtime. Thanks....more >>

Parent/Child/"Grandchild" rows
Posted by Bill Greenley at 9/12/2003 11:39:00 AM
I have three grids: call them parent, child and grandchild. I can get the CreateChildView to work just fine from parent to child. ParentRowView based on SelectedIndex of underlying datamember of parent row. However, how does this work when a row in child grid is selected in order to do a Crea...more >>

detect remaining rows in a PageIndexChanged event
Posted by Marc Miller at 9/11/2003 4:02:35 PM
When I bind the data to my datagrid I call a sub to change the backcolor of the rows based on a column value. When the user changes pages in the grid, I again call the sub to change the new rows backcolor. The problem arises when there are less rows than PageSize property, i.e. if PageSize...more >>

Datagrid embedded in Datalist
Posted by Rajiv Lingayat at 9/11/2003 3:43:45 PM
Hi, I am using a datagrid control within a datalist control to build a report. Now is it possible to write ItemDataBound event for the embedded datagrid, If yes how? Thanks, Rajiv ...more >>

Money Format
Posted by Boris Condarco at 9/11/2003 12:45:55 PM
Hi, I have datareader with a 15 decimal value which is a result of (field/3 for example). When i try to bind it to a Datagrid i got the following error: Server Error in '/rcProductos' Application. ---------------------------------------------------------------------------- ---- Decimal b...more >>

DataGrid Highlight Row
Posted by Ryan Anderson at 9/11/2003 1:28:35 AM
There is an excellent article on ASPAlliance.com discussing mouseover events for the data grid here; http://aspalliance.com/Colt/Articles/Article3.aspx I have one problem with it that I cannot seem to figure out... I am using template columns (intead of bound), and everytime I mouse over and t...more >>



Buttons on grid
Posted by John at 9/10/2003 4:59:35 PM
Hi How can I place a push button on each row of a grid? Thanks Regards ...more >>

marking a row
Posted by C.K. at 9/10/2003 4:04:54 PM
Hello, I want programmatically, to mark(select) a specific row. How is been done? ...more >>

Hyperlink with image in datagrid
Posted by Vik at 9/10/2003 3:00:17 PM
I need to put an image with a hyperlink into a datagrid's column. A file name for the image's source and a parameter for the hyperlink should come from another datagrid's column. How can I do this? Thank you. ...more >>

unexpected behavior in Datagrid paging : PLEASE HELP >: (
Posted by Juan Romero at 9/10/2003 2:42:05 PM
Hi guys, Background: I have a grid that is bound to a table in a dataset. On first load the command of the SQLAdapter is configured to get all the records. I also have a calendar control on the page that changes the SQLAdapter's select command based on the date range the user selects on the ...more >>

Formatting a time field to 24 hour time (Military time) in the Datagrid
Posted by David Hearn at 9/10/2003 10:43:29 AM
Anyone know how to do this? ...more >>

Sort Command
Posted by Tiz at 9/10/2003 10:37:37 AM
Does anybody know why a Sort Command is not being called. I've declared the "allow sorting" in the DataGrid and Added the delegate to handle the event. I generate the DataColumns dinamically. Creating new BoundColumn and adding to the DataGrida Columns Collection. The column autogenerate is off...more >>

Dropdown event in datagrid
Posted by RH at 9/10/2003 8:24:58 AM
Hi, I have a dropdownlist in a datagrid and want to respond to the SelectedItemChanged event. I can't seem to find the dropdownlist in the class list and therefore cannot code the event. How can I respond to the event? TIA Remco....more >>

Databind Error -- cannot figure out why.
Posted by amcniw NO[at]SPAM yahoo.com at 9/8/2003 12:05:36 PM
I get the following error on Line 49 (UG1.DataBind()) only if the Select Stored procedure returns no records. I am using a dataadapter and a dataset and binding the datagrid to the dataset. If there is even one record my grid populates perfectly. Object reference not set to an instance of an o...more >>

Nested Datagrid
Posted by Ed at 9/8/2003 4:18:54 AM
Hi, I am trying to nest multiple datagrids within each other. for example Customer -> Orders -> Order Lines. I have filled a dataset, created the relationships, and this all works fine, when I iterate through the dataset datarow by datarow and get the child rows this works fine. The p...more >>


DevelopmentNow Blog