Click here to Skip to main content
15,900,258 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Server Error Pin
coolestCoder16-Mar-07 2:32
coolestCoder16-Mar-07 2:32 
Questioncan i poup messagebox ihrough codeing Pin
nikhil123416-Mar-07 2:17
nikhil123416-Mar-07 2:17 
AnswerRe: can i poup messagebox ihrough codeing Pin
RichardGrimmer16-Mar-07 2:20
RichardGrimmer16-Mar-07 2:20 
AnswerRe: can i poup messagebox ihrough codeing Pin
coolestCoder16-Mar-07 2:33
coolestCoder16-Mar-07 2:33 
Questionafter uploading my file i am getting error Pin
anujose16-Mar-07 2:16
anujose16-Mar-07 2:16 
QuestionJavascript-codebehind Pin
niki_nilu16-Mar-07 2:03
niki_nilu16-Mar-07 2:03 
AnswerRe: Javascript-codebehind Pin
ca8msm16-Mar-07 2:07
ca8msm16-Mar-07 2:07 
AnswerRe: Javascript-codebehind Pin
N a v a n e e t h16-Mar-07 2:15
N a v a n e e t h16-Mar-07 2:15 
wrote:
how to write javascript function in html part


Start <script> tag and write your functions like this

<script language="javascript">
    function Sample()
    {
        alert("Hi Javascript");
    }
</script>


Put the above code on your head section.


wrote:
and how to call it in codebehind in asp.net using c#


Each control will be having one property called attributes. Use
ControlName.Attributes.Add("OnClick","Sample();");




string Cheers = "Navaneeth!!"

www.w3hearts.com

AnswerRe: Javascript-codebehind Pin
Sandeep Akhare16-Mar-07 2:20
Sandeep Akhare16-Mar-07 2:20 
AnswerWhere's Guffa when we need him.... Pin
RichardGrimmer16-Mar-07 2:20
RichardGrimmer16-Mar-07 2:20 
GeneralRe: Where's Guffa when we need him.... Pin
Sandeep Akhare16-Mar-07 2:28
Sandeep Akhare16-Mar-07 2:28 
Questionvalidation Pin
Sebastian T Xavier16-Mar-07 1:50
Sebastian T Xavier16-Mar-07 1:50 
QuestionRe: validation Pin
N a v a n e e t h16-Mar-07 2:02
N a v a n e e t h16-Mar-07 2:02 
AnswerRe: validation Pin
Sebastian T Xavier16-Mar-07 3:27
Sebastian T Xavier16-Mar-07 3:27 
AnswerRe: validation Pin
Marcus J. Smith16-Mar-07 3:26
professionalMarcus J. Smith16-Mar-07 3:26 
Questionvery urgent Pin
niki_nilu16-Mar-07 1:05
niki_nilu16-Mar-07 1:05 
AnswerRe: very urgent Pin
Sun Rays16-Mar-07 1:23
Sun Rays16-Mar-07 1:23 
AnswerRe: very urgent Pin
kubben16-Mar-07 1:30
kubben16-Mar-07 1:30 
AnswerRe: very urgent Pin
Not Active16-Mar-07 2:35
mentorNot Active16-Mar-07 2:35 
QuestionWhat is the difference between HTTP GET and POST method? Pin
crazy_mads16-Mar-07 0:51
crazy_mads16-Mar-07 0:51 
AnswerRe: What is the difference between HTTP GET and POST method? Pin
ca8msm16-Mar-07 0:57
ca8msm16-Mar-07 0:57 
AnswerRe: What is the difference between HTTP GET and POST method? Pin
N a v a n e e t h16-Mar-07 0:59
N a v a n e e t h16-Mar-07 0:59 
GeneralRe: What is the difference between HTTP GET and POST method? Pin
crazy_mads16-Mar-07 1:09
crazy_mads16-Mar-07 1:09 
GeneralRe: What is the difference between HTTP GET and POST method? Pin
crazy_mads16-Mar-07 1:57
crazy_mads16-Mar-07 1:57 
AnswerRe: What is the difference between HTTP GET and POST method? Pin
Member 14764239-Feb-10 8:16
Member 14764239-Feb-10 8:16 

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.