Hi,
It appears that if you remove the Telerik.Windows.Controls.GridView.pdb from a project and then run the project in debug mode, an exception is thrown when you try to insert a row into an instance of the RadGridView control.
I'm just concerned about this because our application allows end users to create plug-in components, and some of them do this using Telerik controls, but they don't always provide the .pdb files. Since this is only happening in debug mode, it's probably not an issue, but I am curious why this is happening?
To reproduce:
Create a simple WPF application and add a RadGridView to the main window.
Create a simple data structure, example:
Bind the grid to an observable collection of that data structure:
Build the application in "Debug" mode, and then run it.
You should be able to insert rows into the RadGridView just fine.
Now, go into the output directory for the application and delete this file:
Telerik.Windows.Controls.GridView.pdb
Don't rebuild the application, just run it again, in debug mode.
If you try to insert a row into the grid, the system throws an exception and complains about a data binding object of some sort.
Any idea as to why this is happening? I thought .pdb files were only used in the event that an exception was thrown, so I'm a little unclear as to why RadGridView would crash *because* there is no .pdb file available...
Thanks.
It appears that if you remove the Telerik.Windows.Controls.GridView.pdb from a project and then run the project in debug mode, an exception is thrown when you try to insert a row into an instance of the RadGridView control.
I'm just concerned about this because our application allows end users to create plug-in components, and some of them do this using Telerik controls, but they don't always provide the .pdb files. Since this is only happening in debug mode, it's probably not an issue, but I am curious why this is happening?
To reproduce:
Create a simple WPF application and add a RadGridView to the main window.
Create a simple data structure, example:
public class MyRecord
{
public string MyField { get; set; }
}
Bind the grid to an observable collection of that data structure:
//...
public class MyWidget : UserControl
{
public class MyRecord
{
public string MyField { get; set; }
}
public ObservableCollection<
MyRecord
> _items = new ObservableCollection<
MyRecord
>();
public MyWidget()
{
InitializeComponent();
this.myRadGridView.ItemsSource = this._items;
}
}
Build the application in "Debug" mode, and then run it.
You should be able to insert rows into the RadGridView just fine.
Now, go into the output directory for the application and delete this file:
Telerik.Windows.Controls.GridView.pdb
Don't rebuild the application, just run it again, in debug mode.
If you try to insert a row into the grid, the system throws an exception and complains about a data binding object of some sort.
Any idea as to why this is happening? I thought .pdb files were only used in the event that an exception was thrown, so I'm a little unclear as to why RadGridView would crash *because* there is no .pdb file available...
Thanks.