Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:709428
More Search Options
RSS Available
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 »
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online