Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Asheej T K
(187)
Alwyn
(165)
Avinash Mohan
(88)
Last 7 Days
Alwyn
(1087)
Asheej T K
(760)
Avinash Mohan
(551)
more...
Posted Date:
02 Nov 2009
Posted By:
Gaurav Arora
Member Level:
Diamond
Category:
ASP.NET
How can I call a javascript function from Web-User Control as page loads
Select Answer:
Its not possible
Put code in Page_Load event
Register Javascript and call it from Code Behind
Put Javascript function at the bottom of User Control's Design page
Question Source:
TCS interview
Your Test Score: 0 / 0
Next Question:
Is there any control to Force Download in asp.net?
Previous Question:
In Which Page Events Server Controls are loaded ?
Related Questions:
How many classes can a single .NET DLL contain?
What methods are fired during the page load?
Identify the following code.You need to display the output of the EmpName from Your Employee table whose EmpId is 1.Your DataBase Name and Server Names are Test and Dev263. You have written Your Code as below. SqlConnection sqlcon = new SqlConnection("user id=sa;password=sa;database=TEST;server=Dev263;"); SqlCommand sqlcom = new SqlCommand("select name from emp where empid=1",sqlcon); SqlDataReader dr = sqlcom.ExecuteReader(); strempid = dr["name"]; Response.Write(strempid);
Which is Disconnected Approach?
What is the purpose of code-behind
Categories
ASP.NET
C#
VB.NET
.NET Framework
SQL Server
Other
Java
Submit Interview/Test Questions with Answers
and
make money from adsense revenue sharing program
Want to prepare for an interview? Try our aptitude tests and standard interview questions first.
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use