Answered by:
AutoComplete TextBox

Question
-
Hi Team,
Please tell me how to use AutoComplete TextBox in silverlight project...
please help me in these issue.
Tuesday, January 11, 2011 1:24 AM
Answers
-
Hi Dhanunjai,
Your need to return a specific data collection in your webservice. See you reference to these links.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=382
http://www.xdevsoftware.com/blog/post/AutoCompleteBox-Example-Silverlight-3.aspx
Best regards,
Jonathan
Sunday, January 16, 2011 11:05 PM
All replies
-
Tuesday, January 11, 2011 1:29 AM
-
Ya it is good when my page load how to get values form data base please help me in this issue
presently im using cobobox in that i write code like this please tell how to update these code into autocomplete text box
below is the combobox code
/// <summary>
/// Binding Asset name to Combolist box
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void objService_GetLiveAssetDataCompleted(object sender, AssetDataService.GetLiveAssetDataCompletedEventArgs e)
{
if (e.Result != null)
{
cmbAssets.Items.Clear();
cmbAssets.Items.Add("-- Select Asset--");
List<AssetDataService.LiveAssetData> AssetsList = new List<AssetDataService.LiveAssetData>(e.Result);
if (AssetsList.Count != 0)
{
for (int index = 0; index < AssetsList.Count; index++)
{
cmbAssets.Items.Add(AssetsList[index].assetName.ToString());
}
cmbAssets.SelectedIndex = 0;
}
}
}
/// <summary>
/// Navigating to FloorViewer Page
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void cmbAssets_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
if (cmbAssets.SelectedIndex != 0 && cmbAssets.SelectedItem != "-- Select Asset--")
{
App app = (App)Application.Current;
app.AssetName = cmbAssets.SelectedItem.ToString();
App.Navigate(new FloorViewer());
}
}please help me in this issue...
Tuesday, January 11, 2011 1:47 AM -
Tuesday, January 11, 2011 2:02 AM
-
Hello boss,
Good afternoon...
in plase of cobobox i need a autocomplet textbox no need to use cobobox...
please help me in this issue...
Tuesday, January 11, 2011 2:11 AM -
Hi Dhanunjai,
Your need to return a specific data collection in your webservice. See you reference to these links.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=382
http://www.xdevsoftware.com/blog/post/AutoCompleteBox-Example-Silverlight-3.aspx
Best regards,
Jonathan
Sunday, January 16, 2011 11:05 PM