gridview column order will be changed at runtime

2 posts, 0 answers
  1. Dhaval
    Dhaval avatar
    17 posts
    Member since:
    Feb 2011

    Posted 25 Feb 2011 Link to this post

    Hi all,

    I have an issue regarding to gridview column
    Gridview column's order will be changed at runtime
    I have edit some of the column cell value at runtime using this code

    System.Windows.Controls.TextBlock tbActual = (System.Windows.Controls.TextBlock)e.Row.Cells[7].Content;
                        if (e.Row.Cells[7].Column.Header.ToString() == "Actual Cost")
                            if (tbActual.Text != "")
                                tbActual.Text = (Decimal.Parse(tbActual.Text)).ToString("C2", ci);

    but at runtime column's order will be changed automatically.
    So, help me on this issue quickly

  2. Ivan Ivanov
    Ivan Ivanov avatar
    1202 posts

    Posted 03 Mar 2011 Link to this post

    Hi Dhaval,

    Excuse me. but I fail to understand properly you requirements. Could you please provide a simple demo project, to depict your case more clearly and help us provide you better support to your case. 

    Ivan Ivanov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top