JScript for the .NET Framework - .NET Development
Recent update: 2008-3-21

pls help me? how to make focus to next control when enter key press in that controll

443 byte By JohnCherian at 2008-3-7
I have 3 textbox When I Press Enter key In Textbox1 The Focus to should be 2 textbox and iF 2texbox enter Foucs on 3 Textbox My Problem is Name_txt.Attributes.Add("onkeypress", "if(event.keyCode==13)document.forms[0].Address_txt.focus()") When I enter key is Press in Name_txt The Page load is ...

sorting help

3428 byte By kalikoi at 2008-3-6
Hi All I had an HTMLpage with a table consisting of 5 columns the first two columns are images add and delete on the page load i have only one row for the table when i click the add button then a clone is created below it not what i want is as soon as i add some rows and fill them with ...

How Can I Set PageSize property In Page Printing with CSS

267 byte By Matt.Lin at 2008-3-5
hello all;</P> i am sorry for posting this unsuitable question.</P> Can I Set pageSize and PageMargin printing With CSS,</P> I got using @page can do , but now IE default print Template does not supported,</P> what can i do else?</P> thank; </P>

Tooltip for each items in select box

280 byte By Shiby at 2008-3-3
Friends,</P> Some of the items in my listbox(Select box in html) are too big to display. Can I have a tooltip that displays the same text when I move over it? If so, how?</P> Any help or suggestions would be appriciate.</P> Thanks & Regards, Shiby</P> </span>

combobox or Listbox control overlaps

248 byte By zumrut at 2008-3-1
<H5>hi, can anyone help me regarding my problem in my dhtml menu (asp.net). The dropdownlist or combobox or Listbox control overlaps my menu, or it is dispalyed in front of my menu. Is there a workaround for this? Thanks.</H5> </span>

How to Fire onChange event in javascript in case AutoComplete is set on.

224 byte By DineshSinghBisht at 2008-2-28
I want to fire the onChange event of textbox in javascirpt when the autocomplete feature is set to on. I do not want to use onPropertyChange event to achieve the same.</P> Thanks in advance.</P> Dinesh</P> </P>

README - read this first to get your question to where it will be answered

1075 byte By RokYu at 2008-2-27
This forum focuses on the managed version of JScript (JScript .NET) as well as questions on JScript/ECMAScript language semantics and future direction.Other questions should be posted as follows:IE/DOM related questions http://www.microsoft.com/windows/ie/support/newsgroups/default.mspxClick on ...

submit bug report for IE 6?

87 byte By jamesy at 2008-2-26
can someone tell me where to submit a bug report for IE 6?</P> thanks</P> </span>

How to Fire onChange event in javascript in case AutoComplete is set on.

224 byte By DineshSinghBisht at 2008-2-25
I want to fire the onChange event of textbox in javascirpt when the autocomplete feature is set to on. I do not want to use onPropertyChange event to achieve the same.</P> Thanks in advance.</P> Dinesh</P> </P>

combobox or Listbox control overlaps

248 byte By zumrut at 2008-2-24
<H5>hi, can anyone help me regarding my problem in my dhtml menu (asp.net). The dropdownlist or combobox or Listbox control overlaps my menu, or it is dispalyed in front of my menu. Is there a workaround for this? Thanks.</H5> </span>

Tooltip for each items in select box

280 byte By Shiby at 2008-2-23
Friends,</P> Some of the items in my listbox(Select box in html) are too big to display. Can I have a tooltip that displays the same text when I move over it? If so, how?</P> Any help or suggestions would be appriciate.</P> Thanks & Regards, Shiby</P> </span>

How Can I Set PageSize property In Page Printing with CSS

267 byte By Matt.Lin at 2008-2-22
hello all;</P> i am sorry for posting this unsuitable question.</P> Can I Set pageSize and PageMargin printing With CSS,</P> I got using @page can do , but now IE default print Template does not supported,</P> what can i do else?</P> thank; </P>

sorting help

3428 byte By kalikoi at 2008-2-22
Hi All I had an HTMLpage with a table consisting of 5 columns the first two columns are images add and delete on the page load i have only one row for the table when i click the add button then a clone is created below it not what i want is as soon as i add some rows and fill them with ...

pls help me? how to make focus to next control when enter key press in that controll

443 byte By JohnCherian at 2008-2-21
I have 3 textbox When I Press Enter key In Textbox1 The Focus to should be 2 textbox and iF 2texbox enter Foucs on 3 Textbox My Problem is Name_txt.Attributes.Add("onkeypress", "if(event.keyCode==13)document.forms[0].Address_txt.focus()") When I enter key is Press in Name_txt The Page load is ...

PageTimeOut....HELLLP :)

593 byte By TheHood at 2008-2-20
Im new to this, but have made an OK site. i just need one thing....... And thats a pageTime out.I have tried all i can find on msdn, but can get it to run..In JavaScript you have the commando: window.setTimeout('window.location="Default.aspx"; ',5000);What is the correct .NET way to do ...

partial response for resultset on HttpWebRequest

565 byte By Craig_tin at 2008-2-20
HttpWebRequest will only return part of the response.I have an app that requests info from the maps.yahoo geocode tool. The resultset provides a pair of attributes in the xsd file but the second (warning) one doesn't return a value. This warning will contain an explaination for when a problem ...

Accessing C# classes from IE (JScript)

2842 byte By MosheShitrit at 2008-2-20
Hi,I'm looking for a way to access some C# from JScript. I tried to wrap the class with COM proxy by using some COM attributes (ClassInterface, InterfaceType ...).When I try to instantiate the object from within a C++ program, I succeed.when I try to declare the class as an object in HTML page ...

Arguments for Console Application

110 byte By WJ at 2008-2-19
I am writting console application using JScript. How do get the command line arguments? Possible? </span>

Setting function keys to perform action

403 byte By landonec at 2008-2-18
I don't know if this is the correct forum for this; I need a way to set an action(command line preferably) when a certain key is pressed. Basically I want to set one of the function keys to close IE. I was planning on using taskkill from the command line. I have scripting experience, but not ...

Javascript Validation in ASP.Net

1496 byte By Mr.Finkle at 2008-2-17
I am writing an ASP.Net application that needs validation for certain fields. I found a Javascript routine that will examine a text box for uppercase, lowercase, and numerics. I can split up the validation to return a value based on what is found. The problem is that I cannot figure out how to ...

Javascript Validation in ASP.Net

1480 byte By Mr.Finkle at 2008-2-16
I am writing an ASP.Net application that needs validation for certain fields. I found a Javascript routine that will examine a text box for uppercase, lowercase, and numerics. I can split up the validation to return a value based on what is found. The problem is that I cannot figure out how to ...

How to add an application mapping in IIS programmatically

535 byte By howdy.dk at 2008-2-15
I need to use JScript or VBScript to add an entry to to the Application Extension mapping-list (a.k.a. Application Configuration). Manually I would select properties on a website (for instance "Default Website"), click the [Home directory] tab, click the [Configuration...] button and add e.g. ...

Setting function keys to perform action

390 byte By landonec at 2008-2-15
I don't know if this is the correct forum for this; I need a way to set an action(command line preferably) when a certain key is pressed. Basically I want to set one of the function keys to close IE. I was planning on using taskkill from the command line. I have scripting experience, but not ...

Arguments for Console Application

97 byte By WJ at 2008-2-15
I am writting console application using JScript. How do get the command line arguments? Possible?

Adding a new method to a File object in Jscript

257 byte By FenixtheFirebird at 2008-2-15
<div align="left">Is it possible to add a new method to a File object? I would like to add a method to the prototype so that I have it available for any file that I get by the GetFile() method, however I'm not successful and don't know why.</div>

Accessing C# classes from IE (JScript)

2835 byte By MosheShitrit at 2008-2-15
Hi,I'm looking for a way to access some C# from JScript. I tried to wrap the class with COM proxy by using some COM attributes (ClassInterface, InterfaceType ...).When I try to instantiate the object from within a C++ program, I succeed.when I try to declare the class as an object in HTML page ...

Hebrew Parameters in Query String

449 byte By never_again at 2008-2-14
Hi, everyone. I'm trying to pass a Query String which contains someHebrew parameters from javascript and read them in .aspx pageBut all i get is empty string instead of hebrew.any ideas?this is a code samples:in js page:window.location.href = ...

document.getElementById().innerHTML fails with 'Unknown Error' in IE

1873 byte By Lost_Pupp at 2008-2-14
Hello,I'm trying to use document.getElementById().innerHTML in a JavaScript to change information in a webpage. On FireFox this works as described in the W3C documentation, however, the same method returns 'Unknown Error' in IE. The JavaScript looks like this: <script ...

JScript .NET without compilation?

960 byte By arttaylor at 2008-2-13
I have written a script that uses the .NET framework for IO, Hashtables, Event Log entries, etc. I've been using jsc.exe to compile the script so that I can use the CLR debugger. Now that I have a final, debugged, script, I cannot run the .js file as a standalone, interpreted, script.At first, ...

WebControls TreeView looks different in IE than in FireFox

10203 byte By CalhounSolutions at 2008-2-13
I have a treeview that works great in IE, but it doesnt work in FireFox. It gives an extra space and a link to a __doPostBack function. Here is the source code from each:from FireFox: <tr class="FreeText"> <td id="_tdManagersTree" align="left" colspan="4"> <div ...

IE WebControls Treeview: manual postback?

620 byte By GeertVerhoeven at 2008-2-12
Hi, I have an ASP.NET application that needs to have a treeview. I've chosen the Microsoft Treeview because it is free of charge. I'm creating the following structure in my treeview: - Access Points - Monthly . Code 01 . Code 02 - Periodically . Code 03 . Code 04 I only want the treeview to ...

Quasi - Urgent question on Client-side Jscript and Webservices.

93 byte By ReneeC at 2008-2-11
Does anyone here know how to call a Vs2005 Netservice from client side jscript? Please....

I have one question: How to create object WScript...

827 byte By Genja at 2008-2-10
Greetings Scripting Guys! I have one question: How to create object WScript (WScript. ScriptFullName, WScript. CreateObject. etc), not in script Windows and we shall tell in HTML, HTA or a.exe (JScript. NET). Yours faithfully Eugeny. ...

Support JScript!!!

446 byte By Genja at 2008-2-10
It is interesting, when there will be normal support JScript from party MS. ...

Use JScript from code

551 byte By OriN at 2008-2-8
Hello,I have a few question about using JScript from code. In early versions this could be done by using the scripting runtime DLL by adding code and objects to a moudle and running the code after it.my question are:1. How can I do it with .net - I mean adding objects and code to a module and ...

ASPX, CS, SLN and Proj file should be in seperate folder - Please help

2224 byte By Thankaraj at 2008-2-8
Hi All, This is what I want to do: let's say you have a web project web1.csproj within a solution file web.sln. If this project has an ASPX page page1.aspx with code behind page1.aspx.cs. We want to have web.sln, web1.csproj and page1.aspx.cs within one folder and page1.aspx within a ...

JScript in Infopath

248 byte By Rebecca23 at 2008-2-7
Hi, I am using infopath and was trying to use the internal JScript code editor to customize a button to save the whole document to file. Is it possible to do this? How do i pass the entire document into the script? Thanks

Open SELECT list with script

1229 byte By tatero at 2008-2-7
A seemingly simple problem... I want to open a SELECT list drop down from an event like onClick from another object.Is there anyway to open a <SELECT> list to show its drop down list using script? .focus() only, well... focuses and .click() only resets the selected value but does not open ...

How to change the TextMode to Multiline in javascript

198 byte By Padma at 2008-2-7
<div> <div>Hi,</div> <div>I would like to know how to change the TextMode property (Singleline,multiline,password)in javascript.Is there any possibility.</div> <div>Thanks in Advance</div></div>

clientside javascript in Pocket Pc2002 and pocket Pc2003

3460 byte By GauravKhera at 2008-2-7
Hi, I've encountered a strange situation. I'm not sure if this is an expected behaviour. Kindly share your thoughts on it. The application i'm working on is developed in VS .NET2002 and .Net Framework 1.0. It is an ASP.NET/C# application and is accessed from a mobile device having Pocket PC ...

It's INCREDIBLE ! the ULTIMATE SCRIPT

3186 byte By Francesco_84 at 2008-2-6
Hi, I'm Francesco from Italy, and I want to post a technical help request:I use the script above to "callback" a remote .aspx page. My site make larger use of this because I'm trying to develope a RealTime Multiplayer D&D based game, and until now everything goes well. This morning I left ...

xmlhttp request/response problem

1202 byte By SudhakarJ at 2008-2-6
Hi all i am using asp.net v2.0 In one of my page i am calling another page using xml http , this is working fine but first time only , I am sending the request on click of button , when i click the button second time, it's returning the previous response and it's not even calling that page ...

Mozilla-onfocus event, need to set the cursor at the end of text in textbox

180 byte By Padma at 2008-2-5
Hi , I need to set the cursor at the end of the text in textbox in mozilla. I tried the setSelectionrange() method , but i am unable to set it. Plz Help me !!!!!!!!!!!!!!!!!!

Alertbox title

88 byte By S.Guhananth at 2008-2-5
<strong>How to give a title in Alertbox in javascript?</strong> Guhananth regards

JavaScript in .NET

577 byte By S.Guhananth at 2008-2-4
Hi,I am working in C#.NET.I am using javascript validation in my project.If the client browser has disabled Active scripting then my javascript Alertbox will not work.We are using Visual Studio .NEt 2003 version with .NET framework 1.1 version.My project leader request me to enable browser ...

List all functions and variables In JScript

435 byte By SarveshGowda at 2008-2-4
Hi,I am trying to write a function that list all the available functions and variables in the page. This is possible in Mozilla. Paste the following url in Mozilla. http://www.squarefree.com/bookmarklets/webdevel.htmlClick on the button view variables. It lists all the variables and functions.I ...

don't understand the regular experssions of jscript to check email address.

754 byte By uriparan at 2008-2-4
according to dotnet , the regular experssion for checking email address is this:\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*now let's just look at the part that preceed the @:\w+([-+.]\w+)*@according to it there should be a string of at least one charactor, then may have one or more hyphens or ...

How to change the TextMode to Multiline in javascript

198 byte By Padma at 2008-2-4
<div> <div>Hi,</div> <div>I would like to know how to change the TextMode property (Singleline,multiline,password)in javascript.Is there any possibility.</div> <div>Thanks in Advance</div></div>

Open SELECT list with script

1229 byte By tatero at 2008-2-3
A seemingly simple problem... I want to open a SELECT list drop down from an event like onClick from another object.Is there anyway to open a <SELECT> list to show its drop down list using script? .focus() only, well... focuses and .click() only resets the selected value but does not open ...

Page refresh problem

817 byte By SumitDebnath at 2008-2-3
Hi allI have got a typical requirement, where I work with 3 ASP.NET (C#) pages. E.g - PageA, PageB and PageC. PageB is opened on click of a button on PageA (with javascript window.open function) and PageC is opened on click of a buton on PageB (with javascript window.open function) . Now the ...

.NET Development

Site Classified