Click here to Skip to main content
15,890,717 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to create a Menu with 3 level using Menu Control in ASP.net. Pin
Ravi Munde20-Jan-09 19:05
Ravi Munde20-Jan-09 19:05 
AnswerRe: how to create a Menu with 3 level using Menu Control in ASP.net. Pin
Karthick_gc20-Jan-09 19:48
Karthick_gc20-Jan-09 19:48 
QuestionUrl rewriting using c# Pin
Member 422892520-Jan-09 18:23
Member 422892520-Jan-09 18:23 
AnswerRe: Url rewriting using c# Pin
N a v a n e e t h20-Jan-09 18:40
N a v a n e e t h20-Jan-09 18:40 
QuestionGoogle Map API Integration in ASP .NET web page Pin
codingrocks20-Jan-09 18:20
codingrocks20-Jan-09 18:20 
AnswerRe: Google Map API Integration in ASP .NET web page Pin
N a v a n e e t h20-Jan-09 18:41
N a v a n e e t h20-Jan-09 18:41 
AnswerRe: Google Map API Integration in ASP .NET web page Pin
MacSpudster21-Jan-09 9:17
professionalMacSpudster21-Jan-09 9:17 
QuestionCall External Javascript File in aspx file Pin
anandhakrishnan20-Jan-09 17:21
anandhakrishnan20-Jan-09 17:21 
Hi,
I have written the javascript function in the External js file and named it as JScript.js. This file is in Javascripts folder which under the Project folder.
The JScript.js file contains the following code.


// JScript File

function validateParameter()
{
var paramname=document.getElementById('<%=txtParam.ClientID %>');
var message;
message="";

if(paramname.value=="")
{
message+="\n*Parameter Name is mandatory";
}
else if(paramname.value!="")
{
var alphaExp = /^[a-zA-Z\s]+$/;
if(!paramname.value.match(alphaExp))
{
message+="\n*Only Alphabets are allowed for Parameter Name";
}
}

if(message!="")
{
alert(message);
return false;
}
return true;
}

I have called the javascript file using the below html tag.


I have called the javascript function for OnClientClick of a button.
OnClientClick="javascript: return validateParameter();"

But during the runtime the button click is not validating the controls.
Please Help Me! Thanks.
AnswerRe: Call External Javascript File in aspx file Pin
N a v a n e e t h20-Jan-09 17:30
N a v a n e e t h20-Jan-09 17:30 
AnswerRe: Call External Javascript File in aspx file Pin
Abhijit Jana20-Jan-09 17:32
professionalAbhijit Jana20-Jan-09 17:32 
QuestionCrystal Report 11 in VB ASP .NET Pin
saberbladez20-Jan-09 15:26
saberbladez20-Jan-09 15:26 
QuestionUser Control Embedded Classes Pin
MacSpudster20-Jan-09 12:06
professionalMacSpudster20-Jan-09 12:06 
QuestionPass Filepath between webforms Pin
Terick20-Jan-09 11:38
Terick20-Jan-09 11:38 
AnswerRe: Pass Filepath between webforms Pin
Christian Graus20-Jan-09 13:38
protectorChristian Graus20-Jan-09 13:38 
GeneralRe: Pass Filepath between webforms Pin
Terick21-Jan-09 3:33
Terick21-Jan-09 3:33 
GeneralRe: Pass Filepath between webforms Pin
Terick21-Jan-09 3:47
Terick21-Jan-09 3:47 
QuestionCustom HttpHandler not working. [modified] Pin
Tristan Rhodes20-Jan-09 5:03
Tristan Rhodes20-Jan-09 5:03 
AnswerRe: Custom HttpHandler not working. Pin
Abhishek Sur20-Jan-09 10:34
professionalAbhishek Sur20-Jan-09 10:34 
AnswerRe: Custom HttpHandler not working. Pin
N a v a n e e t h20-Jan-09 18:43
N a v a n e e t h20-Jan-09 18:43 
Question[newbie] public static property error - stack overflow Pin
jon-8020-Jan-09 1:30
professionaljon-8020-Jan-09 1:30 
AnswerRe: [newbie] public static property error - stack overflow Pin
Christian Graus20-Jan-09 1:53
protectorChristian Graus20-Jan-09 1:53 
QuestionHow to Play vedio in Asp.net?and how to find time of play for the video? Pin
Member 472018420-Jan-09 1:11
Member 472018420-Jan-09 1:11 
AnswerRe: How to Play vedio in Asp.net?and how to find time of play for the video? Pin
Christian Graus20-Jan-09 1:55
protectorChristian Graus20-Jan-09 1:55 
QuestionInternal .Net Framework Data Provider error 12. Pin
krishnaveer20-Jan-09 0:16
krishnaveer20-Jan-09 0:16 
AnswerRe: Internal .Net Framework Data Provider error 12. Pin
Vimalsoft(Pty) Ltd8-Mar-10 0:34
professionalVimalsoft(Pty) Ltd8-Mar-10 0:34 

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.