I have a RadAutoCompleteTextbox that loads a list of descriptions that a user is able to start typing and choose from, but i want to be able to do the following, as soon as user chooses one of the available descriptions it loads the amount text box for it. How can i accomplish that?
I have the folllwing code for the autocomplete box, which works fine
private void grid_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
GridEditableItem editableItem = e.Item as GridEditableItem;
TableCell cell = editableItem["Description"];
if (cell.Controls.Count > 0 && cell.Controls[0] is RadAutoCompleteBox)
{
((RadAutoCompleteBox)(cell.Controls[0])).TextSettings.SelectionMode = RadAutoCompleteSelectionMode.Single;
((RadAutoCompleteBox)(cell.Controls[0])).AllowCustomEntry = false;
((RadAutoCompleteBox)(cell.Controls[0])).DataSource = GetTableForAuto();
}
}
}
What event is called when a user chooses a selection from the autocompletebox, and how would i be able to add the text for a different textbox?
I have the folllwing code for the autocomplete box, which works fine
private void grid_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
GridEditableItem editableItem = e.Item as GridEditableItem;
TableCell cell = editableItem["Description"];
if (cell.Controls.Count > 0 && cell.Controls[0] is RadAutoCompleteBox)
{
((RadAutoCompleteBox)(cell.Controls[0])).TextSettings.SelectionMode = RadAutoCompleteSelectionMode.Single;
((RadAutoCompleteBox)(cell.Controls[0])).AllowCustomEntry = false;
((RadAutoCompleteBox)(cell.Controls[0])).DataSource = GetTableForAuto();
}
}
}
What event is called when a user chooses a selection from the autocompletebox, and how would i be able to add the text for a different textbox?