Click here to Skip to main content
13,150,622 members (46,437 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i have write javascript for print page.

function printpage()

In onclientclick button property ,i have put function name printpage().
this is working in visual studio 2008,but not in visual studio 2010.
what is solution for that?
Posted 17-Jan-13 7:45am
mark merrens 17-Jan-13 13:48pm
Is this generating an exception? It should work: is there something else you're not telling us?
David_Wimbley 17-Jan-13 14:02pm
What browser/s are you using? Does it work in one not the other? Are you getting javascript errors? Using jquery? Using any javascript library?

A simple "doesnt work" wont help you get the answers your looking for, try using the Improve Question widget to make the problem with your code more clear so that those willing to help can.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The function of the JavaScript in a Web application does not depend on Visual Studio in principle. An HTTP server never uses any kind of Visual Studio, not in any sense at all. The question just makes no sense. I do understand that you have some problem, but you need to obtain pure observations free from your (wrong or right) ideas on what's going on. And then you need to present those observation in objective manner.

Rate this: bad
Please Sign up or sign in to vote.

Solution 2


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170924.2 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100