For a WebDropDown, how can I enable the displaytext area to enter text for list filtering.
Thanks Dan
Hi Dan,
The following property should do the trick for you:
In HTML:
DisplayMode ="DropDown"
Thanks for the quick reply. I will try that and let you know
Do you have any complete code samples for the Webdropdown, databinding with List<>, invoking
Webdropdown_Init(object sender, EventArgs e), and filtering the dropdown list.
I can't get any of these items to work correctly.
Hey Dan,
There are filtering samples here:
http://samples.infragistics.com/2010.2/WebFeatureBrowser/WebDropDown/WebDropDownFiltering.aspx
and databinding samples here:
http://samples.infragistics.com/2010.2/WebFeatureBrowser/Default.aspx => WebDropDown = > Declarative Data Binding / Programatic DataBinding
Let me know if they work for you, and if not i will try to create a sample website.
To do manual filtering binding to a list, you can specifically take a look at this sample:
http://samples.infragistics.com/2010.2/WebFeatureBrowser/WebDropDown/WebDropDownCascadeClient.aspx
and also this:
http://samples.infragistics.com/2010.2/WebFeatureBrowser/WebDropDown/WebDropDownCascade.aspx
Thanks,
Angel
I trying to bind an IEnumerable List<MyEntity> to the webdropdown. I can bind a datatable with no problem. I would like to have a sample of this type of binding.
Hello Dan,
Let us know if you need further assistance.
Hi,
Could you mark your custom class with the [Serializable] attribute?
Thanks.
I am still getting this error when I bind my IEnumerable List<myEntity> to Webdropdown or Webcombo
Type 'Cigna.SUW.StopLoss.AccountNameSearchEntity' in Assembly 'StopLoss, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable
What is the idea behind setting CurrentValue to empty string on every postback, and initial page load? If you do an auto postback on selection, and you do not check for IsPostBack, this is the normal behavior, yes.
I have the webdropdown filter working but when I select an item from the list the currentvalue gets
deleted.
protected
void drpdwnAcctSrch_PreRender(object sender, EventArgs e)
{
drpdwnAcctSrch.CurrentValue =
"";
}
without this code the filter does't work
How can I display the selectItem?
I think it's coded correctly but I am still getting this error