Search Results

Search found 2 results on 1 pages for 'textboxlist'.

Page 1/1 | 1 

  • Using TextboxList events and callbacks

    - by Wraith
    Has anyone gotten callbacks working with Guillermo Rauch's TextboxList Autocomplete? I've tried multiple ways to bind and multiple events (e.g. hover) - nothing seems to register. $('#entSearch').textboxlist({unique: true, plugins: { autocomplete: { minLength: 3, queryRemote: true, placeholder: false, remote: { url: "{{=URL(r=request, f='call/json/suggest')}}", extraParams: {type: "", guid: ""} } } }, onHover: function(token) { alert('hover 1'); } }); $('#entSearch').hover(function() { alert('hover 2'); }); $('#entSearch').bind('hover', function() { alert('hover 3'); });

    Read the article

  • WPF: Textbox not firing onTextInput event

    - by Kay Ell
    So basically, I have a bunch of TextBoxes that the user gets to fill out. I've got a button that I want to keep disabled until all the TextBoxes have had text entered in them. Here is a sample XAML TextBox that I'm using: <TextBox Name="DelayedRecallScore" TextInput="CheckTextBoxFilled" Width="24" /> And here is the function that I'm trying to trigger: //Disables the OK button until all score textboxes have content private void CheckTextBoxFilled(object sender, RoutedEventArgs e) { /* foreach (TextBox scorebox in TextBoxList) { if (string.IsNullOrEmpty(scorebox.Text)) { Ok_Button.IsEnabled = false; return; } } Ok_Button.IsEnabled = true; */ MessageBox.Show("THIS MAKES NO SENSE"); } The MessageBox is not showing up when TextInput should be getting triggered. As an experiment I tried triggering CheckTextBoxFilled() on PreviewTextInput, and it worked fine then, meaning that for whatever reason, the function just isn't getting called. I also have a validation function that is triggered by PreviewTextInput, which works as it should. At first I thought PreviewTextInput might somehow be interfering with TextInput, so I took PreviewTextInput off the TextBox, but that hasn't managed to fix anything. I'm completely befuddled by why this might happen, so any help would be appreciated.

    Read the article

1