radgrid format textbox in edit mode
I'm posting here after a few hours of searching this site and the internet with no luck. Can someone advise if there's a way to format textbox values shown in radgrid edit mode? The dataformatstring property of the gridbounditem control works well, but once you click edit, all of the formatting is lost. I'm specifically attempting to format a few currency and date fields.
Thanks in advance!
Hello Jeff,
You could try getting the edit item, when the RadGrid is in edit mode and explicitly set the format strings to the TextBox controls from the edit item. Please check out the following online documentation articles which enplanes how to get cells and rows in RadGrid:
http://www.telerik.com/help/aspnet-ajax/grdaccessingcellsandrows.html
Additionally I am sending you a simple example which demonstrates the desired functionality. Please check it out and let me know if it helps you.
I hope this helps.
Regards,
Radoslav
the Telerik team