Click here to Skip to main content
15,887,135 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: CHECKBOX VALUE Pin
hifiger20044-Apr-07 6:59
hifiger20044-Apr-07 6:59 
QuestionRendering extension as .doc in SSRS Pin
SSSelvi4-Apr-07 3:19
SSSelvi4-Apr-07 3:19 
QuestionHyperLink Pin
vengaqua4-Apr-07 3:19
vengaqua4-Apr-07 3:19 
AnswerRe: HyperLink Pin
N a v a n e e t h4-Apr-07 3:22
N a v a n e e t h4-Apr-07 3:22 
AnswerRe: HyperLink Pin
rujuc#4-Apr-07 3:24
rujuc#4-Apr-07 3:24 
QuestionCreating Fundraising Thermometer in asp.net using c# Pin
ukrajudotnet4-Apr-07 3:01
ukrajudotnet4-Apr-07 3:01 
QuestionDeclaring a javascript function Pin
Alice@mywonderland4-Apr-07 3:01
Alice@mywonderland4-Apr-07 3:01 
AnswerRe: Declaring a javascript function Pin
kubben4-Apr-07 3:11
kubben4-Apr-07 3:11 
I think the better question is what exactly are you trying to do. This is some sample code just to try to get some javascript working. What is your real question? To call a javascript function you can do it in the page load. You have to register the javascript like this:
Type cstype = this.GetType();
        
    // Get a ClientScriptManager reference from the Page class.
    ClientScriptManager cs = Page.ClientScript;

    // Check to see if the startup script is already registered.
    if (!cs.IsStartupScriptRegistered(cstype, "myFunc"))
    {
      cs.RegisterStartupScript(cstype, "myFunc", "myFunction();", true);
    }


Hope that helps.
Ben
GeneralRe: Declaring a javascript function Pin
Alice@mywonderland4-Apr-07 3:43
Alice@mywonderland4-Apr-07 3:43 
GeneralRe: Declaring a javascript function Pin
Not Active4-Apr-07 4:39
mentorNot Active4-Apr-07 4:39 
GeneralRe: Declaring a javascript function Pin
Not Active4-Apr-07 3:46
mentorNot Active4-Apr-07 3:46 
GeneralRe: Declaring a javascript function Pin
kubben4-Apr-07 3:48
kubben4-Apr-07 3:48 
AnswerRe: Declaring a javascript function Pin
Not Active4-Apr-07 3:42
mentorNot Active4-Apr-07 3:42 
GeneralRe: Declaring a javascript function Pin
Alice@mywonderland4-Apr-07 4:17
Alice@mywonderland4-Apr-07 4:17 
GeneralRe: Declaring a javascript function Pin
Not Active4-Apr-07 4:34
mentorNot Active4-Apr-07 4:34 
GeneralRe: Declaring a javascript function Pin
Alice@mywonderland4-Apr-07 5:21
Alice@mywonderland4-Apr-07 5:21 
GeneralRe: Declaring a javascript function Pin
Not Active4-Apr-07 5:27
mentorNot Active4-Apr-07 5:27 
GeneralRe: Declaring a javascript function Pin
Alice@mywonderland4-Apr-07 5:51
Alice@mywonderland4-Apr-07 5:51 
GeneralRe: Declaring a javascript function Pin
Not Active4-Apr-07 6:12
mentorNot Active4-Apr-07 6:12 
AnswerRe: Declaring a javascript function Pin
Guffa4-Apr-07 5:15
Guffa4-Apr-07 5:15 
Questionregisteration for MSDN Subscriptions Pin
siddisagar4-Apr-07 2:22
siddisagar4-Apr-07 2:22 
QuestionIssues in Word Automation [modified] Pin
Jijesh.V.R4-Apr-07 1:52
Jijesh.V.R4-Apr-07 1:52 
QuestionHow to make servers masterpage or main page for multiple applications Pin
Lappalainen Antti4-Apr-07 1:47
Lappalainen Antti4-Apr-07 1:47 
Question.Net 2.0 - Calling Page method from User control or Master Page Pin
shyamts4-Apr-07 1:12
shyamts4-Apr-07 1:12 
AnswerRe: .Net 2.0 - Calling Page method from User control or Master Page Pin
Not Active4-Apr-07 3:38
mentorNot Active4-Apr-07 3:38 

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.