Space between column in RadGridView in silverlight

2 posts, 0 answers
  1. kavitha
    kavitha avatar
    10 posts
    Member since:
    Jun 2011

    Posted 09 Jan 2014 Link to this post

    I am showing columns dynamically in Radgridview using c#.
    private
    void chk_Click(object Sender, RoutedEventArgs e) { System.Windows.Controls.CheckBox ChkBox = ((System.Windows.Controls.CheckBox)e.OriginalSource); string ControlName = ChkBox.Name.Substring(4); if (ChkBox.IsChecked == true) { VReportViewer.GrdReport.Columns[ControlName].IsVisible = true; } else { VReportViewer.GrdReport.Columns[ControlName].IsVisible = false; } return; }

    But when i click check box ..columns are showing.But in Between column i am getting space.

    Let me know how i solve this

  2. Hristo
    Admin
    Hristo avatar
    41 posts

    Posted 14 Jan 2014 Link to this post

    Hi Kavitha,

    I have tested your code, but was unable to reproduce the issue. You can see how to implement dynamic column selection by following the code of our online demo located here.

    Regards,
    Hristo
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top