|
Problem: Click Event not firing for ImageButton
|
Total Hit (6009) |
I had an Image Button with following properties in tag
«code LangId=4»<asp:imagebutton id="cmdSearch"
BorderWidth="1px"
BorderStyle="None"
BorderColor="Gray"
runat="server"
ImageUrl="images\general\search_a.gif"
ImageAlign="AbsMiddle"
CommandName="Search"
EnableViewState="
....Read More |
Rating
|
|
|
|
How to debug Javascript in Visual Studio.net IDE
|
Total Hit (1555) |
By default Script Debugging is disable in Internet Explorer Which can prevent you to debug Javascript in your ASP.net project
To Enable Script Debugging
1) open Internet Explorer
2) Goto Tools - > Advanced tab
3) Uncheck Disable Script debugging Check box in Advanced tab
4) Put Break point i
....Read More |
Rating
|
|
|
Hiding controls defined within templates to some users
|
Total Hit (2620) |
It happens frequently that you want to hide some input controls or links if the current user is not logged in (it runs with the anonymous account), or if the logged user is not a member of a specific group. For example, you may want to hide the Edit/Delete buttons to users that are not Administrator
....Read More |
Rating
|
|
|
|
|
Cache my pages or data?
|
Total Hit (851) |
Caching is a technique widely used in computing to increase performance by keeping frequently accessed or expensive data in memory. In the context of a Web application, caching is used to retain pages or data across HTTP requests and reuse them without the expense of recreating them.
....Read More |
Rating
|
|
|
AutoSortArrayList Class
|
Total Hit (665) |
It can sort any type of object, so long as that class implements the IComparable interface or you have a Comparer object. AutoSortArrayList has a property to assign your Comparer object. For instance, if you want to use AutoSortArrayList for strings, assign System.Collections.CaseInsensitiveComparer
....Read More |
Rating
|
|
|
|
Creating and Using .NET Components
|
Total Hit (885) |
Code reuse is an important concept in software engineering. This article looks at how we can implement one method of code reuse via the building of reusable components.
|
Rating
|
|
|
|
Grant or deny permission to a user or role?
|
Total Hit (939) |
ASP.NET is used to control client access to URL resources. It is configurable for the HTTP method used to make the request (GET or POST) and can be configured to allow or deny access to groups of users or roles. The following example shows access being granted to a user named John and a role named A
....Read More |
Rating
|
|
|
URL Demo
|
Total Hit (2077) |
How to create a web site that loads itself on multiple URLs.
|
Rating
|
|
|
PopUp Calendar
|
Total Hit (911) |
PopUp Calendar for ASP.NET applications
|
Rating
|
|
|
|
|
Creating Lookup Screens using ASP.NET, XML and JavaScript
|
Total Hit (797) |
Lookup screens are dialog boxes that allow you to pick a value from a list of values. This article tells you how to use IE, JavaScript, XML and ASP.NET web forms to create a generic lookup screen that is flexible and configurable via XML.
|
Rating
|
|
|
|
|
|
Returning Resultsets Using Sql Server Stored Procedures...
|
Total Hit (830) |
Every modern database system has a stored procedure language. SQL Server is no different and has a relatively sophisticated and easy to use system. This article will not attempt to go into depth in explaining SQL Server stored procedure programming - there are whole books devoted to the subject. Ins
....Read More |
Rating
|
|
|
Including a Popup Calendar Inside an ASP.NET Datagrid
|
Total Hit (850) |
In previous articles we have shown ways to include a popup calendar for web forms. In this article we will demonstrate how to do it within an asp.net datagrid. The actual technique is about the same. You just have to know how to setup the datagrid and the codebehind to accomodate it. We will get rig
....Read More |
Rating
|
|
|
|
|
How Do I...Send a message to a message queue?
|
Total Hit (745) |
Message queuing makes it easy for application developers to communicate with application programs quickly and reliably by sending and receiving messages. Messaging provides you with guaranteed message delivery and a robust, fail-safe way to carry out many of your business processes.
....Read More |
Rating
|
|
|
|
|
|
|
Language Support
|
Total Hit (635) |
«big»«u»«b»Index «/b»«/u»«/big»
«Li» Declare a variable
«Li» Issue a statement
«Li» Comment my code
«Li» Declare a simple property
«Li» Use an indexed property
«Li» Declare an indexed property
«Li» Declare an enumeration
«Li» Enumerate a collection or array
«Li» Declare and use a
....Read More |
Rating
|
|