microsoft.public.dotnet.languages.jscript Archive - April 2004
Post a message to this list
Messages
Page: 12
Set target in a table (2 replies, VIP)
microsoft.public.dotnet.languages.jscript
I have a table that rigth column have a link items menu. Can I set the left column of that table as target of that links? How? Or have I construct new pages for each item? 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
Optomize this JavaScript? (2 replies)
microsoft.public.dotnet.languages.jscript
Hello, I am showing and hiding Table Rows on my page using this script: script function adverseShow2() { var Field1Hide document.getElementById("Field1") var Field2Hide document.getElementById("Field2") var Field3Hide document.getElementById("Field3") var Field4Hide document.getElementById("Field4") var Field5Hide document.getElementById("Field5") var Field6Hide document.getElementById("Field6") v...
fire server side event from client side (2 replies)
microsoft.public.dotnet.languages.jscript
Hi, I have a number of HTML tables that are dynamically rendered from server side code. I've added an onClick event to the tables that fires a client side function (jscript) to redirect the user to an appropriate page using location.href. I need to capture this event some how on the server side so I can set a session variable to track the table onclick event that was raised. Does any one know how ...
Scrollbar width (2 replies)
microsoft.public.dotnet.languages.jscript
I've got two tables on a web page, one on top, and one below which is inside a div that has a vertical scroll bar. with Javascript I want to size the top table to have the same width as the div the scroll bar width. How do I determine what the scroll bar width is? I don't want to hardcode a width as it is possible for a user to change it in windows.
how to delete an ActiveXObject ? (2 replies)
microsoft.public.dotnet.languages.jscript
hi,all new an activex as following: script language jscript var test new ActiveXObject("Test.Obj1.1"); //how to delete the object from the process of IE ? // test null; doesn't make a call to destructor of Obj1; /script thanks!
Call popup window (8 replies, VIP)
microsoft.public.dotnet.languages.jscript
I have a .JS file that permits to open a popup window calling the fiunction CreateWnd(...) The question is How can I call the popup window by selecting an item in a datagrid? 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
Exposing of object properties in JScript.NET (2 replies)
microsoft.public.dotnet.languages.jscript
Hello, I'm using JScript VSA engine in my application. I pass my C# objects to script as global items. Properties/fields declared in C# classes are visible from script code. But I want that script can use in similar way properties not declared in the class I have internal collection of name value pairs. I suppose that my C# object should implement some interface (like IDispatch for automation obje...
JScript exception handling woe (3 replies)
microsoft.public.dotnet.languages.jscript
I'm migrating some Javascript code written for ASP 3.0 into ASP.Net. I'm getting a compilation error regarding throwing an Error from a method of a javascript object. // This works try { throw new Error("Standalone test Blah"); } catch(err) { Response.Write(err.description); } // This fails function aclass() { } aclass.prototype new Object(); aclass.prototype.method function() { try { throw new Er...
Using JavaScript and Response.Redirect (4 replies)
microsoft.public.dotnet.languages.jscript
I have a .JS file that opens a popup window. Here is the question... I have a DataGrid with a select command that in this case, when I choose "Select", I want to open my popup window. The question is if I can do something like this in the function that is the target of select command of datagrid: Response.Redirect("javascript:CreateWnd('somefile.aspx', 600, 200, false);") Or what is the solution f...
Close window (17 replies)
microsoft.public.dotnet.languages.jscript
Hi, I have a popup (child) window that it is called by a button in my main (parent) window. How can I set the child window for not closing before the parent window? What do I have to do? 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
Navigate in popup window (4 replies)
microsoft.public.dotnet.languages.jscript
Hi Can I pass a DataSet from one page (parent) to another (child, popup window)? How can I do that? 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
Page hit (9 replies)
microsoft.public.dotnet.languages.jscript
How can I get the coordinates of where I click with the mouse? It is possible to know? 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
showModalDialog in Apple Safari (4 replies)
microsoft.public.dotnet.languages.jscript
Is the showModalDialog command supported in Apple Safari browers? My application needs to support both IE and Safari browsers. Thank you.
location of most recent character entered into textbox (6 replies)
microsoft.public.dotnet.languages.jscript
Is there a jscript function that can check the location of text in a textbox to determine if the text is exceeding the display area of the textbox? For example: I have a textbox that has maxlength 20. The textbox width is tied to pixels and not characters so the textbox may be filled after only 15 characters. If the user keeps typing the other 5 characters, the left end scrolls of screen and is hi...
Optional and Default value in function parameter (2 replies)
microsoft.public.dotnet.languages.jscript
Hi, How can I set a parameter of a function optinal and have a default value? In VB I do like this: Function myFunction (Optional ByVal bExist as Boolean False) What's the equivalent in JScript? 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
Newb jscript question (2 replies, VIP)
microsoft.public.dotnet.languages.jscript
I may be in the wrong forum for this question, but due to my lack of understanding of jscript, I don't know where else to post it. ;) I was attempting to do something in javascript, and now I'm trying jscript and I must just be missing something obvious because I know it can't be this difficult. I have an ASP.net project using vb.net. It has a listbox control and a button. All I want to do is know...
Visual Studio 2005 (2 replies)
microsoft.public.dotnet.languages.jscript
Does anybody know what we can expect to see for JScript in VS2005?? Perhaps a windows form/ASP.NET form designer for JScript??
can't debug j-script? (2 replies)
microsoft.public.dotnet.languages.jscript
I have an html page with j script on it, I have 2 pcs with vs.net 2003 on it, on one I can put a breakpoint and debug j script, on other I can't...the 2 pcs, are "the same". What am I missing? why can't I step thru j script??
New to Jscript Question (2 replies)
microsoft.public.dotnet.languages.jscript
I am totally new to Jscript...I come from a C# shop With that said, I am trying to call a process in my script but it wont compile. My C# code looks like this: private System.Diagnostics.Process proc new Process(); ProcessStartInfo info new ProcessStartInfo ....do some work here proc.StartInfo info; You probably get the point. How can I make this "go" in Jscript? I am buying a freakin' manual this...
JScript and Command Dos Window (2 replies)
microsoft.public.dotnet.languages.jscript
hi, i need know if is possible open one Command dos window from one jscript funcion in asp.net page and then execute one js file. I have tried with this code: Set WshShell WScript.CreateObject("Wscript.Shell") WshShell .run ("c:\\winnt\\system32\\cmd.exe /k cscript c:\one.js") but nothing happen thanks in advance
databse (2 replies)
microsoft.public.dotnet.languages.jscript
HI I am beginer in javascript.I am using mssql7 database server.Actualy through javascript(WEB)how can i connect to database server.from web i want to connect to the database running in my computer, and i want to retrieve ,updates from tables.what scripts i can use in javascript. please help thanks
Table Generation (2 replies)
microsoft.public.dotnet.languages.jscript
Any ideas why table generation is so much slower in IE using JScript than in Netscape using the same code and data. I'm trying to generate a long table from a dataset. My main target is IE but I always test with Netscape/Mozilla as well. The table is 6 columns wide by 1500 rows. it takes almost 7 minutes to generate using IE but only 10 seconds under netscape. I'm creating the table populating it ...
JS: Validation + ASPX (3 replies)
microsoft.public.dotnet.languages.jscript
Hi, I am crazy to fix the javascript bug for the past 2 days. Here is the code: [code] ASPX code !DOCTYPE HTML PUBLIC " //W3C//DTD HTML 4.0 Transitional//EN" HTML HEAD title Test /title meta content "Microsoft Visual Studio .NET 7.1" name "GENERATOR" meta content "C#" name "CODE LANGUAGE" meta content "JavaScript" name "vs defaultClientScript" meta content "http://schemas.microsoft.com/intellisens...
clearInterval? (2 replies)
microsoft.public.dotnet.languages.jscript
Hi If I do a postback to the server to reload the saem page, would any setInterval calls I've made still be going, or would they be cleared on reload?
Global variable (6 replies)
microsoft.public.dotnet.languages.jscript
How can I declare a global variable in my .js file, that I can preserve her value each time I need to call any function of .JS file in my ASP.NET application? Example: var aux null; function myFunction1() { ... } function myFunction2() { ... } Now when I call myFunction1(), aux true, and when I call myFunction2(), aux false. The problem is that I need to preserve the previous value to test it in b...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com