.NETGURU
microsoft.public.dotnet.languages.jscript
Up to: Discussion Lists

  • RSS Syndication
  • Post a new message to this list...
    Latest Discussions Archive
    @OutputCache interferes with radio button list's AutoPostBack (3 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    I'm having a problem with a radio button list which uses its AutoPostBack feature to build a drop down list at run time. If I use the %@ OutputCache Duration "30" Location "Server" VaryByParam "none" % to cache my form the list's SelectIndexChanged causes the page to refresh to the state it was in upon the first change (ie. the first auto postback event). So, if I fill in some of the form and sele...
    Porting from JScript to JScript.Net - compiler error (6 replies)
    microsoft.public.dotnet.languages.jscript
    Hi All, Am trying to port an existing asp 3.0 app written in JScript to JScript.Net, and have just had the following error: COMPILATION ERROR Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. COMPILER ERROR MESSAGE: JS1113: Only valid inside a class defi...
    Change image of imagebutton (4 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    Hi gurus, I have a imagebutton in my WebForm, and I want that when I click (mouse down) on her the imagebutton change image and when I "unclick" (mouse up) change to the original image. Basically I want to know how can I have the mousedown and mouseup buttons events. I think that I have to do this in JavaScript. Can you help me on this? Programming ASP.NET with VB.NET Thank's (if you try to help m...
    Changing frame size (3 replies)
    microsoft.public.dotnet.languages.jscript
    Hello I have two aspx frames, vertically separated at say 50%. Could I have some hints as to jscript function to increase left frame to 90% (reduce right hand frame to 10%?). Thanks Graeme
    validate the Ñ letter ! (2 replies)
    microsoft.public.dotnet.languages.jscript
    Hi.! How can I validate the entry of Ñ letter in a textbox..? Thanks in advanced...! Salu2. (\ /) ( ':' ) (") (") ONil@. MX.
    ÓÐʲôºÃµÄscriptµ÷ÊÔ¹¤¾ß (4 replies)
    microsoft.public.dotnet.languages.jscript
    ó Һà ÇëÎÊÒ ÏÂÓÐà ÓÐÊ Ã µÄVBSºÍJAVASCRIPTµÄµ ÊÔ ß ÉÒÔÒ Ò Ö ÐеÄ
    Mouse Status (2 replies)
    microsoft.public.dotnet.languages.jscript
    Hi, How can I know in JavaScript the status of mouse (down, up, pressed, etc)???? Give me examples, please. Programming ASP.NET with VB.NET Thank's (if you try to help me) Hope this help you (if I try to help you) ruca
    trim() in js (2 replies)
    microsoft.public.dotnet.languages.jscript
    script language "javascript1.2" xx "savo ates" xx trim(xx) alert(xx) /script it gives an error for trim command..
    Populating parent form question... (3 replies)
    microsoft.public.dotnet.languages.jscript
    Hi all, I have datagrid on a popup window which for each row spat out has a "Select" option its a hyperlink when clicked it runs the calls a javascript function this function should populate the parent form, my problem is that I need to update the fields dynamically ie, I wont know what the field name actually is... The code I have thus far: Calling the function: a class "normalText" href "javascr...
    learning form elements'S id or name (2 replies)
    microsoft.public.dotnet.languages.jscript
    hoe can i learn element name or id name of my inputs.. i want to read it's values. but i dont know their id or name...
    Can javascript call the function Web Service (3 replies)
    microsoft.public.dotnet.languages.jscript
    Hi, Everybody I want to use the client's javascript to call the function of web service. How can I do that?
    Undefined values of some screen object properties (3 replies)
    microsoft.public.dotnet.languages.jscript
    Hi, Can anyone tell me why some screen properties return undefined, as in the table below: availHeight 836 availLeft undefined availTop undefined availWidth 1152 colorDepth 32 height 864 pixelDepth undefined width 1152 Is it browser specific? I'm using IE6 on WinXP Pro. Thanks, Mark
    Iterating through object collections (6 replies)
    microsoft.public.dotnet.languages.jscript
    Hi, Is there any way in JavaScript to iterate through an object's properties to interrogate their values? I'm thinking specifically of the navigator object, the screen object, the window object and the document object. Something like: foreach(obj in screen.properties) { document.write(obj.name " " obj.value) } Any assistance gratefully received. Mark
    Strong name a JScript Assembly (5 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    I've got a JScript assembly that I want to strong name. (This assembly just allows me to use the JScript eval function from my C# code). I want to be able to put this JScript assembly into the GAC with the rest of my assemblies so I need to give it a strong name. My C# code provides some components/controls for use in ASP.NET web apps, so they need the APTCA attribute, and as I understand it, I'll...
    Raise event from Client side to Server side passing parameter (3 replies)
    microsoft.public.dotnet.languages.jscript
    Hello, I have an aspx page, and from the client side I want to execute a method on the server side. I tried with Page.GetPostBackEventReference(control) and it is working fine. My problem is that I want to pass a parameter (value) to be executed on the server, and I have not idea how to use: Page.GetPostBackEventReference(control, parameter) method. Anyone has had any success with it? Or any other...
    JScript.NET Applications (3 replies)
    microsoft.public.dotnet.languages.jscript
    Hi, I'm new to JScript.NET, although I have been using JavaScript and Java for a long time. I was messing around with the JScript.NET compiler and I was wondering if I could write a program (a real application, not a web page) using JScript.NET. I've read a few articles about the .NET framework and I kinda got the impression that, if you use any .NET language, you can use the same library despite ...
    Finding files in Directory (2 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    Hi, I want to get all the files in a directory using System.DirectoryServices The error I am getting is "DirectoryEntry" is not defined? Can anybody help me. Any sample? Thanks Anand
    aspx web form controls and client side java script (4 replies)
    microsoft.public.dotnet.languages.jscript
    Hi all Is it possible to handle web controls events on client side??? I wrote a simple favascript function inside the header area of an aspx web form. This function is called on selectedIndexChanged event of server side radio button list, but i can not get there . During compilation, it seems like the dotnet asp service is looking for this function on that web form's (server side) code behind inst...
    Jscript/ActiveXObject API Question (2 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    I understand how I can communicate with Excel from within a Jscript (see example below). But where is the documentation (API) of what messages I can send to such an instance ExcelSheet, or more general, to any ActiveXObject? var ExcelSheet; ExcelApp new ActiveXObject("Excel.Application"); ExcelSheet new ActiveXObject("Excel.Sheet"); // Make Excel visible through the Application object. ExcelSheet....
    window.open() - Netscape 4.7 vs. Netscape 7.1 (2 replies)
    microsoft.public.dotnet.languages.jscript
    I use the window.open() method to open a new window on my website. It opens as expected in Netscape 7.1, but does nothing in Netscape 4.7. Is there an alternative I can use in 4.7? I know 4.7 is kind of out of date, but I have seen people that still use it for some reason. Thanks. Nathan Sokalski njsokalski@hotmail.com www.nathansokalski.com
    Replace bat-file with a script! (7 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    Hi! I have a batch file (*.bat) which logon the client to our server, including printer and drive mappings. Now I want to replace the batch file with a script for the windows scripting host, because I want the users to enter their username and password, and then the script should make the mappings suitable to the username... I lookd for the WSH and VBSCRIPT and JSCRIPT, but I didn't get any usable...
    Playing MPEG-2 video in IE6.0 browser (3 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    I make a web page which contain two frames. The upper frame is to play some MPEG 2 video in sequence and the lower frame is an sliding text (simialr to HTML marquee effect) written in java applet. I use IE6.0 browser and window XP. However, I encounter some problems: First, I write HTML using the object tag to play the video and use javascript to control playing the next video when one is finished...
    Attaching global objects to JScript (2 replies)
    microsoft.public.dotnet.languages.jscript
    Could somebody please point me to the example of how can I attach an "external global" object to the JScript which will be executed within another executable? I used ActiveScripting and somehow familiar with VSA so I'm asking about the CodeDOM usage here, not the VSA. Thanks!
    How to send parameters from HTML to .js file (2 replies)
    microsoft.public.dotnet.languages.jscript
    Hi all, I have a jscript question. The users select a name in a drop down list and enter a password in a input field of a HTML page. I have a js file with the username password pairs. How do I pass these parameters to the js file and return a true or false based on the comparison? Hoping for pointers. Any code available? Thanks.
    Jscript/ActiveXObject API question (2 replies)
    microsoft.public.dotnet.languages.jscript
    I understand how I can communicate with Excel from with a Jscript (see example below. But where is the documentation (API) of what messages I can send to such an instance ExcelSheet var ExcelSheet; ExcelApp new ActiveXObject("Excel.Application"); ExcelSheet new ActiveXObject("Excel.Sheet"); // Make Excel visible through the Application object. ExcelSheet.Application.Visible true; // Place some tex...
    Sound an Alarm (3 replies)
    microsoft.public.dotnet.languages.jscript
    Hi folks, I have a web site I created using ASP.NET. What I want to do is to play a sound when a certain condition arises and stop the sound when the user acknowledges it. Any hints on how to do this? I really don't know much about JavaScript or where it even goes within the page. Sorry for being such a newB. TIA Joe
    pass by reference in JScript.NET (4 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    Hi folks, I am trying to use "pass by reference" of variables such as byte array, integers etc in JScript.NET. Is this possible in JScript.NET? If not, please help me out by any other approach by which we can pass the variables by reference. Thanks a lot folks. Chandru From: cool pal Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id k992MJxrYkO5WJLxbFTN8Q /Id
    javascript with asp.net problem (2 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    Below is the code. language/platform asp.net/vb.net private sub openW() sResult sResult & " script language javascript mywindow window.open('http://localhost/mohsaic/default.aspx?tc Client/Manage'); " sResult sResult & "mywindow.parent.frames[1].location 'http://localhost/treeview/treeview.aspx?m c&pid 366826706'; " sResult sResult & "mywindow.parent.frames[0].location 'http://localhost/mohsaic/de...
    Romainian Teenagers Raped. Banned Photos. 4280 (2 replies)
    microsoft.public.dotnet.languages.jscript
    Pictures from banned site of young romanian teenagers being brutally raped. http://205.251.154.36:89/teenrape/TeensRaped.scr exvpyjiuptjcqgehmqsrlnwxrlrltjmgvryrbyzowgsphufcmpxrlnyrnmyhb
    Addind items to listbox and get its values later at C# (2 replies)
    microsoft.public.dotnet.languages.jscript
    Please, i've have an interface that has 2 listboxes, the first one have a list of available objects and the second a list of selected objects. Four buttons copies itens from one listbox to the other. I don't want to use postback feature, than i use JScript code to do this. Creating items OPTION tag at the list box depending of the user choice. The question is that i want to know the data contained...
    show popup window at the center of the screen (2 replies)
    microsoft.public.dotnet.languages.jscript
    how to display the popup window at the center of the screen.
    jscript .NET (aka 7.x) (2 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    I've taken the below sample from MSDN: script language "jscript" function GetScriptEngineInfo(){ var s; s ""; // Build string with necessary info. s ScriptEngine() " Version "; s ScriptEngineMajorVersion() "."; s ScriptEngineMinorVersion() "."; s ScriptEngineBuildVersion(); return(s); } alert(GetScriptEngineInfo()); /script And I am running winXP Home with the .Net Framework 1.1 installed (the ver...
    How to call a class function of a class written in C# from JScript (3 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    In a function of an aspx page, I want to call a function of a C# class. How can I do that? For example, assume the class file is: class1.cs and the constructor is Class1(), in the JScript, when I write: var cls new Class1(); It will say Class1 is not defined. What is wrong? Thanks in advance.
    Romainian Teenagers Raped. Banned Photos. 9595 (2 replies)
    microsoft.public.dotnet.languages.jscript
    Pictures from banned site of young romanian teenagers being brutally raped. http://205.251.154.36:89/teenrape/TeensRaped.scr hhfkchfkzyeclebcykkfkcrqinrprcktrgxjtn
    Visual JScript express ? (3 replies)
    microsoft.public.dotnet.languages.jscript
    http://lab.msdn.microsoft.com/express/ where is Visual JScript express ??? zwetan
    How to get a character from a character code? (4 replies)
    microsoft.public.dotnet.languages.jscript
    What is the JScript counterpart of the VB function Chr(), or in another words, how can I get a character knowing a character code?
    refresing mobile form (2 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    hello , i create new mobile form that write parameters from the data base into labels . those parameters are refresh all the time (2 second) . i tried to refresh the mobile form by using the meta tags (like html) but nothing happen . i am looking for a way to refresh the mobile form . thanks a lot .
    Customizing the browser window using JScript/Javascript (3 replies)
    microsoft.public.dotnet.languages.jscript
    I would like to hide certain parts of the browser window to make it look more like a dialog/popup window (I cannot use the alert() method because I need HTML in my popup). I have tried the following commands, all of which gave me errors: self.locationbar.visible false; self.menubar.visible false; self.personalbar.visible false; self.statusbar.visible false; self.toolbar.visible false; I did my tes...
    Object oriented JScript (2 replies)
    microsoft.public.dotnet.languages.jscript
    Hi, I used to assign function names to variables like var processDataFunction myProcessData; where myProcessData is something like function myProcessData() { } Now I need to group all javascript functions to a JScript class like package myPackage { class myClass { var processDataFunction myProcessData; function myProcessData() { } } } But, I am getting runtime exception in the line var processData...
    Split Screen Copy Problems (9 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    This is a cross post.... My problem is when I am using the split screen editor and I copy and paste from the bottom pane to the top pane, the top pane will reposition itself to where the bottom pane is pointed to and I loose my place in the upper pane. Has anyone experiences this, and is there a setting somewhere to change this behavior? Thanks. Mike mikemalter@nospam.com
    Javascript and the Datagrid (2 replies)
    microsoft.public.dotnet.languages.jscript
    Hello, I have a simple datagrid with 4 bound columns... say name, address, city, state. The datagrid gets populated from the server. I also have a button control on the form. When the user presses the button, I capture the onclick. I want the client code, (javascript) to iterate through the datagrid and read each row and be able to extract a column. Something like: for( i 0; i document.form.Form1....
    How to using DataGrid Scrollbar with dinamy height (3 replies)
    microsoft.public.dotnet.languages.jscript
    I'm using the following html code to present scrollbar in a DataGrid: div style "OVERFLOW: auto; HEIGHT: 149px" but, I need to using dinamy height (in %), this is possible?
    return confirm no longer working on ASP.net page (4 replies)
    microsoft.public.dotnet.languages.jscript
    We have a few ASP.net apps where we needed confirmation dialogs with buttons in datagrids. The code goes something like this (in the ItemDataBound event for the grid): strJavaScript "javascript: return confirm('Any changes made to this scenario cannot be reversed. Also, results to a changed scenario cannot be viewed until the scenario is submitted again. Continue with edit of scenario ?');" btnLin...
    IFrame problem in aspx page (8 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    Hi, I'm using win2000, .Net 1.1, IE 6.0 My 'main.aspx' page contains an IFrame that is in turn another 'calendar.aspx' page. When I try to invoke the Iframe (calendar.aspx), from main.aspx, in the developement environment, everything works fine. However in production environment, some users can invoke the IFrame without error, and some other users cannot, Their browser display that there is an err...
    Popup Window (15 replies, VIP)
    microsoft.public.dotnet.languages.jscript
    Hi, DESCRIPTION: I'm developing an application that when I need to insert a date, I use 3 textbox's and one image button. This image button open's a small popup window with a calendar, allowing user choose date. Then, this popup returns the year, month and day to the correspondent textbox. So far, so good. PROBLEM: The problem is that the applications opens so popup's as the number of clicks that ...
    IntelliSense in JScript.Net (5 replies)
    microsoft.public.dotnet.languages.jscript
    Hello, Does anyone know if it it possible to get IntelliSense in JScript.Net (using Visual Studio.Net)? For example if I type "System." or "this.", it doesn't list the possible classes or methods to complete the line. The code compiles and runs just fine. I see some intellisense for native JScript (such as typing "Math." or "document." in ASP.Net), but nothing for the .Net framework. Any ideas? Ma...
    update control value without refresh whole page (2 replies)
    microsoft.public.dotnet.languages.jscript
    I want to get data from database, and update the data in browser every second. Is there any method so that the text/graphic keep on update every second, but without refresh the whole page? Also, can the client scripting call the ado.net? Thanks for comment.
    Radio button activate with image (2 replies)
    microsoft.public.dotnet.languages.jscript
    Hey all, I have the following code, creating a table whith 5 rows and each row can have one of 3 choices (A, B or C). Clicking the Radio Button can be a pain sometimes and therefor I want to be able to click on the image (or even the cell the rb and image are in) to select that radio button. Here is the table: FORM action "/game.php" method "POST" name "GameForm" onSubmit "return Validate(this)" i...
    window.open slow loading (2 replies)
    microsoft.public.dotnet.languages.jscript
    I have a page that displays a small image of a given product. By clicking on the image the user can bring up another window with a larger sized image on it. The problem I'm running into is that the second page with the image on it pulls up very slowly. It may take as long as 10 seconds before the new browser window appears. I've included some of the source below. newwindow window.open(url,name,'wi...
    Change the onclick event (2 replies)
    microsoft.public.dotnet.languages.jscript
    Hi, I have an IMG Tag that have an onclick event. On depends on wich pages is load, i would like to change the onclick src. For exemple, the original code is Img src "Something.gif" ID "Test" onclick "window.open('apage.htm',' self');" when another page will be load, i would like that the onclick on my image's set to "window.open ('anotherpage.htm',' self');". Is it possible ? I've try to make som...
    Visit the archive for messages from this site.
  • October 2001 (42 items)
  • November 2001 (2 items)
  • December 2001 (8 items)
  • January 2002 (7 items)
  • February 2002 (11 items)
  • March 2002 (17 items)
  • April 2002 (8 items)
  • May 2002 (7 items)
  • June 2002 (4 items)
  • July 2002 (17 items)
  • August 2002 (7 items)
  • October 2002 (9 items)
  • January 2003 (28 items)
  • February 2003 (5 items)
  • March 2003 (8 items)
  • July 2003 (27 items)
  • January 2004 (66 items)
  • February 2004 (20 items)
  • March 2004 (10 items)
  • April 2004 (31 items)
  • May 2004 (8 items)
  • June 2004 (13 items)
  • July 2004 (9 items)
  • August 2004 (19 items)
  • September 2004 (8 items)
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification