Dear Telerik Team,
can you please tell me how to change my column "Date" format string dynamically?
Now the column "Date" shows the date like this: "25/11/2009 12:00:00" and i want to change it (from vb.code) "25/11/2009".
The datatable is bound dynamic.
Thank you in advance for your time.
I use:
V.S. 2008 ASP (VB)
Telerik ASP.NET AJAX 2010.2.929.35 Trial
The code is:
grdData.DataSource = GetData()
grdData.DataBind()
Dim colDates As GridDateTimeColumn
colDates = grdData.Columns.FindByUniqueName("Date")
colDates.DataFormatString = "0:MM/dd/yy"
and i get the error:
Best regards,
Navarino Technology Department.
can you please tell me how to change my column "Date" format string dynamically?
Now the column "Date" shows the date like this: "25/11/2009 12:00:00" and i want to change it (from vb.code) "25/11/2009".
The datatable is bound dynamic.
Thank you in advance for your time.
I use:
V.S. 2008 ASP (VB)
Telerik ASP.NET AJAX 2010.2.929.35 Trial
The code is:
grdData.DataSource = GetData()
grdData.DataBind()
Dim colDates As GridDateTimeColumn
colDates = grdData.Columns.FindByUniqueName("Date")
colDates.DataFormatString = "0:MM/dd/yy"
and i get the error:
Cannot find column with UniqueName 'Date'
"Date" column exists in Grid.Best regards,
Navarino Technology Department.