ASP.NET Source Code : Controls |
|
|
|
|
|
|
|
|
Calendar Web Control by James Chen |
| Calendar web control is provided by Microsoft.Net framework, it can display a calendar in a web page, user can navigate to any day in any year, user can also select dates, and it can also used to display some information, like appointment or schedule, in the calendar.... read more
|
| Author: loopsnlogic |
Reviews: 0 |
Date: 26th Jul, 2007 |
Rating: No Rating |
Accessed: 630 |
|
|
|
|
|
Passing Variables from User Controls to ASP.NET pages |
| server-side includes to maintain a consistent look across a website is a common way I've found to be useful. ASP has introduced pagelets, these pages are separate files or webpages that contain certain information you want displayed across several webpages. The nice thing about pagelet is they are very similar to server-side include files.
Both file types allow to have the code in one file and using "DIRECTIVES" to call that page across several files. I've used server-side include files to maintain a similar look and feel for many of my webpages on ASPFree.com. I used this method to dynamically pass a TitleBarDemo variable that gets set on every page. Pagelets can also contain logic code that can greatly increase the power of what they perform.... read more
|
| Author: loopsnlogic |
Reviews: 0 |
Date: 26th Jul, 2007 |
Rating: No Rating |
Accessed: 503 |
|
|
|
|
|
Embed Word in a Web Page with an Easy VB Custom Control |
| There are several approaches that may be used to get a word document into a web page, but that the one demonstrated in this example appears to be the easiest and most reliable method of delivery that I have encountered in terms of actually embedding the document. Some alternative approach will download the document to the user's machine and open it in Word or the Word Viewer is it is installed.... read more
|
| Author: ahmedraza |
Reviews: 0 |
Date: 19th Jul, 2007 |
Rating: No Rating |
Accessed: 755 |
|
|
|
|
|
Displaying Extended Details in a GridView Using an Ajax Pop-Up (Part 1) |
| As web developers we are often tasked with building online reports. For ASP.NET 2.0 web applications, the GridView control is commonly used to display report data. A common challenge in building reports is achieving the right balance between readability and information. Users want to have all of the pertinent information available on one screen, but too much data dumped on a single screen leads to information overload and makes the report difficult to digest. Oftentimes, a report displays the high-level information and enables users to drill down into the details. One way to implement drill down details is to add a link to each item in the report that, when clicked, takes the user to a page that shows the selected item's details. This approach works well if the details displayed require significant screen real estate or if the user is likely to only want to view a particular item's details. If, however, a typical user needs to view the details for many items, having to go to a separate web page to view each item's details can be counterproductive. An alternative approach is to have a window appear on screen when mousing over a particular item that would show the item's details.... read more
|
| Author: mobeenamjad |
Reviews: 0 |
Date: 18th Jul, 2007 |
Rating: No Rating |
Accessed: 694 |
|
|
|
|
|
Displaying Extended Details in a GridView Using an Ajax Pop-Up (Part 2) |
| This two-part article series examines how to use Microsoft's ASP.NET AJAX to add a pop-up control to a GridView in order to display drill-down detail information in a responsive and clean manner. In Part 1 we looked at displaying the list of employees from the Northwind database in a GridView. This involved building an application architecture consisting of a Data Access Layer (DAL) created via Typed DataSets and a Business Logic Layer (BLL) created as custom classes. We then created an ASP.NET page that used a GridView and an ObjectDataSource to invoke the appropriate BLL method and display the results.... read more
|
| Author: mobeenamjad |
Reviews: 0 |
Date: 18th Jul, 2007 |
Rating: No Rating |
Accessed: 1676 |
|
|
|
|
|
How to add alert Javascript coding for Gridview |
| Sometimes we need to confirm from the client side, whether to proceed for deletion operation or not? We can use this code snippet to add that alert box to the user.... read more
|
| Author: ahmedraza |
Reviews: 0 |
Date: 4th Jul, 2007 |
Rating: No Rating |
Accessed: 714 |
|
|
|
|
|
Timed Ajax calls with JQuery and ASP.NET |
| We want to periodically call our "timeserver" using Ajax calls and here's the ASPX and JavaScript needed... read more
|
| Author: ahmedraza |
Reviews: 0 |
Date: 20th Apr, 2007 |
Rating: No Rating |
Accessed: 1946 |
|
|
|
|
|
Server control - custom collection with innercontent |
| ParseChildren(true,"Name"),DefaultProperty("Name")]
public class Foo
{
private string m_strName = "foo123";
[PersistenceMode(PersistenceMode.InnerDefaultProperty)]
public string Name
{
get { return m_strName; }
set { m_strName = value; }
}
private string m_strPosition = "Whatever";
public string Position
{
get { return m_strPosition; }
set { m_strPosition = value; }
}
}... read more
|
| Author: ahmedraza |
Reviews: 0 |
Date: 20th Apr, 2007 |
Rating: No Rating |
Accessed: 878 |
|
|
|
|
|
Dynamically Add Rows to a DataGrid |
| Code snippet,found on aspngbeta list,of C# dynamically adding rows to a datagrid.... read more
|
| Author: loopsnlogic |
Reviews: 0 |
Date: 24th Jan, 2007 |
Rating: No Rating |
Accessed: 1273 |
|
|
|
|
|
A User Control without an Interface |
| An example of a user control that takes the place of the original ASP include files. A user control does not need to have a visible interface. (originally posted on aspngbeta).... read more
|
| Author: loopsnlogic |
Reviews: 0 |
Date: 24th Jan, 2007 |
Rating: No Rating |
Accessed: 491 |
|
|
|
|
|
|