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 >>
|