Click here to Skip to main content
15,905,028 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralGet selectedvalue in gridview in WizardControl Pin
AlexeiXX320-Apr-08 18:29
AlexeiXX320-Apr-08 18:29 
GeneralRe: Get selectedvalue in gridview in WizardControl Pin
AlexeiXX320-Apr-08 19:00
AlexeiXX320-Apr-08 19:00 
GeneralGet SerialNumber Disk Driver Pin
AnhTin20-Apr-08 17:44
AnhTin20-Apr-08 17:44 
GeneralRe: Get SerialNumber Disk Driver Pin
Christian Graus20-Apr-08 17:49
protectorChristian Graus20-Apr-08 17:49 
GeneralRe: Get SerialNumber Disk Driver Pin
Christian Graus20-Apr-08 17:50
protectorChristian Graus20-Apr-08 17:50 
GeneralRe: Get SerialNumber Disk Driver Pin
AnhTin20-Apr-08 18:12
AnhTin20-Apr-08 18:12 
GeneralRe: Get SerialNumber Disk Driver Pin
Christian Graus20-Apr-08 19:33
protectorChristian Graus20-Apr-08 19:33 
Generalexternal Javascript problem Pin
Mike Hankey20-Apr-08 13:37
mveMike Hankey20-Apr-08 13:37 
I have a small bit of Javascript code in my masterPage file;

var images = new Array("images/hanks_pic.jpg", "images/sany0081.jpg");
var imageLinks = new Array("flickr.com/photos/jimhankey/523109965/in/set-72157603832555431/",
                            "codeproject.com");
var captions = new Array("The rules according to Luna", "Stroud Kitchen remodel");

var curImage = 0;

function initBanner()
{        
    rotate();
}

function rotate()
{
    curImage++;
    if (curImage == images.length)
        curImage = 0;
        
    document.getElementById("image-of-the-day").src = images[curImage];
    document.getElementById("image-link").href = "http://www." + imageLinks[curImage];
    document.getElementById("image-caption").innerHTML = captions[curImage];
   
    window.setTimeout("rotate()", 3 * 1000);
}


used to do rotate images every 3 seconds.

When I run it inline everything works fine!
But when I import it

<script id="script" type="text/javascript" src="JScript.js" />


some buttons defined on an entirely different page stops working? i.e. the calls to the OnClick never get invoked?

Any ideas?
Mike


GeneralRe: external Javascript problem Pin
Sandeep Akhare20-Apr-08 19:31
Sandeep Akhare20-Apr-08 19:31 
GeneralRe: external Javascript problem Pin
Mike Hankey21-Apr-08 0:11
mveMike Hankey21-Apr-08 0:11 
GeneralRenderContents - Adding items after rendering... Pin
Kasic Slobodan20-Apr-08 13:02
Kasic Slobodan20-Apr-08 13:02 
Questionlogout functionality Pin
bunny.varun20-Apr-08 3:22
bunny.varun20-Apr-08 3:22 
GeneralRe: logout functionality Pin
Blue_Boy20-Apr-08 8:14
Blue_Boy20-Apr-08 8:14 
GeneralRe: logout functionality Pin
Christian Graus20-Apr-08 11:47
protectorChristian Graus20-Apr-08 11:47 
Generalprint Pin
ptvce20-Apr-08 2:17
ptvce20-Apr-08 2:17 
GeneralRe: print Pin
Christian Graus20-Apr-08 11:46
protectorChristian Graus20-Apr-08 11:46 
GeneralRe: print Pin
ptvce20-Apr-08 18:22
ptvce20-Apr-08 18:22 
GeneralRe: print Pin
ptvce20-Apr-08 18:41
ptvce20-Apr-08 18:41 
GeneralRe: print Pin
Christian Graus21-Apr-08 13:03
protectorChristian Graus21-Apr-08 13:03 
Questionhow to set a page as default Pin
bunny.varun19-Apr-08 23:44
bunny.varun19-Apr-08 23:44 
AnswerRe: how to set a page as default Pin
Blue_Boy19-Apr-08 23:59
Blue_Boy19-Apr-08 23:59 
AnswerRe: how to set a page as default Pin
Rob Smiley20-Apr-08 0:15
Rob Smiley20-Apr-08 0:15 
Generalcheck with browser Pin
VanithaVasu19-Apr-08 23:28
VanithaVasu19-Apr-08 23:28 
GeneralRe: check with browser Pin
Blue_Boy19-Apr-08 23:31
Blue_Boy19-Apr-08 23:31 
GeneralRe: check with browser Pin
VanithaVasu19-Apr-08 23:35
VanithaVasu19-Apr-08 23:35 

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.