Greetings! I'm trying to make RadDataEntry window appear on current row double click, but there's no proper column captions appeared, and also a lot of needless information (image attached).
Here is my code:
GridView window
private void dictionaryRecordsGrid_CellDoubleClick(object sender, GridViewCellEventArgs e)
{
GridViewRowInfo row = dictionaryRecordsGrid.CurrentRow;
string dictionaryId = row.Cells["ID"].Value.ToString();
TestNewForm f = new TestNewForm(_records.Select("id=" + dictionaryId).Single());
f.ShowDialog();
}
And RadDataEntry window:
public TestNewForm(DataRow row)
{
InitializeComponent();
radDataEntry1.DataSource = row;
radDataEntry1.BindingCreated += radDataEntry1_BindingCreated;
}
Here is my code:
GridView window
private void dictionaryRecordsGrid_CellDoubleClick(object sender, GridViewCellEventArgs e)
{
GridViewRowInfo row = dictionaryRecordsGrid.CurrentRow;
string dictionaryId = row.Cells["ID"].Value.ToString();
TestNewForm f = new TestNewForm(_records.Select("id=" + dictionaryId).Single());
f.ShowDialog();
}
And RadDataEntry window:
public TestNewForm(DataRow row)
{
InitializeComponent();
radDataEntry1.DataSource = row;
radDataEntry1.BindingCreated += radDataEntry1_BindingCreated;
}