This is a migrated thread and some comments may be shown as answers.

Space between column in RadGridView in silverlight

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
kavitha
Top achievements
Rank 1
kavitha asked on 09 Jan 2014, 02:00 PM
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

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 14 Jan 2014, 01:51 PM
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 >>
Tags
GridView
Asked by
kavitha
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or