Without knowing all the details... this reminds me of a couple of
problems I have previosly encountered that you can check.
1) If you use Explorer instead of Internet Explorer when initially
opening a URL, then a pop up will not have the same session as the
original window beccuase explorer has th
hi jamil,
i m doing the same thing in my project but still i m able 2
access the session variables both in calling page and in called pagei
haven't done anything special 2 force the page to open in such a way.
can u post ur code where u r calling the popup so that i can check w
hi aditi,
Here cd b a solution to ur prob
When the user is entering the Email address,at that time on "key press " event
of the text box , u write some code which checks whethere special characters
like @,'.', have already been entered or not .For that ,u check the acsii code
of the special ch
Allrighty then; I stand by my original analysis :) Are you getting an error
in FF? I'm pretty sure they stick to the standard form object model, i.e. you
need to reference the form through the document object and not directly from
the window object.
From: Ryan Olshan [EMAIL PROTECTED]
It
It looks like the below when rendered on the Calendar_DayRender event:
window.opener.frmAddAnimal.txtDateFound.value
= '8/17/2005 12:00:00 AM';window.close();
Thanks,
Ryan
On 8/16/05, Peter Brunone <[EMAIL PROTECTED]> wrote:
>
> Hi Ryan, It's hard to tell without seeing the actual Javascri
Hi Ryan,
It's hard to tell without seeing the actual Javascript as it's rendered to
the screen (hint: always provide this for strings you build on the server),
but it would appear that you're using a "window.form" syntax when it fact you
need to specify "window.document.form" instead.
HTH,
Absolutely. The only case I can imagine where you'd want JS in
the code-behind is if you need to write something dynamically to the
client at run time. At that point you'd still want to keep it minimal,
like writing one line to call a function, or even just hiding/showing a
literal with
In my humble opinion the java script has no place in a code behind. That is
server side code that should handle UI interaction (Model). Javascript
stuff should be in an external file that is linked within your aspx page. I
am by no means one of the more senior guys/gals on this list though so th
You can do this:
ButtonID.Attributes.Add("onclick", "return isValid();")
Add this to your code-behind page and it will trigger the function "isValid"
when the button is clicked.
Mark
Arindam <[EMAIL PROTECTED]> wrote:
In my aspx page instead of any server side validation, i want to do cli
Put your javascript code within the body of your page:
alert("I am loading...")
JS test
Simply change the javascript code from my "alert(.)" to your code.
Mark
jamil tamimi <[EMAIL PROTECTED]> wrote:
hi, how can i do a javascript function when the page load without use the
onloa
It sounds like you're calling the script before it's created.
In the body tag you're probably calling it onload which is after the
whole page loads. Try putting it at the bottom of the page or using
RegisterStartupScript instead of RegisterClientScript.
Cheers,
Peter
-Original Mes
Use the following:
var theTextBox=document.getElementById('textBox1');
alert(theTextBox.value);
HTH
Regards
Naweed Akram
-Original Message-
From: amet [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 13, 2005 2:08 PM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: [AspNetAnyQuesti
Hi,
you can try:
document.getElementById('textboxname').value
-Original Message-
From: amet [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 13 de Janeiro de 2005 11:08
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] javascript .NET textbox
how can I get the
Hi Amet,
Assuming you're coding just for IE, you should bookmark
http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp
which is a reference covering all elements, methods, and properties in the IE
DOM.
Quick example for what you want to do:
// Create the el
Thank you very much Mr. Brunone!
You just made my life easier.
--- Peter Brunone <[EMAIL PROTECTED]> wrote:
> Hi Christopher,
>
> What do you need with this index? That is, there
> may be another
> way to do what you want.
>
> If you just want to get the element and you're
> usin
Hi Christopher,
What do you need with this index? That is, there may be another
way to do what you want.
If you just want to get the element and you're using IE6, you
can call
form_name.elements.namedItem(itemName) and it will yield the proper
element. Of course you could alway
Why are you assuming that the DIV tag has a method called useService? I'd say
that's your problem.
From: "scaevola637" [EMAIL PROTECTED]
I received this error:
Microsoft JScript runtime error: Object doesn't support this
property or method
from this call:
Service.useService("http://loca
helps,
Mac Kloberg
MVP ASP.Net
-Original Message-
From: Dean Fiala [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 4:18 PM
To: [EMAIL PROTECTED]
Subject: RE: [AspNetAnyQuestionIsOk] javascript injection
The validation and smartnav scripts for ASP.NET are located in
wwwroot
The validation and smartnav scripts for ASP.NET are located in
wwwroot\aspnet_client\system_web\1_1_4322
This is for version 1.1. If you are running version 1.0 or a beta of 2.0
then look in the directory under system_web with the proper version number.
HTH,
Dean Fiala
-
Hi Justin,
I have done this myself.. quite simply on the on item created event,
grab the particular control that has just been created ( by dim chk as
web.ui.webcontrols.checkbox ) or something similar. You can then create
a reference to the particular control ( have a look at the served page
to t
Thanks. Now it is working
-Original Message-
From: RajeshKanna Rajendran [mailto:[EMAIL PROTECTED]
Sent: May 29, 2004 11:47
To: [EMAIL PROTECTED]
Subject: RE: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist
Hi,
Event is not OnselectedIndexChanged it should be "OnChange&
king for dropdown list box "OnselectedIndexChanged"
Can you help me?
regards,
Ravi.
-Original Message-
From: RajeshKanna Rajendran [mailto:[EMAIL PROTECTED]
Sent: May 29, 2004 09:59
To: [EMAIL PROTECTED]
Subject: RE: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist
Hi,
Try
4 09:59
To: [EMAIL PROTECTED]
Subject: RE: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist
Hi,
Try this,
On pageLoad include this code:
dropdownlist1.attributes.add("EventName","FunctionName()")
EventName can be like onclick ... etc.,
Then have ur Javascript function f
eeraraghavan, Ravi TCX117" <[EMAIL PROTECTED]> wrote:
I want to call Client side script
-Original Message-
From: Karen Kungowski [mailto:[EMAIL PROTECTED]
Sent: May 27, 2004 19:32
To: [EMAIL PROTECTED]
Subject: Re: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist
D
I want to call Client side script
-Original Message-
From: Karen Kungowski [mailto:[EMAIL PROTECTED]
Sent: May 27, 2004 19:32
To: [EMAIL PROTECTED]
Subject: Re: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist
Do you want to call it client side or server side
Do you want to call it client side or server side?
--- "Veeraraghavan, Ravi TCX117"
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I want to call a JavaScript in dropdown list is it
> possible? If so, can any
> one tell me how to do?
>
>
>
>
>
>
>
> Regards,
> Ravi.
>
>
>
> --
26 matches
Mail list logo