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
all groups > asp.net datagrid control > august 2007

Edit works, but text box i row is too small
Posted by Joe Stateson at 8/29/2007 2:05:15 PM
I have been using the "Edit" command button in a gridview to edit fields in a table. On field, Description, is a variable character string and it only shows up in a single un-wrapped text box (as do all the other fields in the row). It might be up to 500 words long and I need a large textbox...more >>


ASP.NET Gridview - Edit (Update)
Posted by at 8/29/2007 5:45:11 AM
When I try and update using the gridview edit option, all of the records in the entire Access database get changed. Is this normal in gridview? Is there a way to change this behavior? Or should I be using a different control? Thanks Page Code is as follows: <%@ Page Language="VB" %> ...more >>

Row edit fails to recognize new values
Posted by John Henry at 8/21/2007 8:00:23 AM
I am having a problem with the grid view control. When i edit a row the new values placed into the text boxes are not passed as a new values when the update event occurs. I am stumped...any suggestions would be appreciated. John ...more >>

Inline Calculations for Databinding
Posted by Nathan Sokalski at 8/20/2007 6:23:09 PM
I have two fields in the Datatable that I am using as my DataSource that I need to multiply together before displaying them. Here is the databinding expressions from my ASPX file to display the fields separately: '<%# Databinder.Eval(Container.DataItem,"price","{0:C}") %>' '<%# Databinder.Ev...more >>

problem ordering buttons vertically in cell
Posted by Joe Stateson at 8/16/2007 5:05:18 PM
In one cell of a datagridview I want to put two buttons. I got this to work easily using thisButton = new HtmlButton(); e.Row.Cells[5].Controls.Add(thisButton); thisButton = new HtmlButton(); e.Row.Cells[5].Controls.Add(thisButton); ======BUT===== I want them to be centered, at least horizo...more >>

Hiding blank rows in a datagrid
Posted by Ben. at 8/15/2007 3:24:00 AM
Hi I have a bound datagrid in my page. I want to hide rows where there is no data, is this possible. Example - Row 1: Name | TestNameValue Row 2: Address | Row 3: Phone | 08322232 Row 4: FAX | Would be displayed as Row 1: Name | TestNameValue Row 2...more >>

Javascript confirmation message in datagrid
Posted by Peter Afonin at 8/13/2007 6:24:22 PM
Hello, I need to add a confirmation message to the Delete button in the datagrid. I was always using this code to do this: Private Sub dgRoles_ItemCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles dgRoles.ItemCreated '--------------------...more >>

PostbackURL
Posted by Ross Culver at 8/7/2007 1:48:02 PM
Is there a way to assign a postbackURL to a gridview? Ross ...more >>



Gridview - Pull value from one cell in one row
Posted by pvong at 8/5/2007 10:15:08 AM
Hi, I'm a newbie and I'm looking for some help. I'm programming in VB.Net. I have a simple gridview and when the user hits the Edit link, the gridview changes to edit mode. I replaced the Textboxes with labels and I turn off the Update command because I want to write my own up...more >>


DevelopmentNow Blog