Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
grdEmail_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
DateTime test =
new
DateTime(0001, 01, 01);
Nullable<DateTime> _myDateTime;
_myDateTime = Convert.ToDateTime(s);
(_myDateTime == test)
item[
"MyDate"
].Text =
""
;
}
_myDateTime = Convert.ToDateTime(s); thanks, Minh Bui
<
telerik:GridDateTimeColumn
DataField
=
"customdate"
HeaderText
UniqueName
>
</
RadGrid1_ItemDataBound(
GridDataItem item = e.Item
as
GridDataItem;
DateTime dt;
(DateTime.TryParse(item[
].Text,
out
dt))
(dt ==
DateTime())
string
.Empty;