Enter your email address:

feedburner count

Asp.net Tip series #1 : confirm message box before performing an action ?

When a critical action such as deleting / destroying / dropping.... user /database .... is excuted, system must ask user confirm before doing that important task. How can we pop op a message box to ask user ? Use this code snippet :

  • Method 1:
Javascript :
<script language="JavaScript">


function confirm_delete()


if (confirm("Do you want to delete ?")==true)

return true;


return false;




In code behind, add this custom attribute to action control , in this example a button control named btnDelete :
lbtn.Attributes.Add("onclick", "return confirm_delete();");

  • Method 2 : Just add this code snippet in code behind :

lbtn.Attributes.Add("onclick", "return confirm('Do you want to delete ?')");

Microsoft Details Pricing and Licensing for Visual Studio 2005 and Simplifies Microsoft Developer Network Subscriptions

New Versions of Visual Studio 2005 and MSDN Subscription Offerings Reflect Price Cut Incentives to Upgrade From Visual Studio .NET

REDMOND, Wash. -- March 21, 2005 -- Microsoft Corp. today detailed pricing and licensing terms for Visual Studio® 2005, its comprehensive application development tool set, as well as simplification of its Microsoft® Developer Network (MSDN®) subscriptions, the primary vehicle through which most developers obtain Visual Studio. Microsoft will reduce the estimated retail price1 of Visual Studio 2005 Professional Edition while offering special pricing to existing MSDN subscribers for Visual Studio 2005 Team System, the expansion of the Visual Studio product line to include integrated software life-cycle tools. In addition, current Visual Studio users will be eligible for promotional pricing to acquire MSDN subscriptions now, in preparation for Visual Studio 2005, expected in the second half of calendar year 2005. This will enable more developers to take advantage of the productivity, security enhancements and improved deployment capabilities of the .NET Framework.

"With Visual Studio 2005 Team System, Microsoft introduces features and technologies to support application development through all phases of the software life cycle, from development to deployment," said S. Somasegar, corporate vice president of the Developer Division at Microsoft. "In addition, more accessible tools pricing for small businesses and simplification of MSDN subscription levels for our enterprise customers will enable Microsoft to deliver a complete development platform to satisfy developers at all levels."

New subscription and renewal estimated retail pricing for Microsoft Visual Studio 2005 Professional and Standard editions follow:

Visual Studio 2005 Professional Edition: $799 (upgrade: $549)

Visual Studio 2005 Tools for the Microsoft Office System: $799 (upgrade: $549)

Visual Studio 2005 Standard Edition: $299 (upgrade: $199)

Visual Studio 2005 Express editions will be $49.

Visual Studio 2005 Team System and MSDN Subscriptions for New Customers

With the addition of Visual Studio Team System, Microsoft expands the definition and audience reach of the Visual Studio product line beyond developers to development teams, adding new tools for project managers, software testers, infrastructure and software architects, and IT business decision-makers. The Team System also offers new advanced features for software developers. With tightly integrated application design, development and quality tools, as well as a customizable software process methodology, Team System offers development teams the tools and processes that will help them increase the predictability of successful projects, gain greater organizational efficiency and lower overall development costs. Visual Studio Team System's role-based product line includes Visual Studio Team Edition for Software Architects, Visual Studio Team Edition for Software Developers and Visual Studio Team Edition for Software Testers. Also included in Visual Studio Team System is the Visual Studio Team Suite, which contains all three role-based products, and the new Visual Studio Team Foundation Server for more efficient team collaboration.

"The trend to align IT and the line of business clearly mandates that the IT organization provide value throughout the entire application life cycle," said Theresa Lanowitz, research director at Gartner Inc. "Requirements for products in this market and category have shifted away from individual point products and have instead begun to focus on strategic planning throughout the life cycle. Use of these more strategic products is expected to be one component of building an application quality ecosystem that also consists of people and process."

Most Visual Studio users receive Visual Studio through an MSDN subscription, and MSDN provides Software Assurance for Visual Studio. Customers choose an MSDN subscription level and receive development and test licenses for Microsoft servers and applications along with an accompanying Visual Studio product. With Visual Studio Team System, customers will continue to receive these MSDN subscription benefits with the new line of subscriptions that complement the Visual Studio 2005 product line.

Subscription and renewal estimated retail pricing for Visual Studio 2005 Team System offers tremendous value relative to the traditionally costly life-cycle products in this segment; prices for volume licenses start at $3,191 including Software Assurance. More information about the estimated retail pricing for Visual Studio 2005 Team System can be found at http://www.msdn.microsoft.com.

In addition, Microsoft will offer an MSDN subscription with Visual Studio Professional Edition products to afford small businesses the same subscription benefits as large enterprises:

Visual Studio 2005 Professional Edition with MSDN Premium subscription: $2,499 (renewal: $1,999)

Visual Studio 2005 Professional Edition with MSDN Professional subscription: $1,199 (renewal: $799)

MSDN Operating Systems subscription: $699 (renewal: $499)

MSDN Library subscription: $199 (renewal: $99)

No-Cost Upgrades for Active MSDN Universal Subscribers

Existing MSDN Universal subscribers can enjoy a seamless transition to Visual Studio 2005 Team System and automatically receive a no-cost upgrade to one of the role-based subscription products for each active subscription license they own at the time of product availability. Special upgrade pricing to the Team Suite also will be available. Active subscribers may elect to renew their subscription and preserve their existing pricing for future renewals, if they choose; customers without subscriptions, or customers whose subscriptions have lapsed at the time of product availability, will not receive these special pricing offers.

Promotional Opportunity to Prepare for Visual Studio 2005

In preparation for Visual Studio 2005, Microsoft will also offer promotional pricing for customers who want to purchase or upgrade an MSDN subscription. Acquiring MSDN Universal today will enable customers to take advantage of the no-cost upgrade to Visual Studio 2005 Team System upon the product's availability in the second half of 2005.

Visual Studio 2005 Transition Benefits Extend to Microsoft Partners

The Microsoft Partner Program provides software and developer license benefits via an MSDN subscription. Along with Visual Studio 2005 product availability, partners will enjoy upgrade and transition benefits. Details about Microsoft Partner Program changes will be available to all partners beginning today. Appropriate transition plans will support partners through this change in their benefits.

About Visual Studio

Visual Studio 2005 Team System, productive, integrated and extensible software life-cycle tools that enable businesses to reduce the complexity of delivering service-oriented solutions

Visual Studio 2005 Professional Edition, the comprehensive development tool for professional developers working alone or in small teams

Visual Studio 2005 Standard Edition, a flexible development tool for part-time or line-of-business application developers building Windows®-based, Web or mobile applications

Visual Studio 2005 Tools for the Microsoft Office System, the comprehensive development tool for professional developers building Microsoft Office System solutions using Excel, Word and InfoPath®

Visual Studio 2005 Express editions:

Visual Web Developer (TM) 2005 Express Edition, a lightweight tool for building dynamic Web sites and Web services

Visual Basic® 2005 Express Edition, Visual C#® 2005 Express Edition, Visual C++® 2005 Express Edition and Visual J#® 2005 Express Edition, streamlined programming tools that help beginning programmers learn how to build Windows-based applications

About Microsoft

Founded in 1975, Microsoft (Nasdaq "MSFT") is the worldwide leader in software, services and solutions that help people and businesses realize their full potential.

1 Pricing given is estimated retail pricing; reseller prices may vary. All prices given are in U.S. dollars.

Microsoft, Visual Studio, MSDN, Windows, InfoPath, Visual Web Developer, Visual Basic, Visual C#, Visual C++ and Visual J# are either registered trademarks or trademarks of Microsoft Corp. in the United States and/or other countries.

The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

Note to editors: If you are interested in viewing additional information on Microsoft, please visit the Microsoft Web page at http://www.microsoft.com/presspass on Microsoft's corporate information pages. Web links, telephone numbers and titles were correct at time of publication, but may since have changed. For additional assistance, journalists and analysts may contact Microsoft's Rapid Response Team or other appropriate contacts listed at http://www.microsoft.com/presspass/contactpr.mspx.

Source : Microsoft

I'm the first record in google search results !

Type some keywords into google search bar, have some fun :

le thanh hung professional

le thanh hung dot net

le thanh hung mcp

le thanh hung axes2

le thanh hung team leader

le thanh hung project manager

le thanh hung is a person top VietNam Microsoft

le thanh hung work for Fortune 500 company

le thanh hung leader fortune 500 company

le thanh hung take a trip to Microsoft

le thanh hung vision

le thanh hung google

le thanh hung mcp hall of fame 2005

Implement innertText in Mozilla

There is a innerText property in IE4 and upper version, but there is no
such a property in Mozilla base browser, in order to simulate this
property , using this code to overide default behavior for Mozilla base

HTMLElement.prototype.__defineSetter__("innerText", function (sText) {
this.innerHTML = sText.replace(/\&/g, "&amp;").replace(//g, ">");

BREAKING NEWS: MCP Program Takes New Road in September

Changes are afoot in the Microsoft Certification Program that can be labeled as "evolutionary"; that is, changes to the certification process will be implemented over time, as newer technologies become generally available.

The first of those changes will occur among the SQL Server and Visual Team Studio products, which are planned for a major launch event in San Francisco on November 7. Certification details for those programs will be posted around September on the Microsoft Certification Program Web site, according to Al Valvano, Microsoft Learning Group Program Manager. Valvano provided details of the revamped certification program plans during a Learning Solutions Workshop at the Worldwide Partner Conference in Minneapolis over the weekend.

According to Valvano, Microsoft will follow tradition, releasing exams for SQL Server 2005 and Visual Studio Team System about 45 days after the release of the products to the general public. Those exams, however, won't fit into the traditional MCP schema that one might be familiar with. Instead, Microsoft will introduce a new framework for certification that will pair up a credential with a skill-identifying certification based on a tiered approach consisting of the following credentials:

* Tier 1: Microsoft Certified Technology Specialist will require simply passing one to three exams based on a Microsoft technology. As products meet the end of the support lifecycle, its related exam will be retired.
* Tier 2: Microsoft Certified IT Professional or Professional Developer require a Technology Specialist certification, plus one to three more exams, based on the requirement for a particular path. This tier is tied to job role at an organization, such as Database Developer or Business Intelligence. Recertification will be required to maintain status at this level.
* Tier 3: Microsoft Certified Architect is a rigorous, board-level certification that requires recertification. Achieving Technology Specialist or IT Professional or Professional Developer certification not a prerequisite to attaining this level of certification.
Microsoft is still hammering away at the details for the first two tiers, but Valvano provided a generous amount of what the group has developed thus far, via a presentation that diagrammed the new framework. It's obvious that the new program differs significantly from the current program.

How changes in the SQL Server and Visual Studio versions of the program will trickle down to the rest of the program, particularly in the MCSA and MCSE credentials, can only be a guess and Valvano didn't offer up any clues through the presentation, only showing that most of the information is 'to be decided.'

"We're prepared only to provide details on the SQL Server and Visual Studio programs," he reiterated.

Valvano explains that the "new generation" program is aimed at making it easier to identify the specific skills that an individual is capable of deploying (highlighted by the Technology Specialist) and the type of job role that individual can fulfill (IT Professional or Professional Developer). The new-gen certification will be composed of a credential and skill-identifying certification (see Figure 1). So, at the first tier in the new plan, a cert candidate might achieve several versions of Microsoft Certified Technology Specialist to highlight as many skills as possible. The skills will be listed to the right of the Technology Specialist logo.
Some time in December, Microsoft hopes to be able to offer the initial Technology Specialist titles for SQL Server 2005 and Visual Studio 2005. Other technologies, such as BizTalk Server 2006 (next in line) and Longhorn (much further away, in late 2006 or, more possibly, in 2007), will go online when those products are eventually released.

At the next tier is the Professional Series, either the IT Professional and Professional Developer. These titles will also require an extra set of one to three exams. The Microsoft Certified IT Professional is the likely title to make a comparison to the current MCSE program, but the difference is apples to oranges. The goal here is to provide a title that defines the individual's job role within an organization. Valvano provided an example for SQL Server 2005, which showed certifications for three specific job roles that a SQL Server expert might perform: Database Administrator, Database Developer, or Business Intelligence Developer. Even with the roles being distinct ones, a candidate can conceivably opt to attain all three.

Microsoft currently has plans to provide an upgrade path for current MCDBAs on SQL Server 2003 to Microsoft Certified IT Professional: Database Administrator. Valvano says the path will consist of passage of two exams

Microsoft will provide a two-exam upgrade path for MCDBAs on SQL Server 2000 who want to prove SQL 2005 proficiency via the Microsoft Certified IT Professional title. Two exams also will be required for MCSDs upgrading to the Microsoft Certified Professional Developer: Enterprise Application Developer title. Only one exam will be required for MCADs upgrading to the newer Windows and Web versions of the Microsoft Certified Professional Developer titles. (Click image to view larger version. Source: Microsoft Corp.)

Roadmap from current credentials to new generation credentials. The path upward from MCSA and MCSE is still TBD for another year. (Click image to view larger version. Source: Microsoft Corp.)

The Professional Developer credential is similar in some ways to its predecessor MCSD title, in that candidates can distinguish between Web-enabled or Windows-enabled development paths. The Professional Developer Series does one better than the MCSD, though, in offering an addtional Enterprise Application Developer job role.

So, What Happens with My MCSE?
Candidates working toward an MCSE or MCSA title might be wondering if their current certification efforts will become useless. Will the current title retire? Should candidates drop everything and wait for Microsoft to introduce the Longhorn version of the certification under the new program framework?

"[The MCSE/MCSA/MCDBA titles] are not going away and those continue to remain valid, just like there are people who continue to certify on Windows 2000," says Valvano. He does acknowledge that there will be an upgrade path to the new certification program from the current ones (see Figure 3), but says that development on the preliminary framework hasn't even begun, as much depends on what's in Longhorn. And Longhorn is still more than a year from delivery. -- Michael Domingo, courtesy of MCPmag.com

Implement innertText in Mozilla

There is a innerText property in IE4 and upper version, but there is no such a property in Mozilla base browser, in order to simulate this property , using this code to overide default behavior for Mozilla base browser:

HTMLElement.prototype.__defineSetter__("innerText", function (sText) {
this.innerHTML = sText.replace(/\&/g, "&amp;").replace(//g, ">");

Very super extreme too busy !

Too many thing to do ! How can I handle all .