Re: [AspNetAnyQuestionIsOk] Javascript popup

2005-12-23 Thread Jonathan Minond
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

RE: [AspNetAnyQuestionIsOk] Javascript popup

2005-12-23 Thread renunegi
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

Re: [AspNetAnyQuestionIsOk] Javascript query

2005-10-25 Thread Puneet
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

Re: [AspNetAnyQuestionIsOk] JavaScript and Firefox

2005-08-16 Thread Peter Brunone
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

Re: [AspNetAnyQuestionIsOk] JavaScript and Firefox

2005-08-16 Thread Ryan Olshan
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

re: [AspNetAnyQuestionIsOk] JavaScript and Firefox

2005-08-16 Thread Peter Brunone
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,

RE: [AspNetAnyQuestionIsOk] JavaScript

2005-06-26 Thread Peter Brunone
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

RE: [AspNetAnyQuestionIsOk] JavaScript

2005-06-26 Thread Travis D. Falls
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

Re: [AspNetAnyQuestionIsOk] JavaScript function with server side button,

2005-04-14 Thread Mark E
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

Re: [AspNetAnyQuestionIsOk] Javascript in the Page Load

2005-04-06 Thread Mark E
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

RE: [AspNetAnyQuestionIsOk] Javascript

2005-02-08 Thread Peter Brunone
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

RE: [AspNetAnyQuestionIsOk] javascript .NET textbox

2005-01-13 Thread Naweed Akram
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

RE: [AspNetAnyQuestionIsOk] javascript .NET textbox

2005-01-13 Thread Mario Ramos (Ext)
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

re: [AspNetAnyQuestionIsOk] javascript question(urgent!!)

2005-01-10 Thread Peter Brunone
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

RE: [AspNetAnyQuestionIsOk] Javascript Question

2004-10-14 Thread christopher andrada
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

RE: [AspNetAnyQuestionIsOk] Javascript Question

2004-10-14 Thread Peter Brunone
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

re: [AspNetAnyQuestionIsOk] JavaScript error

2004-09-30 Thread Peter Brunone
   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

RE: [AspNetAnyQuestionIsOk] javascript injection

2004-08-02 Thread Kloberg Mac (LAM)
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

RE: [AspNetAnyQuestionIsOk] javascript injection

2004-08-02 Thread Dean Fiala
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 -

RE: [AspNetAnyQuestionIsOk] Javascript and Controls with Datagrid

2004-05-29 Thread Jarrad
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

RE: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist

2004-05-29 Thread Veeraraghavan, Ravi TCX117
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&

RE: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist

2004-05-29 Thread RajeshKanna Rajendran
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

RE: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist

2004-05-28 Thread Veeraraghavan, Ravi TCX117
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

RE: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist

2004-05-28 Thread RajeshKanna Rajendran
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

RE: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist

2004-05-28 Thread Veeraraghavan, Ravi TCX117
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

Re: [AspNetAnyQuestionIsOk] JavaScript in DropDownlist

2004-05-27 Thread Karen Kungowski
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. > > > > --