it binding correctly(datasource dynamically binded) and it raises event too while changing index but it is not raising event when we manually clearing the combobox text..if currently combobox having text "ASP" then i manually select that entire text and using del key i am deleting but it is not raising event for me.. when i change index it automatically raising event...i need to raise event while combobox is empty...
I'm try to add a combobox to my form which i have done and populate it with the infomation i need but i want to stop the user from being able to edit the first 5 character in the textbox part of the combo box( 1 is this possible 2 am i going about it in the right way).
I have 3 columns fro a db to enter ips ie 123.456.7.89 at the start if each number i want (SE1)(SE2)(SE3) which i can do at the momment . So I get in the combobox list 3 items with (SE1)123.456.7.89 OR just (SE1) depending of i a result is returned from the DB. However i don't want the user to be able to edit out the (SE?) part of the sting in the textbox. When editing i've tried used the text change event to try and capture the change and make sure the string.length > 5 , but the event does not fire also when i leave the combobox it it adds to the combox list. If I refersh it goes back to how it should be with only the 3 items.
I have a problem with CascadingDropDown... I have two related comboboxes, where the second is a slave of the first (e.g. country the first, cities the second). What I want is that if I select one country from combobox 1 then the second must be "filtered" by that selection (it should display all the cities inside the selected country, and the actual CascadingDropDown implementation is OK), but if I leave the combobox 1 in the default option (e.g. "Please select a country") I want the second to display all the cities I have in the database. The problem is that when selecting default option for combobox 1 the second combobox is disabled and a postback to my webservice never occurs.
I have one Button (Refresh Button), One ComboBox (containing DEV and UAT as its items) and a GridView on my asp page.
I am filling up my Grid with values from database on the ComboBox's 'TextChanged' event and Buttons's 'Click' event.
First time when page is loaded, there is no information in the grid, but when i choose DEV/UAT from the ComboBox 'TextChanged' event is fired, the grid is filled with the relevant data. That is what i want.
When i click the Refresh Button to refresh the data again, first comboBox's 'TextChanged' event and then 'btn_Click' event is fired.
I want then when a button id pressed only 'Click' event to be fired and not the ComboBox's 'TextChanged' event.
I have a combobox control on my asp.net page and I have created a keypress event for it, however I am unable to wire it up when I go to my properties box. In the events in propertie there is no section listed for key stoke events?I thought that combobox controls can have keypress events.Currently when a user selects the combobox they see a list of batch numbers, they can also type in a batch number which searches the list and brings back a match. I also want the user to be able to type in a number that is not in the list and press enter, which will then bring back the results for that batch number. There is already a SelectedIndexChanged event wired up but I cannot seem to wire up a keypress event for when the user presses the 'enter' key.
I'm getting an error in all browsers with the ComboBox that in IE causes the user to not be able to enter data into any other field on the form. In Firefox it just throws an error but doesn't cause any problems.
The error is this:this.ajax__combobox_prototypes[i]._popupBehavior is null
What is the most reliable way to get the current user input from a ComboBox? I've noticed that SelectedItem.Text, SelectedValue, and Text all contain the wrong result when the user deletes everything in the box and then immediately does something to cause a postback without clicking outside the box first (e.g. the user presses Backspace to delete the current contents and then presses a Submit button without clicking on anything else in the form first).
I need to fill Combox only after the page loaded. same like AutocompleteExtender. My Page have more than 10 ComboBox and it will be good for my project if only ComboBox can populated when use make setfocus. if there is something like AutoCompleteExtender for ComboBox?