What's the difference between Page.RegisterClientScriptBlock and Page.RegisterStartupScript ?
Answer / aadesh kumar
RegisterClientScriptBlock is for returning blocks of client-side script containing functions. RegisterStartupScript is for returning blocks of client-script not packaged in functions-in other words, code that's to execute when the page is loaded. The latter positions script blocks near the end of the document so elements on the page that the script interacts are loaded before the script runs.<%@ Reference Control="MyControl.ascx" %>
| Is This Answer Correct ? | 0 Yes | 0 No |
I have developed a web application in asp.net 2.0 with Access as back end i am trying to gereate report/export data in excel. After hosting the site i am not getting any error or such exported excel file. but using the source code from my system it works fine. Could any one tell me why it is happening and what is its solution.
Clearly Explain the ispostback
how we declare interface
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one
Explain the different types of assemblies?
what is .net
How does SQL Server session state works
Which two properties are there on every validation control?
What are the disadvantages of using session?
If you want to write your own dot net language, what steps you will you take care?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
Is redux flux?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)