Hi,
How to make a Textbox as a AutoComplete or Autosuggest for the dynamic created textbox inside the WebDatagrid? I am creating a textbox in the Init method of the WebDataGrid as below code
Infragistics.Web.UI.GridControls.TextBoxProvider txtCustomer = new Infragistics.Web.UI.GridControls.TextBoxProvider();txtCustomer.ID = "txtCustmer";txtCustomer.EditorControl.AutoCompleteType = AutoCompleteType.Search;
this.HitGrid.EditorProviders.Add(txtCustomer);Infragistics.Web.UI.GridControls.EditingColumnSetting columnSettingCustomer = new Infragistics.Web.UI.GridControls.EditingColumnSetting();columnSettingCustomer.ColumnKey = "Key_CUSTOMER";columnSettingCustomer.ReadOnly = (strrole == "ADM") ? true : false;columnSettingCustomer.EditorID = txtCustomer.ID;this.HitGrid.Behaviors.EditingCore.Behaviors.CellEditing.ColumnSettings.Add(columnSettingCustomer);
Please do the Needful.
Thanks in Advance.
If you have another questions or need clarifying regarding this matter, please do not hesitate to contact me!
hi,
is there any workaround solution if we want to implement autocomplete like feature by using textbox inside webdatagrid cell? is that possible did that by using JQuery/javascript? if yes, could you give me some example how to make it happen?
thanks a lot
jacky