Click here to Skip to main content
15,892,927 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMaintain Session Across Multiple Domains Pin
wEb GuRu...18-Sep-07 23:17
wEb GuRu...18-Sep-07 23:17 
QuestionRe: Maintain Session Across Multiple Domains Pin
Sonia Gupta18-Sep-07 23:32
Sonia Gupta18-Sep-07 23:32 
JokeRe: Maintain Session Across Multiple Domains Pin
wEb GuRu...18-Sep-07 23:39
wEb GuRu...18-Sep-07 23:39 
QuestionHow to provide PrintScreen option Pin
bhrama18-Sep-07 23:15
bhrama18-Sep-07 23:15 
AnswerRe: How to provide PrintScreen option Pin
Sathesh Sakthivel18-Sep-07 23:21
Sathesh Sakthivel18-Sep-07 23:21 
QuestionDISABLE LINKS Pin
greekius18-Sep-07 23:13
greekius18-Sep-07 23:13 
Questionhow I can use jscript file in asp 2.0 Pin
ahmed_fci200618-Sep-07 23:09
ahmed_fci200618-Sep-07 23:09 
AnswerRe: how I can use jscript file in asp 2.0 [modified] Pin
Krugger40418-Sep-07 23:40
Krugger40418-Sep-07 23:40 
Hi Ahmed,
aspx has really something to do with html. If you take a closer look at an aspx file, you will see the regular <head> <body> etc... tag.

So, to include a javascript file and use functions therein, follow the example below:

(1) Say we have a file called scripts.js containing a function "test()" that we want to use.

(2) Place the tag "script language="javascript" src="scripts.js"></script>" tag between the "<head>" and "</head>" tag

(3) Next say i have a texbox and i want to execute function "test()" on leaving the textbox

Code :
<asp:TextBox ID="txt" runat="server" onBlur="javascript:test();"></asp:TextBox"


Hope this helps. Smile | :)


Carpe diem
Krg



-- modified at 7:38 Wednesday 19th September, 2007
AnswerRe: how I can use jscript file in asp 2.0 Pin
Abolfazl Sheikhloo19-Sep-07 0:29
Abolfazl Sheikhloo19-Sep-07 0:29 
AnswerRe: how I can use jscript file in asp 2.0 Pin
saini arun19-Sep-07 1:02
saini arun19-Sep-07 1:02 
QuestionICON Pin
syibu18-Sep-07 23:06
syibu18-Sep-07 23:06 
QuestionCan't read number from excel file Pin
rexagainstdmachine18-Sep-07 23:02
rexagainstdmachine18-Sep-07 23:02 
QuestionForm Authentication Pin
bhattiprolu18-Sep-07 22:59
bhattiprolu18-Sep-07 22:59 
Questionhow to debug the following eoor in ASP.Net application using Visual studio 2005 in C# Pin
mavii18-Sep-07 22:07
mavii18-Sep-07 22:07 
AnswerRe: how to debug the following eoor in ASP.Net application using Visual studio 2005 in C# Pin
Sam Xavier18-Sep-07 23:11
Sam Xavier18-Sep-07 23:11 
QuestionCalling Java Webservice from .NET Pin
cloudking1196618-Sep-07 21:38
cloudking1196618-Sep-07 21:38 
QuestionSatellite assemblies and resource files Pin
Krugger40418-Sep-07 21:34
Krugger40418-Sep-07 21:34 
AnswerRe: Satellite assemblies and resource files Pin
Krugger40418-Sep-07 21:54
Krugger40418-Sep-07 21:54 
Questionhelp help help posting data to another page Pin
Ahmad Adnan18-Sep-07 21:21
Ahmad Adnan18-Sep-07 21:21 
Questionhow to load any dll on run time. Pin
Piyush Vardhan Singh18-Sep-07 21:19
Piyush Vardhan Singh18-Sep-07 21:19 
QuestionCalling Web Services from JavaScript Ajax Pin
rahuljosh007200018-Sep-07 21:14
rahuljosh007200018-Sep-07 21:14 
Questionasp.net for web development Pin
prithaa18-Sep-07 21:13
prithaa18-Sep-07 21:13 
AnswerRe: asp.net for web development Pin
varshavmane18-Sep-07 23:44
varshavmane18-Sep-07 23:44 
AnswerRe: asp.net for web development Pin
Krugger40418-Sep-07 23:45
Krugger40418-Sep-07 23:45 
QuestionEditable column in Datagrid Pin
Sri_346418-Sep-07 21:06
Sri_346418-Sep-07 21:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.