Browse by Tags
All Tags »
ASP.NET 2.0 (
RSS)
Sorry, but there are no more tags available to filter with.
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
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
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...
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...
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
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 ...
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...
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
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...
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...
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...
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...
A great article on ASP.NET 2.0 Master Pages: Inside ASP.NET 2.0 Master Pages Regards
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...
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...
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...
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...
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”...
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...
Here is a nice link to insert a new record into the database: http://fredrik.nsquared2.com/viewpost.aspx?PostID=155 Regards
More Posts
Next page »