all groups > dotnet jscript > march 2004
Call popup window
Posted by ruca at 3/26/2004 3:06:36 PM
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)
... more >>
Using JavaScript and Response.Redirect
Posted by ruca at 3/26/2004 11:22:58 AM
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 d... more >>
Set target in a table
Posted by ruca at 3/25/2004 12:17:58 PM
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
... more >>
how to delete an ActiveXObject ?
Posted by misan at 3/23/2004 5:15:32 PM
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!
... more >>
fire server side event from client side
Posted by Neil at 3/23/2004 1:46:08 AM
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... more >>
Optomize this JavaScript?
Posted by G at 3/22/2004 10:49:16 PM
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.... more >>
Exposing of object properties in JScript.NET
Posted by Vladimir Semenov at 3/20/2004 11:27:57 AM
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-... more >>
Scrollbar width
Posted by Jeremy Chapman at 3/18/2004 1:17:13 PM
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... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Why doesn't JScript.NET have a "main()" function? (entry point)
Posted by miffy900 at 3/14/2004 7:46:05 PM
I have asked this question before, and I got my answer, But I was wondering if anyone knows why JScript.NET doesn't have a "main()" function for a global entry point. Like C#.
Or is there a way to emulate this
I'd prefer someone from Microsoft answer this question.... more >>
Syntax for accessing controls from javascript using variable names
Posted by John Holmes at 3/10/2004 9:29:17 AM
I'd like to use a generic validation function that I pass the control name
to and have an alert box come up and then select the text in the text box
and return the focus to the textbox if not valid. It's not working correctly
and I expect my syntax isn't quite right. Please check it out and let m... more >>
Username or licencename
Posted by Stefan Strehlow at 3/8/2004 7:39:10 AM
Hi,
can anyon tell me a way to read out the current user or the
name and the company from your OS licence?
Thanks a lot
Stefan
... more >>
JScript exception handling woe
Posted by jmoore NO[at]SPAM kcwc.com at 3/7/2004 5:25:00 PM
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);
}
... more >>
How can i reach function in Web fom via jscript
Posted by soygur at 3/7/2004 2:41:40 AM
Hi,
i created web application(c#). and then wrote jscript function in aspx. How
can i access any function in web form with using jscript function?
Thanks
... more >>
setAttribute and removeAttribute fail??
Posted by haiwen at 3/4/2004 1:56:05 PM
Hello, everyone
I have a html button
id=butPause onmouseover=onmouseover='this.style.backgroundImage="url(./Pause_glow.jpg)"
style=" BACKGROUND-IMAGE: url(./Pause_noglow.jpg" onclick="playPause()" onmouseout='this.style.backgroundImage="url(./Pause_noglow.jpg)"'
it works well untill I wish to... more >>
eval problem
Posted by RP at 3/3/2004 7:36:09 PM
Hi all, I am having a problem updating class-level variables in eval
statements. Take a look at the code:-
class JavaService
{
var a: int = 0;
function Evaluate(evalString : String)
{
return eval(evalString);
}
}
When I call Evaluate("a = 10;"). It does not... more >>
Why I can't get xmlhttp.responseBody value?
Posted by lyo at 3/3/2004 6:31:06 PM
Hi everyone
MSDN document says the "xmlhttp.responseBody" method could return a Array.But I can't get anything use this method .Could anyone give me a example on how to use the "responseBody" method? Thks!... more >>
Script based Menus and server control objects.
Posted by arc at 3/3/2004 1:02:23 PM
Provide a layered menu (vertical) using JavaScript and if it overlaps with
ASPX controls, the controls overlap and remain opaque over the menu items
even if
it has transparent option. This holds true of menus with images too. What is
the workaround here apart from horizontal menu structure which... more >>
Raising Application Script Events to Windows Event Log
Posted by swarupp NO[at]SPAM catsglobal.co-dot-in.no-spam.invalid at 3/2/2004 4:21:01 AM
:?:
Hello
I am doing a Speech Application using MSSASDK,MSS under Windows.
I am trying to raise application events to windows
event log / trace log. For that I have instrumented the
speech application.With that I could raise server side
application events like "TraceMessageEvent" for which... more >>
Dynamically calling a function from the client side
Posted by lester at 3/1/2004 12:26:05 PM
I want to dynamically check on the client side to see if a control has an onchange event handler
and then if so, to call it. Does this sort of functionality exist within javascript ?? It's sort of
similar to the SQL's EXECUTE( 'somestring' ) functionality
Thanks
LES... more >>
|