radgrid format textbox in edit mode - General Discussions - General Discussions - Progress Community
 General Discussions

radgrid format textbox in edit mode

  • 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!
  • 196551_example.zip
    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

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.