How do you register JavaScript for webcontrols ?
Answer / harshvardhan
You can register javascript for controls using <CONTROL -name>Attribtues.Add(scriptname,scripttext) method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain Features in ASP.NET
Differences between VB.Net and C#, related to OOPS concepts
Which is better viewstate or session?
How do we access view state value of this page in the next page?
I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'
Why is the standalone environment only useful during the development process?
Difference between response.redirect and server.transfer?
What are the asp.net 2.0 features?
How do you validate the controls in an ASP .NET page?
How many web config files can be created for an application?
What is the relationship between IIS and ASP.NET in the generation of dynamic Web sites?
Where do the cookie state and session state information be stored?
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)