Search

You searched for the word(s): userid:861841

Matching Posts

  • Re: How Do I Get A Page WithOUT A Default Button

    Thanks. Adding a "hidden" button that does nothing when clicked and making it the default button worked for me. I would also like to thank the responders. Setting the form's default focus only worked until I changed the focus, then the original default button was called again. The code that eats the Enter key looked like it would work too but I went with the "hidden" button approach because it was easier to implement.
    Posted to Web Forms (Forum) by ksome on 10/28/2009
  • How Do I Get A Page WithOUT A Default Button

    I have a page with several buttons on it. None of them are explicitly marked as the default button. So, the browser makes the first, enabled button into the default button. That button is pressed whenever the user hits the Enter key. I do NOT want this to happen. I don't want any default button. I don't want anything to happen when the user presses Enter. I want to force the user to explicitly click on a button when he wants the associated action to be taken. How can I do this? Thanks.
    Posted to Web Forms (Forum) by ksome on 10/27/2009
  • Re: Exception in Dynamic JScript When AutoComplete MinLength = 0

    Thanks for your reply Zhi-Qiang and I am sorry it has taken me so long to get back to you. I really am hoping that you can help me resolve this issue. The problem is that my client doesn't want me posting their code on a public forum. Is it possible for me to email you directly with the code you will need to work on this issue? My email address is keithsomerset@gmail.com . Can you contact me there and let me know your decision? Thanks.
  • Exception in Dynamic JScript When AutoComplete MinLength = 0

    My app contains a lot of AutoComplete (AC) controls. I have 2, AC enabled textboxes that are right next to each other. If I select a value from the first AC dropdown WITH THE KEYBOARD and then the focus moves to the next AC enabled, empty textbox, an exception is generated in a dynamically generated JScript files. It says: Microsoft JScript runtime error: 'value' is null or not an object This happens in the function Sys.Net.XMLHttpExecutor() on the line "_this._webRequest.completed(Sys
  • AutoComplete Opening Immediately

    Is it possible to get AutoComplete's dropdown list to appear as soon as its textbox gets the focus and not wait until the user types something in that textbox? How would I do that? When this happens, I would prefer that the prefix text sent by AutoComplete to its web service be an empty string. Is that possible too? Thanks.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by ksome on 10/7/2009
  • Re: AutoComplete Opening Immediately

    Thanks for your response. You know, I tried setting MinimumPrefixLength = 0 before I made my post and it appeared to not work. I tried it again after getting your reply and found several interesting things: 1. The AC dropdown only appears immediately when the associated textbox is empty. If the textbox contains a value, I have to type something to get the dropdown. This is why I didn't think it was working before. 2. When MinimumPrefixLength = 0, my web service method is called multiple times
    Posted to ASP.NET AJAX Control Toolkit (Forum) by ksome on 10/7/2009
  • Re: AutoComplete Scrollbar Triggers Textbox PostBack

    Thanks Vince. I wrote code similar to what is described in the posts you referenced. I turned off autopostback for the textbox and added a js function to AutoComplete that is called by OnClientItemSelected. My js function calls __DoPostBack(). This causes my server side code to be called whenever AutoComplete loads something into the textbox. I do still have a problem though. Occassionally, my users will just type something directly into the textbox instead of using AutoComplete. My server side code
    Posted to ASP.NET AJAX Control Toolkit (Forum) by ksome on 8/19/2009
  • AutoComplete Scrollbar Triggers Textbox PostBack

    I have a textbox with an AutoComplete extender in an UpdadePanel. Everything worked fine until I added a scrollbar to the AC dropdown list. The problem is I have a server side handler for the textbox's TextChanged event. When I click on the AC scrollbar, the textbox loses focus so the TextChanged event is fired even though nothing has been selected from the AC list. How do I fix this? What I want is to make sure that the server side TextChanged event handler is only called after a selection has
    Posted to ASP.NET AJAX Control Toolkit (Forum) by ksome on 8/15/2009
  • Re: AutoComplete Scrollbar Triggers Textbox PostBack

    Thanks for your input but I'm not sure how moving the textbox into a different updatepanel will help. The box will still lose focus when the AC scrollbar is clicked. Etc.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by ksome on 8/15/2009
  • Re: How Do I Run a JavaScript Function Before The Main Server Side Event Handler

    The browser is giving me a compilation error on the asp line with onclick in it. The error is Compiler Error Message: CS1026: ) expected Why is this happening? Note: I did not change any of the rest of the line when I changed the onclick part of it. The complete statement is: <asp:Button ID="btnSave" runat="server" onclick="javascript:return confirmSaveBeforeAction();" Text="Save" Width ="120px" /> I have one other question. My js function needs
    Posted to Client Side Web Development (Forum) by ksome on 8/3/2009
Page 1 of 6 (56 items) 1 2 3 4 5 Next > ... Last »