Is visual studio required to write .NET program? Answer : No .Net program can be written in notepad and compiled in command prompt
Category: ASP.NET Interview Questions
Write a C# code to get list of parent ASP.NET controls from Child ASP.NET controls
C# code to get list of parent ASP.NET controls from Child ASP.NET controls private ArrayList WalkthroughContainers(Control ctl) { ArrayList retContainers = new ArrayList(); Control parent […]
Write a Validation Expression for RegularExpressionValidator to allow letters , numbers , space , dash and underscore
Question : Write a Validation Expression for RegularExpressionValidator to allow letters , numbers , space , dash and underscore ? Answer : ValidationExpression=”^([a-zA-Z0-9_s-]*)$” Explanation : […]
ASP.NET Interview Questions
ASP.NET Interview Questions 1. What is the difference between user controls and custom controls?2. What are the 3 types of session state modes?3. What are […]
When to use HTTP Modules versus Global.asax Files
When to use HTTP Modules versus Global.asax Files One should use a module whenever one must create code that depends on application events, and when […]
Windows vs Web Application
Windows vs Web Application Windows Application Rich UI application Upgrade of application difficult Web Application Less maintainance and low barrier entry Browser issues
ASP.NET Configuration Files – Quick Questions
ASP.NET Configuration Files – Quick Questions Question 1 : Can a folder contain two web.config files directly under same folder ? Answer 1 : No […]
What’s the Difference Between and ?
We can use two constructs to access page-level variables in an ASP.NET web template: data binding syntax Data binding—the hierarchical mapping of control properties to […]
Difference between RegisterStartUpScript and RegisterClientScriptBlock ?
Difference between RegisterStartUpScript and RegisterClientScriptBlock RegisterStartUpScript This adds the javascript code at the end of the page before the closing of form tag. RegisterClientScriptBlock This […]
State why we create custom HTTPModule ?
Custom HTTPmodule is created for: URL rewriting Compression Specialized authentication and authorization Specialized logging
