Archived Months
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
October 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
March 2008
April 2008
all groups > dotnet jscript > november 2004

onFocus problem
Posted by masoud bayan at 11/29/2004 3:11:47 PM
Hi, I have a web page with 20 textboxes that user enters different amount in them. I want to show these amounts in currency format ($123,456.12) in this way that : as soon as user clicks on text box (or text box has focus) value in that filed is changed from currency to numeric format and when...more >>


Adding JScript Eval to an ASPX Parser
Posted by Kolo San at 11/27/2004 8:46:19 PM
Hi, I am trying to add a JScript Evaluation to a Page Template parser in C# for a CMS port from ASP that I am doing. VBscript (for ASP) has an Eval function which we have used to allow some measure of scripting within page templates (allowing some of our other developers to extend our pages w...more >>

Handling NULLs
Posted by John Cosmas at 11/24/2004 9:40:00 AM
I need help handling NULLs. Where is fails is the " if((_values != null) || (_values != "")) ". It is supposed to detect the NULL and then execute the ... = "" statement. When I add a window.alert statement, it returns a NULL, but the IF clause here fails for some reason and pumps the NULL...more >>

Help with IF and OR Clause
Posted by John Cosmas at 11/23/2004 8:26:36 PM
I have a field containing a Date value. Unfortunately, it keeps returning a NULL. I need the NULL evaluated. Please fix this statement if(_values != null) || (length(_values) != 0) TIA John Cosmas ...more >>

Easy question I think
Posted by Paul at 11/22/2004 5:09:06 PM
Hi I have an easy question I think. I have a web window file1.aspx that has a hyperlink target as blank to it opens a new window with a url of file2.aspx. When the user navigates away from file1.aspx I want to be able to close file2.aspx, so in the body tag I tried, <body onUnload event =...more >>

Passing parentheses in querystring
Posted by Spacy at 11/21/2004 10:25:02 PM
Please refer the code below: Response.Write("<a href=# onclick=javascript:window.open('frmNextPage.aspx?customer=" & System.Web.HttpUtility.UrlEncode(strCustName)')>") The problem is that certain values in strCustName contains parentheses for example: Mr.A $(12.98). This value will th...more >>

How to get cursor insertion point (caret position) from HTML Textarea
Posted by dave NO[at]SPAM bluehills.co.uk at 11/18/2004 8:45:54 AM
I have previously posted this question on the "dotnet.framework.aspnet" group but that was probably a mistake because I think client-side script is required. Can anybody on this group help me to a)get the user's cursor insertion point (caret) from an HTML Textarea, using client-side script I sup...more >>

Variables from VB.net to popup window using javascript
Posted by Cap Dor via .NET 247 at 11/17/2004 1:11:32 AM
(Type your message here) HI I have two forms where the first form calls a popup window using javascript -- how do I pass a variable between the forms , I would like to pass the value from a text box on the first form This is the code from the first form Dim per as string per = label1.text ...more >>



Accessing Custom Properties
Posted by theodore thomasson at 11/9/2004 5:45:11 PM
I have a custom property defined for a .NET TextBox called DependentField. I'm trying to access this property in Jscript using: var strDependentField = document.getElementById(sName).DependentField; IE handles this fine but Firefox returns 'undefined'. Any ideas as to how to h...more >>

open window on center of screen
Posted by Albano Alves at 11/9/2004 5:34:39 PM
Hi, Can anyone help me to open a window on the center of screen. I try with screenX and screenY but doesn't work... Thanks Albano Alves ...more >>

window.open(val,'_top');
Posted by Tom at 11/8/2004 5:33:03 AM
Hi, The following js has error when I select item from a pull down menu. It cannot direct me to the right page. <SCRIPT language=JavaScript> function changeSel(sel) { var val = sel.options[sel.selectedIndex].value; window.open(val,'_top'); } } </SCRIPT> <SELECT name=...more >>

Announcemnt: New .NET Developer Resource
Posted by Mark Riley at 11/1/2004 9:37:37 PM
Apologies if this announcement is off topic. I have created a web site for .NET developers that I hope may be of use. It' s called TheDotNetDirectory.com and can be found at http://www.TheDotNetDirectory.com. It's a site that contains links to useful ..NET related web sites. If you have any sugg...more >>


DevelopmentNow Blog