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 |
when to use webservice and when to use remotong diff between them
Hey I am using asp.net mvc architecture. I creating one dropdownlist using <select id="State" name="State"></select> this is dynamic list.Its displaying properly. But in time of Edit.If i load a page dropdownlist is not displaying the item which is stored in table.
How many types of Cookies are available in ASP.NET?
after which page life cycle event all properties of control will be "fully loaded "
What is CTE in sql server 2005?
Can session variables be accessed from code-behind?
Hi..I have created a website in Asp.net with C# i want to add Chinese language in my website..could any body tell me that how can i add dynamically this language on user's request...??? thanks n advance...
What is HTTPContext and HTTPModule. What is the use of them?
What are asp.net web forms?
Explain difference between friend and protected friend?
What is the use of placeholder control? Can we see it at runtime?
How would you get ASP.NET running in Apache web servers - why would you even do this?
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)