Hi all,
RadGridView allows end-users to:
- reorder columns at runtime,
- Group data by column,
- resize columns,
- perform filtering operations
- apply conditional formatting to grid elements ….
But is there a way to save and restore this configuration (to an XML or binary file, by code!!)
So next time you run your application, you haven’t to perform same modification
Is there any work around this issue?
Regards
kort
Hi,
I have created a framework for our application (CMXUIFramework.Dll). All user controls are in this dll, which may comprise of one of more UI controls. This DLL can be now referenced for a stand alone app as well as an Outlook integration app. On one of the controls I have used is Microsoft’s TreeView control and everything works fine, however, when I replace the Microsoft’s TreeViewControl with a Telerik Treeview control, at runtime I get object not set to an instance of an object.
Is there anything I should know about when displaying Telerik’s controls on a form in this manor?
Thanks
P
private
void btnMoveUp_Click(object sender, EventArgs e)
{
MoveCurrentItem(-1);
}
private void btnMoveDown_Click(object sender, EventArgs e)
{
MoveCurrentItem(1);
}
private void MoveCurrentItem(int indexChange)
{
if (radgvScriptsList.SelectedRows.Count == 1)
{
radgvScriptsList.GridElement.BeginUpdate();
MultiScriptFile file = GetSelectedFile();
int oldIndex = Files.IndexOf(file);
Files.Remove(file);
Files.Insert((oldIndex + indexChange), file);
radgvScriptsList.Rows[(oldIndex + indexChange)].IsCurrent = true;
radgvScriptsList.GridElement.EndUpdate();
}
}