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
Hello Dan,
Let us know if you need further assistance.
I getting this message when binding my List<AccountNameSearchEntity'> to the webdropdown
public
List<AccountNameSearchEntity> _acctSearchList = new List<AccountNameSearchEntity>();
drpdwnAcctSrch.Items.Clear();
drpdwnAcctSrch.DataSource = _acctSearchList;
drpdwnAcctSrch.TextField =
"ACCT_NM";
drpdwnAcctSrch.ValueField =
"ACCT_NUM";
Type 'Cigna.SUW.StopLoss.AccountNameSearchEntity' in Assembly 'StopLoss, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable
The data binding sample showes an access datasource not an IEnumerable list. Do you have sample code that does this?
I think it's coded correctly but I am still getting this error
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?
Hi,
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.
Thanks,
Angel