Hello,
I want to binding some properties to gridview programmatically. I have object hierarchy like that:
public class CLASS_A{ String propA; int propB; CLASS_B propC;}public class CLASS_B{ String propA; int propB; bool propC;}
The datasource will be a list of CLASS_A, and i want to bind propA from CLASS_A and some properties of CLASS_B.
There is no problem to binding properties from CLASS_A with field name, but I try same doing something like "propC.propA" but doesnt work.
What I am doing wrong?
Thank you and Regards!!!


Hi,
is there a way to have AutoEllipsis on selecteded item ?
it works fine with items in list but not on selected.
Thanks for your help :)
Hello ...
I have question about rotator ...
can rotator insert with other form (in this case i have 3 forms, and i want to insert it all) that i have made
i have form with gridview, can it be insert into rotator...
can i have the example ? please
Thanks before.
I'm trying to install Telerik UI and it always seems to roll back action when it's on Extracting files.
Is it a .NET Framework issue, I don't know..
Please help?

Is there a simple way, by setting a property, that the items that are checked that show up in the checked list area, (not in the drop down list) stay sorted as they are sorted in the Drop Down and not sort based on the order they checked them in the list?
If not, what would be the best way to make this happen?
Thanks

This is how I populate my ListView:
List<Users> ListUsers = (List<Users>)FormData.Resp;lv.Items.Clear();foreach (var User in Users){ ListViewDataItem ListViewDataItem = new ListViewDataItem(); lv.Items.Add(ListViewDataItem); ListViewDataItem[0] = User.ID.ToString(); ListViewDataItem[1] = User.BenutzerID; ListViewDataItem[2] = User.Nachname; ListViewDataItem[3] = User.Vorname; ListViewDataItem[4] = User.EMailAdresse;}
After selecting Items, the "Text" property of CurrentItem, SelectedItem or SelectedItems[0] is always empty. I tried also to get the Text by "lv.Items[lv.SelectedIndex].Text", but where is also the text property empty. But the SelectedIndex is correct.
Hello,
I did all the steps in the documentation, I do not load the selected resource of the appointment, but if they are saving in the database the 3 tables
I need help, what am I doing wrong
I leave the code and attach images
public radForm1()
{
InitializeComponent();
AppointmentsTableAdapter appointmentsTableAdapter = new AppointmentsTableAdapter();
appointmentsTableAdapter.Fill(testDataSet.Appointments);
ResourcesTableAdapter resourcesTableAdapter = new ResourcesTableAdapter();
resourcesTableAdapter.Fill(testDataSet.Resources);
AppointmentsResourcesTableAdapter appointmentsResourcesTableAdapter = new AppointmentsResourcesTableAdapter();
appointmentsResourcesTableAdapter.Fill(testDataSet.AppointmentsResources);
}
private void radButtonSave_Click(object sender, EventArgs e)
{
AppointmentsTableAdapter appointmentsTableAdapter = new AppointmentsTableAdapter();
AppointmentsResourcesTableAdapter appointmentsResourcesTableAdapter = new AppointmentsResourcesTableAdapter();
TestDataSet.AppointmentsResourcesDataTable deletedChildRecords =
this.testDataSet.AppointmentsResources.GetChanges(DataRowState.Deleted)
as TestDataSet.AppointmentsResourcesDataTable;
TestDataSet.AppointmentsResourcesDataTable newChildRecords =
this.testDataSet.AppointmentsResources.GetChanges(DataRowState.Added)
as TestDataSet.AppointmentsResourcesDataTable;
TestDataSet.AppointmentsResourcesDataTable modifiedChildRecords =
this.testDataSet.AppointmentsResources.GetChanges(DataRowState.Modified)
as TestDataSet.AppointmentsResourcesDataTable;
try
{
if (deletedChildRecords != null)
{
appointmentsResourcesTableAdapter.Update(deletedChildRecords);
}
appointmentsTableAdapter.Update(this.DataSet.Appointments);
if (newChildRecords != null)
{
appointmentsResourcesTableAdapter.Update(newChildRecords);
}
if (modifiedChildRecords != null)
{
appointmentsResourcesTableAdapter.Update(modifiedChildRecords);
}
this.DataSet.AcceptChanges();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
if (deletedChildRecords != null)
deletedChildRecords.Dispose();
if (newChildRecords != null)
newChildRecords.Dispose();
if (modifiedChildRecords != null)
modifiedChildRecords.Dispose();
}
}

Hello,
I am relatively new here, and would need help with how i can set different ContextMenusStrip based on selected child template in my RadGridView.
I am using one GridView with four child templates and would want each of them to be assigned a different ContextMenuStrip to ease the operations around the data in each template. So my barrier now is now to programatically check which template is currently selected (focused) and bind the ContextMenuStrip accordingly or at least disable some buttons in it based on desired output
Thanks in advance for looking into this
Jules R
