Click here to Skip to main content
15,915,770 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionimage views Pin
vamsivs2-Mar-07 5:02
vamsivs2-Mar-07 5:02 
AnswerRe: image views Pin
Frank Kerrigan2-Mar-07 5:57
Frank Kerrigan2-Mar-07 5:57 
QuestionRedirecting parent page Pin
Khan.Bangash2-Mar-07 4:57
Khan.Bangash2-Mar-07 4:57 
AnswerRe: Redirecting parent page Pin
Guffa2-Mar-07 8:26
Guffa2-Mar-07 8:26 
AnswerRe: Redirecting parent page Pin
Haissam3-Mar-07 14:08
Haissam3-Mar-07 14:08 
QuestionRole Management Pin
Sarfaraj Ahmed2-Mar-07 4:30
Sarfaraj Ahmed2-Mar-07 4:30 
QuestionRadioButtonList&Datagrid Pin
nclauder2-Mar-07 4:21
nclauder2-Mar-07 4:21 
QuestionCall javascript class methods from aspx page Pin
breen252-Mar-07 3:26
breen252-Mar-07 3:26 
Hi,
I'm new to ASP/Javascript so this may be a farily straight-forward question. I have an ASP2.0 website that uses calls javascript functions. When I create the javascript functions in the asp page, there's no problems whatsoever.

However, I also created a class called MyServer in a seperate js file which has been added to the project. I can never call the class or public methods from inside the aspx page though. For example:
<script> type="text/javascript">
var ServerCheck : MyServer = new MyServer();
ServerCheck.MethodOne();
..
</script>
returns an error. I know the javascript class is okay, because it works when compiled (jsc in VS) and run as an exe!
AnswerRe: Call javascript class methods from aspx page Pin
badgrs2-Mar-07 4:30
badgrs2-Mar-07 4:30 
AnswerRe: Call javascript class methods from aspx page Pin
Guffa2-Mar-07 5:48
Guffa2-Mar-07 5:48 
GeneralRe: Call javascript class methods from aspx page Pin
breen255-Mar-07 1:25
breen255-Mar-07 1:25 
AnswerRe: Call javascript class methods from aspx page Pin
Guffa5-Mar-07 4:08
Guffa5-Mar-07 4:08 
GeneralRe: Call javascript class methods from aspx page Pin
breen255-Mar-07 5:54
breen255-Mar-07 5:54 
AnswerRe: Call javascript class methods from aspx page Pin
Guffa5-Mar-07 8:10
Guffa5-Mar-07 8:10 
GeneralRe: Call javascript class methods from aspx page Pin
breen257-Mar-07 2:18
breen257-Mar-07 2:18 
QuestionCan not find OpenFileDialog control in the Web application Pin
rockxuyenmandem2-Mar-07 3:18
rockxuyenmandem2-Mar-07 3:18 
AnswerRe: Can not find OpenFileDialog control in the Web application Pin
badgrs2-Mar-07 4:27
badgrs2-Mar-07 4:27 
AnswerRe: Can not find OpenFileDialog control in the Web application Pin
Vasudevan Deepak Kumar4-Mar-07 2:10
Vasudevan Deepak Kumar4-Mar-07 2:10 
QuestionTAX RATES Pin
tedhill132-Mar-07 1:27
tedhill132-Mar-07 1:27 
AnswerRe: TAX RATES Pin
Chris Buckett2-Mar-07 9:54
Chris Buckett2-Mar-07 9:54 
QuestionTree View Control Pin
varshavmane2-Mar-07 1:23
varshavmane2-Mar-07 1:23 
AnswerRe: Tree View Control Pin
Sathesh Sakthivel2-Mar-07 1:46
Sathesh Sakthivel2-Mar-07 1:46 
QuestionFocus for Div tag Pin
sparkling star2-Mar-07 1:02
sparkling star2-Mar-07 1:02 
AnswerRe: Focus for Div tag Pin
Chris Buckett2-Mar-07 5:53
Chris Buckett2-Mar-07 5:53 
GeneralRe: Focus for Div tag Pin
sparkling star5-Mar-07 20:43
sparkling star5-Mar-07 20:43 

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.