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 > december 2005 > threads for december 1 - 7, 2005

Filter by week: 1 2 3 4 5

Calendar Control InvalidCastException
Posted by Trevor Bezotte at 12/7/2005 5:57:00 PM
Hi, I have a calendar control in an EditItemTemplate on a DetailsView which works fine, until I switch to a record in Edit mode which has no date in that field. Here is the error: System.InvalidCastException was unhandled by user code Message="Specified cast is not valid." Source=...more >>


Why Soo Slow ?
Posted by Jay at 12/5/2005 10:20:31 PM
ASP.NET 2.0. One line of code (checkbox onclick) in a databound grid really slows down the page load... <asp:TemplateColumn> <ItemTemplate> <asp:CheckBox ID="chkEmp" onClick=<%# "HighlightRow(this, """ + Eval("empname") + """)"%> runat="server" autopostback="False"/> </ItemTempla...more >>

Hiding Datagrid Rows
Posted by Shankwheat at 12/3/2005 12:00:00 AM
I have a checkbox next to each record in my datagrid that I want t either hide or display depending on whether the checkbox is checked. I want to hide/display the rows not the columns. This is what I came u with so far but maybe there's a better way? Thanks. Private Sub btnDisplayCheck...more >>

Programmatic access to TemplateColumn?
Posted by matt NO[at]SPAM mailinator.com at 12/1/2005 4:12:01 PM
hello, i have a datagrid w/ a TemplateColumn in it, like so: <asp:TemplateColumn HeaderText="Select"> <ItemTemplate> <asp:CheckBox ID="chkSelected" Runat="server"/> </ItemTemplate> </asp:TemplateColumn> ....in my c# code-behind, how do i access the checkbox? i need to add a ja...more >>

DetailsView EditItemTemplate DropdownList Update Problem
Posted by Trevor Bezotte at 12/1/2005 2:53:40 PM
Hi! I have a DetailsView with a DropDownList in an EditItemTemplate, I know, pretty cool right? But when I try to Update the table with a new value from the DropDownList the table does not get updated with the new value. I'm new at this and I'm sure I'm overlooking something simple here. I'...more >>

A collapsing panel in a datagrid/gridview
Posted by Simon Harvey at 12/1/2005 3:29:57 AM
Hi all, Can anyone tell me what the easiest way to achieve a collapsable panel area in a datagrid is? Do I need to find a third party panel control or does the datagrid/gridview somehow support this functionality inherently? Many thanks to anyone who can advise Simon ...more >>



DevelopmentNow Blog