Recent Posts

Tags

Community

Email Notifications

All Links

Blogs I Read

My Articles

JavaScript & CSS

Date & Time

SQL Server 2000/2005

Articles I Read

ASP.NET Free Controls

MVFP (Most Valuable Forum Posts)

Archives

Browse by Tags

All Tags » ASP.NET 2.0 (RSS)
Sorry, but there are no more tags available to filter with.
Maintain Position In ASP.NET 2.0
A new trick in ASP.NET 2.0 to maintain position upon postback is as follows: <%@ Page Language="VB" MaintainScrollPositionOnPostBack="true" %> <%@ Page Language="C#" MaintainScrollPositionOnPostBack="true" %> Regards
Posted: Dec 06 2005, 02:04 PM by simple | with no comments
Filed under:
An Extended Look at the Profile Object - Part 3
Dear all: I would like to announce my third article in the series of ASP.NET 2.0, the Profile object. You are all welcome to check my article at the following URL: An Extended Look at the Profile Object - Part 3 Regards
Posted: Dec 05 2005, 07:39 AM by simple | with no comments
Filed under:
CustomValidator in ASP.NET 2.0
Check out this Tip: The ValidateEmptyText property, new in ASP.NET 2.0, fixes an issue with CustomValidator. In ASP.NET 1.0 custom validation would not fire if ValidationText was empty. You can set this property to true to cause custom validation to occur...
Posted: Nov 25 2005, 07:51 AM by simple | with no comments
Filed under:
Using SQL Transactions Properly
Today, I was creating a small tiny script to generate a set of acocunts to be placed in my Database at work. I thought that such a small script doesn't require creating Stored Procedures. So I thought of using simple scripts to execute. However, I had...
Posted: Nov 21 2005, 01:29 PM by simple | with no comments
Filed under:
VS.NET 2005 is Final
Dear ASP.NET developers: The VS.NET 2005 (Standard + Professional) is now available for all those who have MSDN Subscription. Go to http://msdn.microsoft.com/ and get your copy. Enjoy Dot Netting !! Regards
Posted: Oct 31 2005, 02:27 PM by simple | with no comments
Filed under:
An Extended Look at the Profile Object - Part 2
I would like to announce my second article in the series of articles on the Profile object, a new feature in ASP.NET 2.0 You may visit the article @ An Extended Look at the Profile Object - Part 2 Hope you are enjoying my articles. Happy Dot Netting ...
Posted: Oct 25 2005, 08:38 AM by simple | with no comments
Filed under:
Object Reference not set to an instance of an object in VS.NET 2005
I faced a weird problem today while trying to add a new ASPX page into my working solution in Visual Studio.NET 2005. The problem is that I am unable to add a new ASPX page with code behind. I used to get the following error: Object Reference Not set...
Posted: Oct 13 2005, 12:18 PM by simple | with no comments
Filed under:
An Extended Look at the Profile Object in ASP.NET 2.0
I would like to announce my third article on the http://www.aspalliance.com : An Extended Look at the Profile Object - Part 1 Hope you will benefit from it to the max. Regards
Posted: Oct 07 2005, 09:01 AM by simple | with no comments
Filed under:
Take your ASP.NET 2.0 Website Offline
A very nice technique by the ASP.NET 2.0 Team, You can now take your application offline by just placing a file called App_Offline.htm into the root folder of your application online. What this file does is that, all requests to your application will...
Posted: Oct 07 2005, 08:49 AM by simple | with no comments
Filed under:
Dynamic Loading of UserControl in ASP.NET 2.0 Beta 2
I was trying to dynamically load a user control in an ASP.NET 2.0 project. The problem was, the code-file could not be seen in my ASPX page. To make this work, I did the following steps: 1- I put my usercontrol in a new normal folder called: App_UserControls...
Posted: Sep 12 2005, 03:00 PM by simple | with 6 comment(s)
Filed under:
FindPageControl :: Get Control inside a content page
In my previous post, I talked a problem in ASP.NET 2.0 using Master Pages. I recommend using the following: In the BaseClass of your aspx pages in ASP.NET, add the following: protected Control FindPageControl( string ControlName, string ContentHolderName...
Posted: Sep 02 2005, 03:18 PM by simple | with no comments
Filed under:
FindControl while using Master Pages
There is something missing in ASP.NET 2.0 Master Pages Beta 2 in the way we access controls on the content page. For example, I use the following lines of code to get a reference to the CheckBoxList (CheckDays) on a page placed inside the ContentPlaceHolder...
Posted: Sep 02 2005, 10:37 AM by simple | with no comments
Filed under:
Inside ASP.NET 2.0 Master Pages
A great article on ASP.NET 2.0 Master Pages: Inside ASP.NET 2.0 Master Pages Regards
Posted: Sep 01 2005, 06:33 PM by simple | with no comments
Filed under:
DateTime Formatting in ASP.NET 2.0
This is a nice summarized sample code on how to format DateTime instances: // This code example demonstrates the String.Format() method. // Formatting for this example uses the "en-US" culture. using System; class Sample { enum Color {Yellow = 1, Blue...
Posted: Aug 10 2005, 09:26 AM by simple | with no comments
Filed under:
SuperDropDownList 1.0
Hello: I have uploaded a new control on my personal website, under the title SuperDropDownList . What this control does is the following: 1- Insert a default ListItem at the top of the data bounded DropDownList 2- Adds a RequiredFieldValidator to check...
Posted: Aug 08 2005, 10:20 AM by simple | with no comments
Filed under:
Modal Dialog Window Caching Problem
Hello: Suppose you open a Modal Dialog window inside your ASP.NET page. In that dialog window, you have a GridView, DataGrid, or whatever control. Do some changes on that control, you will see that the data has changed right? Ok, then close the dialog...
Posted: Aug 07 2005, 12:34 AM by simple | with 2 comment(s)
Filed under:
CheckBoxField in GridView
In the new data control, GridView, you have a new column called CheckBoxField, this column, accepts a boolean value and display a CheckBox either selected or not and disabled. What if you want to retreive the value from that column, to see if the CheckBox...
Posted: Aug 07 2005, 12:17 AM by simple | with no comments
Filed under:
DropDownList Tip
Hi: I was binding the DropDownList on an ASPX page in the Page_Load as follows: this .TypesDDL.DataSourceID = this .TypesDDL.DataSourceID; Then, after all I was adding the following: this .TypesDDL.Items.Insert(0, new ListItem(”text”, “value”...
Posted: Aug 06 2005, 04:35 PM by simple | with no comments
Filed under:
Access Selected GridViewRow in GridView
Hello: I was working last night around 3:00 AM, and I found out that in my GridView Column's list, I have added a TemplateField of type LinkButton with CommandName=”EditRec”, in such a way, when the Edit link button is clicked, I want to access...
Posted: Aug 06 2005, 01:05 PM by simple | with 1 comment(s)
Filed under:
Insert a New Record Using GridView
Here is a nice link to insert a new record into the database: http://fredrik.nsquared2.com/viewpost.aspx?PostID=155 Regards
Posted: Aug 01 2005, 03:22 PM by simple | with 4 comment(s)
Filed under:
More Posts Next page »