Search

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

Matching Posts

  • Re: Enable Button on OnChange Event

    If you're using Visual Studio, you may not find them. Just type them in and the broeswer will find it. On a different note, why not use the built-in required field validator. It will not let you post the page untill the specific fields are popoulated - just a thought. Good luck. EJM
    Posted to Web Forms (Forum) by EJM on 12/23/2009
  • Re: Javascript won't work in a site with Master page and user controls.

    Thank you for your reply. It worked - after I view the sourcecode the ID was modified. The queation that still remains is that once I deploy the site, will the id stays the same of will the prodoction server framework create a completely new id? Thanks, EJM
    Posted to Client Side Web Development (Forum) by EJM on 12/21/2009
  • Re: RegEx match does not work.

    You are correct, somehow the entire statement got lost in the copying process. In my code I have exactly as you have pointed out. Thanks for catching that.
    Posted to Web Forms (Forum) by EJM on 12/21/2009
  • RegEx match does not work.

    This task is like a nitghtmare. Anyway, can you see what am I doing wrong. I want to detect 2 consecutive new lines, carriage returns, whatever it is that we call nowdays but my code doesn't work. Here is what I've got that works only on the 3RD hit of the "Enter" key. Default.aspx file <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="Default.aspx.cs" Inherits ="_Default" %> @ Register Src ="~/UserControls/Search.ascx"
    Posted to Web Forms (Forum) by EJM on 12/21/2009
  • Re: RegEx match does not work.

    Alright Peter Lee, you're Da Man!!! Much thanks.
    Posted to Web Forms (Forum) by EJM on 12/21/2009
  • Re: Activating submit button with keyboard Enter key.

    Hi Vince, Thanks for your post. Your suggestion would work with a text box set to single line text mode. I have a multiline text mode and I do want the user to be able to delimit the entry by single carriage return. But, once they hit the carriage return twice, I want the page post back. Thanks, EJM
    Posted to ASP.NET AJAX UI (Forum) by EJM on 12/18/2009
  • Re: Activating submit button with keyboard Enter key.

    I was able able to piece together something. It (sort of) works. The post back happens on the 3rd consecutive Return and I don't understand why. Can someone enlight me their brialiance? The code looks like this: var inputString; function checkEnter(e){ var characterCOde; if(e && e.which){ e=e; characterCode = e.which; }else{ e = event; characterCode = e.keyCode; } inputString = document.getElementById("txtSearchText").value.indexOf("\r\n\r\n"); if (inputString !=
    Posted to ASP.NET AJAX UI (Forum) by EJM on 12/18/2009
  • Javascript won't work in a site with Master page and user controls.

    I've put together a javascript function that fires on textbox's onKeyPress event. In this function, when conditions are met a buton's click event is raised. This works like charm in a very basic page with out master page or custom web controls, i.e. script is in the Head tag and the form controls in the Body of the same page. As soon as I move it to my web site I get a javascript error "Object Required". The site uses master pages, and user controls. The textbox, button and
    Posted to Client Side Web Development (Forum) by EJM on 12/18/2009
  • Re: Activating submit button with keyboard Enter key.

    This doesn't seem to work if you use a multi-line text box. Is that a limitation of the defaulbutton property? EJM
    Posted to ASP.NET AJAX UI (Forum) by EJM on 12/16/2009
  • Re: Activating submit button with keyboard Enter key.

    Rick, Your soution is turning promissing, except for one detail. I neglected to mention that the text file is in a multiline mode, so I'll need to test for 2 consecutive carriage returns. Is there a way to do that? EJM
    Posted to ASP.NET AJAX UI (Forum) by EJM on 12/16/2009
Page 1 of 27 (265 items) 1 2 3 4 5 Next > ... Last »