Thursday, March 8, 2007

Proctect your blog content

I have found great site which will list the users who are using content without your site.
So you can protect your blog content.

here is the link ....
http://www.copyscape.com/
Share:
Friday, March 2, 2007

Spalsh Screen -C#

It is a good idea to create splash screen when you loading data on the main form. So splash screen resides till the data loaded on the screen.

Fist design a form then set formborderstyle property to "SizableToolWindow"
set ControlBox Property to "False"
set StartPosition Property to "CenterScreen"
set WindowState Property to "Normal"

Import following name space with using directive


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;


then write following code on the your main forms load event


FrmSplash frm = new FrmSplash();
frm.Show();
Application.DoEvents();
Application.DoEvents();
Application.DoEvents();
Application.DoEvents();
Application.DoEvents();
Application.DoEvents();

////do your work here you can put your code to load data
Application.DoEvents();
Application.DoEvents();
Application.DoEvents();
Application.DoEvents();
Application.DoEvents();
frm.Close();
Share:

Indian Buget Effects on the Technology

The Indian Finance Minister has presented a financial budget for year 2007-2008. The FM has put a 12% met tax on softwares.

I have found a very ineresting site where we can found whole effects of budgets on technology .
here is the link

http://www.tech2.com/budget
Share:

Enterprise Resource Planning....

Our company have decided to develope a Enterprise Resource Planning System. We are new to this.So please put us some comments how we should start and how we develope this erp system.
You can put your comments at my blog Jalpesh or Sameer.

I am eagarly waiting my users Comments.

Have a nice time....
Share:
Thursday, March 1, 2007

Stored Procedure-Importing CSV Files into Table -SQL Server

Here is the Stored Procedure code for importing comma seperated CSV files to table.


CREATE PROCEDURE [dbo].[sp_ImportScript]
@filepath varchar(2000)
AS
BEGIN TRY
declare @tmpsql varchar(3000)
set @tmpsql='BULK INSERT table'
set @tmpsql=@tmpsql + ' FROM ''' + @filepath + ''''
set @tmpsql=@tmpsql + ' WITH (FIRSTROW=2,FIELDTERMINATOR ='
set @tmpsql=@tmpsql + ''','''
set @tmpsql=@tmpsql + ',ROWTERMINATOR ='
set @tmpsql=@tmpsql + ''','''
set @tmpsql=@tmpsql + ')'
EXEC(@tmpsql)
select @@rowcount
END TRY
BEGIN CATCH
DECLARE @ErrMsg nvarchar(4000), @ErrSeverity int
SELECT @ErrMsg = ERROR_MESSAGE(),
@ErrSeverity = ERROR_SEVERITY()
RAISERROR(@ErrMsg, @ErrSeverity, 1)
END CATCH
Share:

How to set default value of a property in Class-C# 2.0

If you wanna set properties default value at the time of Class Instance creationg here is code that.

Import following name space to your class with using directives.

using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

Then create a private variable field for property

private string _message;

Finally here is code that generate default value with property.

[DefaultValue("This is default value of message")] //this code generates default value
public string Message
{
    get
    {
        return _message;
    }
set
    {
        _message = value;
    }
}



Note: You can create a DefaultValueAttribute with any value. A member's default value is typically its initial value. A visual designer can use the default value to reset the member's value. Code generators can use the default values also to determine whether code should be generated for the member.

For more reference see following link - http://msdn.microsoft.com/en-us/library/system.componentmodel.defaultvalueattribute.aspx
Share:

Meta Tag Extractor

For Search engine optimization Meta Tag is very much important to rank your site within the search engine.

A SEO person always require meta tag extractor to get meta tags from vairous sites and find best keywords that match your site.

I have found a great meta tag extractor here is a link :
http://www.iwebtool.com/metatags_extractor
Share:

Microsoft India Blogstar Content Winners

Microsoft India has conducted Microsoft India Blogstar Contest to encourage Microsoft technology related blogger.

The winners have a chance to meet Steve Balmer -CEO Microsoft Corporation.The winners are announced.

Here is the link:
http://www.microsoft.com/india/blogstars/winners.aspx
Share:

Filling typed dataset with enterprise libary 2006-C#

Here is the code filling data with enterprise library.

First Create a Type dataset in the visual studio dataset called 'crystal'.
Then create a data table via right click add datatable called script.create
columns you require.

and then first import following name space using directives.

using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary;
using System.Data;
using System.Data.Common;

Database db = DatabaseFactory.CreateDatabase("StockConnectionString");
private string _CommandName;
_CommandName = "sp_LoadScript";
DbCommand dbCommand = db.GetStoredProcCommand(_CommandName);
db.AddInParameter(dbCommand, "Name", DbType.String, "abc");
db.LoadDataSet(dbCommand, Crystal, "script");

here sp_Loadscript is a sql server 2005 stored procedure which load
script.
Share:

Starting PageCounter to Specific Value in ASP

Here is a code that start value to a specific value.
In the code i have started its value from 10000

Dim objPageCount
Set objPageCount = Server.CreateObject("MSWC.PageCounter")
objPageCount.PageHit()

dim hit
hit=objPageCount.Hits()+ 10000
Response.Write "Site Visitors: " & hit & ""

Happy Programming
Share:

Tired of Finding Jobs- Don't Give Up

If you are finding jobs for a long time and you are not getting interview calls from companies then just don't give up just keep trying. Here is a post for you that will inspire you on this.

http://aliabdin.wordpress.com/2006/12/09/determination-drive-and-passion/
Share:
Wednesday, February 28, 2007

ASP.NET Ajax Videos

Ajax is one of most hot and upcoming technologies for web developement plateform. Microsoft has launched its ajax development kit . With it you can easily create ajax enabled application with asp.net . With help it takes few mintues to convert existing asp.net application to ajax enabled asp.net application.

Microsoft also lauched some tutorial and video with it's How do I ajax video series. It is 25 video which cover all aspects of ajax development.

Any one can download it with following links.

http://www.asp.net/learn/videos/default.aspx?tabid=63
Share:

C#-VB.NET name spaces

I have found one interesting things name spaces. Name space help us to organize our code in better way.

You should create name space as following.

company.product.layer.section
Share:

Performance Tuning on SQL Server

Performance is one of most important factor at the time of the application developement. If your application or website is not responding fast to user queries then it's accepted by the users.

Here are the some tips to make fast retrival of data from sql server.

1) Create Index- Indexes are great way to improve your performance. It uniquely indetifys the each row in table.

2) Avoid Cursor- Cursors are time consuming so avoid cursors as much as you can do more work with queries.

3) Avoid Joins- Joins are also time consuming so avoid it.

4) Create Primary and Foreign keys in tables

5) Be sure your tables must have atleast one column that uniquely indetifys each rows
Share:
Saturday, February 24, 2007

SQL Server Index

Some Times we want to retrive data fastly without wasting time to retrive it. SQL Server Indexes can greatly help to make data retrival fast and provide quick access to tables.
Therer are four type of indexes in SQL Server 2000/2005.
1) Unique Key Index
2) Clustered Index
3) Non Clustered Index
4) Compsite Key Index
Unique Key Index:
As the name suggest this index does not allow duplicate values in rows. So it checks whether the data is unique or it Other wise it will give a error.
Clustered Index:
Clustered Index dictates the physical storage order of the data in the table. A table can have only one clustered index.
Non Clustered Index:
A non clustered index is a seperate index structure indepedent of the physical storage order of data. Sql Server 2000 alllowed 249 indexes per table.
Compsite Key Index:
As the name suggest in the composite key index two or more columns of tables to make a single unit. Sql Server 2000 allow 16 indexes per table.




Share:

Creating ASP.NET 2.0 Website with Web 2.0 Standards

Web 2.0 is used mostly today because it provides great compatibility with most of the browsers.
So that a website can reach maximum audience. That's why the web 2.0 used the div tags rather then the other html standards.

An ASP.NET site also can be build by this standards. Stephen Walther has written great article at msdn with all the knowledge required to build ASP.NET Sites with web 2.0. Here is the link of that article.

http://msdn2.microsoft.com/en-us/library/aa479043.aspx
Share:
Tuesday, February 20, 2007

Directly Binding Dataset with Datagrid View

With windows forms 2.0 you can directly bound the datagrid with dataset.

For example,

your dataset name is 'dt'

First fill your dataset with data.

Then select datagridview and create the columns and in the datamember property of each give the name of column you want to bind.

just write the following code.

For example you datagrid code is dg

dg.DataSource=dt;
dg.Refresh();

That's it you have bound the datagrid with dataset
Share:
Thursday, February 15, 2007

Capabilities Microsoft SQL Server,Microsoft ACCESS, MSDE

I have found a very good site with provide the comparison of Microsoft sql server, Microsoft and mdse capabilities on the basis of following.
  1. Number of instances per server
  2. Number of databases per instance / server
  3. Number of objects per database
  4. Number of users per database
  5. Number of roles per database
  6. Overall size of database (excluding logs)
  7. Number of columns per table
  8. Number of rows per table
  9. Number of bytes per row
  10. Number of columns per query
  11. Number of tables per query Size of procedure / query
  12. Number of input params per procedure / query
  13. Size of SQL statement / batch Depth of sub query nesting
  14. Number of indexes per table
  15. Number of columns per index
  16. Number of characters per object name
  17. Number of concurrent user connections

here is the link for that site:

http://sqlserver2000.databases.aspfaq.com/what-are-the-capacities-of-access-sql-server-and-msde.html

Share:
Tuesday, February 13, 2007

SQL Server 2005 Reporting Service.

There are lots tool available to develop reports. It has it's own advantage and disadvantage. One of most popular reporting tool is crystal report also has some limitation.

Microsoft has introduced a new way to develop the reports directly from sql server....SQL Reporting Service. It was there in sql server 2000 days but we have to add it as external service. Now with SQL Serve r2005 it is there with the sql server 2005 itself.

It supports all the features such as cross tab,sub reports etc...
Share:

SQL Server 2005 Express Edition User Instances.

Sql Server Express edition is a small version of a sql server 2005 and that provides data storage capability up to 4 gb. It is easily ships with the each application so many users are using this version of sql server instead Microsoft access as a database for windows base application.
One of the problem using sql server instances is whenever you compile it will overwrite the existing database.

For Example, if you perform a insert operations from application and add new row to the database then again after compile the application. It will over right that database with older
database.

I have found a simple solutions to get rid of this problem. In solution browse to the database and select the database (.mdf files) then go to the property window. There is a property called 'Copy to output' select property and select 'Do not copy'.

Now when you compile the application it will not copy your older database to the bin directory.
Share:

Display group header in every page of Crystal Report.NET

We have often used the crystal report as a reporting tool to create various reports.
We some time need our group header to display in each and every page. In crystal
reports right click crystal report-> select group expert and then select the group
you want to display in each page. and goto the options and check the the
checkbox >Repeat group header in each page.

That's it.. Your group header will display on the top of each page.
Share:
Saturday, February 10, 2007

Display multiple columns in the Crystal Report.NET

While generating reports we are offten need to display data in multiple columns in cyrstal reports or any other report generation tool.

Crystal Report provides very easy way to do it. Please follow the following steps to complete things.

1) Open crystal report
2) Go to the section exprert and then select details section
3) Select 'Format with multiple columns' checkbox.
4) A layout tab appears in the section expert. From where you can design layout that how the multiple columns display in the crystal report.

That's it... You have created reports with multiple columns. You can also format crystal report groups with it.

Happy Programming.
Share:
Thursday, February 1, 2007

Developing n-tier application with Microsoft.NET

There are lots of debates and information about developing n-tier application using Microsoft .net framework. Every one has its own mechanism. I found a interesting article at Microsoft site. It is very good and with the source code.

Here are the link for that article:

http://www.microsoft.com/belux/msdn/nl/community/columns/hyatt/ntier1.mspx

It explains every aspects of developing n-tier application with Microsoft .net framework.

Happy Programming
Share:

Microsoft Application Block for .NET

It's dream of every developer to create a robust,efficient and fast solution for his client and Microsoft application blocks help greatly to develop a efficient,robust and n-tier applications.
Like every developer we want our solutions robust,efficient,cost effective and elegant. But as we all know sometimes it is not easy to achieve this goals. Microsoft application block help you achieve this goals in the great way.

Microsoft Pattern and Practices:

Since the late 90s there has been an increased awareness within Microsoft that its customers require guidance in using the quickly growing array of technology emanating from Redmond. Among the first efforts were a series of Prescriptive Architecture Guides (PAGs) that detailed how to use Microsoft technology to create an Internet data center (IDC) and enterprise data center (EDC). From that things micro soft has started a new group called Microsoft patterns and practices. This group help to achieve goals in best ways.

This group has build some libraries for Microsoft.net plate form called Microsoft application blocks to deliver highly efficient,robust solutions.

Typically, each application block includes the complete source code for the subsystem in both C# and VB, and sample applications called Quick Starts to get you started.

Following application blocks are created.

1) Data Access Application Blocks.
2) Exception Management Application Blocks.
3) Cryptography application blocks
4) Caching application blocks
5) Logging application blocks
6) Security application blocks.

All that application blocks are freely available for download. User can download and install it.

Following are the links for both versions 1.1 and 2.0 of Microsoft .NET Framework

Link for 1.1 Version:

http://www.microsoft.com/downloads/details.aspx?familyid=a7d2a109-660e-444e-945a-6b32af1581b3&displaylang=en

Link for 2.0 Version:

http://www.microsoft.com/downloads/details.aspx?familyid=5A14E870-406B-4F2A-B723-97BA84AE80B5&displaylang=en

Happy Programming
Share:

Ajax Realted Keyworkd for Search Engine Optimization

Following are the some Ajax related keywords for search engine optimization.

AJAX Development India,
Ajax Programming,
Ajax Programming India,
Ajax ASP.NET Development,
Ajax ASP.NET Atlas Developement,
Ajax,
Ajax development,
Ajax application development,
Ajax javascript,
Ajax programming,
Ajax XML,
Ajax java script,
Ajax java script and XML,
Ajax java,
Ajax network,
Ajax net,
Ajax php,
java Ajax,
Ajax asp,
Ajax asp net,
net Ajax,
Ajax site,
Ajax asynchronous,
Ajax cold fusion,
ajax asp.net,
ajax site,
ajax enable sites,
ajax enabled sites in india
Share:

ASP.NET Case Studies

Today, ASP.NET is one of the most popular plate form for developing web application and Ajax enabled web sites and web application. ASP.NET Case Studies by Microsoft is mirror of the relevant world. You can find what the world are doing with asp.net and you can learn from their experiences.

Here is the link ASP.NET Case Studies.

http://msdn2.microsoft.com/en-us/asp.net/aa336563.aspx
Share:

Previous week startdate and enddate in SQL Server 2005,SQL Server 2000

s have found the way to get start date and end date of previous week with the help of the date part function of SQL Server 2005. It also work on sql server 2000 also.

Following are the code for finding start date and end date of previous week.

Set @STimeStamp=GETDATE()
set @PStartDate=@STimeStamp-DATEPART(dw,@STimeStamp)-6
set @PEndDate=@STimeStamp-DATEPART(dw,@STimeStamp
)


Happy Programming
Share:

Crystal Report Field Color

In the crystal report You can also set the color of database field the dynamically. For that you
have to right click the field and select the format object then go to the font and color tab. Click the formula icon opposite to color and a formula editor opens. Put your formula whatever you want to implement and you set your color based on this formula.

Happy Programming..
Share:

ASP.NET Starter Kit For Visual Web Developer

The asp.net visual web developer starts kits are best way to start professional asp.net web programming. I have gone through several starter kits it's amazing.

The ASP.NET 2.0 Starter Kits for Visual Web Developer are fully functional sample applications to help you learn ASP.NET 2.0 and accomplish common Web development scenarios. Each sample is complete an dwell-documented so that you can use the code to kick start your Web projects today!
Any one can download this starter kits from the following link
http://www.asp.net/downloads/starterkits/default.aspx?tabid=62
Share:
Monday, January 22, 2007

Custom Gradient Button with hover Effect C#.NET

Any one create a gradient button with this example. Which have hover effect
class CustomButton:Button
{
#region Fields
private Color _StartColor;
private Color _EndColor;
private Color _StartHoverColor;
private Color _EndHoverColor;
private bool bMouseHover;
private Brush _paintBrush;
private PointF _centerPoint;
StringFormat _sf = new StringFormat();
#endregion
#region Properties
public Color StartColor
{
get
{
return _StartColor;
}
set
{
if (value == Color.Empty)
{
_StartColor = Color.FromArgb(251,250,249);
}
else
{
_StartColor = value;
}
}
}
public Color StartHoverColor
{
get
{
return _StartHoverColor;
}
set
{
if (value == Color.Empty)
{
_StartHoverColor =Color.White;
}
else
{
_StartHoverColor = value;
}
}
}
public Color EndHoverColor
{
get
{
return _EndHoverColor;
}
set
{
if (value == Color.Empty )
{
_EndHoverColor = Color.FromArgb(255,255,207) ;
}
else
{
_EndHoverColor = value;
}
}
}
public Color EndColor
{
get
{
return _EndColor;
}
set
{
if (value == Color.Empty)
{
_EndColor = Color.FromArgb(224,220,207);
}
else
{
_EndColor = value;
}
}
}
#endregion
#region Constructor
public CustomButton()
{
InitializeComponent();
bMouseHover = false;
_sf.Alignment = StringAlignment.Center;
_sf.FormatFlags = StringFormatFlags.DirectionRightToLeft;
}
#endregion
#region Methods
private void OnMouseEnter(object sender, System.EventArgs e)
{
bMouseHover = true;
Invalidate();
}
private void OnMouseLeave(object sender, System.EventArgs e)
{
bMouseHover = false;
Invalidate();
}
private void InitializeComponent()
{
this.MouseEnter += new System.EventHandler(this.OnMouseEnter);
this.MouseLeave += new System.EventHandler(this.OnMouseLeave);
}
protected override void OnPaint(PaintEventArgs pevent)
{
base.OnPaint(pevent);
Graphics g = pevent.Graphics;
if (bMouseHover == true)
{
_paintBrush = new LinearGradientBrush(this.ClientRectangle,this.StartHoverColor,this.EndHoverColor,LinearGradientMode.Vertical);
}
else
{
_paintBrush = new LinearGradientBrush(this.ClientRectangle, this.StartColor, this.EndColor, LinearGradientMode.Vertical);
}
g.FillRectangle(_paintBrush, this.ClientRectangle);
_paintBrush = new SolidBrush(this.ForeColor);
//this._centerPoint = new PointF((this.ClientRectangle.Left + this.ClientRectangle.Right) / 2,
// (this.ClientRectangle.Top + this.ClientRectangle.Bottom) / 2);
this._centerPoint = new PointF(this.Width / 2, this.Height / 2);
g.DrawString(this.Text,this.Font,_paintBrush, _centerPoint.X, _centerPoint.Y-5, _sf);
paint_Border(pevent);
}
private void paint_Border(PaintEventArgs e)
{
if (e == null)
return;
if (e.Graphics == null)
return;
Pen pen = new Pen(this.ForeColor, 1);
Point[] pts = border_Get(0, 0, this.Width - 1, this.Height - 1);
e.Graphics.DrawLines(pen, pts);
pen.Dispose();
}
private Point[] border_Get(int nLeftEdge, int nTopEdge, int nWidth, int nHeight)
{
int X = nWidth;
int Y = nHeight;
Point[] points =
{
new Point(1 , 0 ),
new Point(X-1 , 0 ),
new Point(X-1 , 1 ),
new Point(X , 1 ),
new Point(X , Y-1),
new Point(X-1 , Y-1),
new Point(X-1 , Y ),
new Point(1 , Y ),
new Point(1 , Y-1),
new Point(0 , Y-1),
new Point(0 , 1 ),
new Point(1 , 1 )
};
for (int i = 0; i < points.Length; i++)
{
points[i].Offset(nLeftEdge, nTopEdge);
}
return points;
}
#endregion
}
Share:
Friday, January 12, 2007

ASP.NET Search Engine Optimization Keywords

Here are the some keyword for asp.net which can be used for search engine optimization for your site.

ASP Web technology,
Microsoft asp,
asp.net,
vbscript,
.net,
array,
asp.net validation code,
asp.net request.servervariables,
server.mappath,
asp.net xmlhttp,
sql injection,
asp.net datagrid paging,
microsoft.xmlhttp,
sql case,
stored procedure,
asp/asp.net date functions,
asp.net interview questions,
microsoft interview questions,
vbscript date,
.aspx,
.ascx,
web development asp.net,
asp.net cart,
asp.net tutorial,
asp.net hosting,
asp.net Web Services,
Visual Studio .NET,
asp.net Whidbey,
Browse ASP.NET tutorials,
asp.net code snippets,
asp.net syndicated articles,
asp.net blogs, and forums postings,
ASP.NET books,
Latest Blog Postings - ASP.NET,
ASP.NET Weblog Recommendation,
asp.net Online Journals,
RSS Syndication Feed

Have a nice time
Share:

gradient background control

C#.Every time you need gradient background for a particular control to make your windows application look more visual and appelaing. I have written a code that might help you.
Thorugh this you can created gradient button,toolstrip and menustrip or any control that have background .

Following are code in C#.NET 2.0. Here the example is for menustrip but you can use it for any
control.


class GreenMenuStrip: MenuStrip
{
protected override void OnPaintBackground(PaintEventArgs e)
{
base.OnPaintBackground(e);
Graphics g = e.Graphics;
Rectangle bounds = new Rectangle(Point.Empty, this.Size);

if (bounds.Width > 0 && bounds.Height > 0)
{

using (Brush b = new LinearGradientBrush(bounds,Color.FromArgb
(183,214,183) , Color.FromArgb(221,235,221),
inearGradientMode.BackwardDiagonal))
{
g.FillRectangle(b, bounds);
}
}
}
}
Share:
Thursday, January 11, 2007

www.windowsforms.net- The Ultimate resource for windows forms

,I have found the most ultimate resource from Microsoft. The site called windows forms
which have all the information that a windows forms developer and smart client application
developer require.

it has following section

1) Get Started- where basic information is there for new windows forms developer.

2) Learn- Which has some great articles.

3) FAQ- This section contains all the questions that a windows application developer go through
with all the answers.

4) Downloads-This section provide great applications to download.

5) Resources- This section provide the links to resources that a developer might require.

6) Forums- A great forums for windows application developer.

For more details go to the following link:

http://www.windowsforms.net/
Share:

Windows Vista- New Micorsoft Operating System- Vista Feautres

Recently the Micros ft Official launches the It's new generation Operating System called,windows vista. It is one of most advance step of Microsoft towards the new generation operating system.

It has some great features.. Following are the some features of the windows vista.

1) User Interface

It has great and stunning user interfaces. It is eye candy and very easy to operate it.It provides the great visual experience to the user.

2) Security


It is Microsoft's most secure operating system till date.The OS that could match up security level of MAC and Linux.

3) Better Filer Organization and Search
The user can search and manages files much better then the older version of Microsoft operating system.New feature like instant search can perform search anywhere.

4) Internet Explorer 7
Windows vista is now coming with Internet explorer 7.0. It has very great features. You can check my previous post regarding Internet explorer 7.0.

5) Windows Sidebar and Gadgets


Windows Sidebar boosts your personal productivity by providing instant access to gadgets—a wide variety of engaging, easy-to-use, and customizable mini-applications that offer information at a glance and provide easy access to frequently used tools.
6) Performance
It will increase the performance of computer with features like Sleep, Windows Super Fetch, Windows ReadyBoost, and Windows ReadyDrive.
7) Backup
Windows Vista provides valuable new innovations to help ensure you never lose information that is important to you. Windows Vista offers multiple layers of backup and restore protection from hardware failure, user error, or other issues.
8) Networking
windows vista has some great features for networking to manage your network and boost your network performance.Windows vista has some other great features like speech recognition, help and feedback etc.
for more details please visit following link...
Share:
Wednesday, January 10, 2007

.NET Framework Release

The .NET Framework 3.0 has been launched with windows vista and 64 bit support. You can download the .NET Framework 3.0 components here:
.NET Framework 3.0 Runtime Components
Windows SDK for Vista and the .NET Framework 3.0
Visual Studio 2005 Extensions for .NET Framework 3.0 (Windows Workflow Foundation)
Visual Studio 2005 Extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP

Note, if you are using Windows Vista the .NET Framework 3.0 Framework is directly installed when you install the operating system.
Share:
Tuesday, January 9, 2007

New AJAX Framework for the ASP.NET 1.1

ASPI have been constantly searching for the Ajax development for ASP.NET 1.1 technology. I want the ajax framework should be as simple as Ajax framework provided by Microsoft for ASP.NET 1.1.

After Searching So Far i have found a framework called Magicajax.net.

MagicAjax.NET is a free open-source framework, designed to make it easier and more intuitive for developers to integrate AJAX technology into their web pages, without replacing the ASP.NET controls and/or writing tons of javascript code. MagicAjax initially appeared as a codeproject article. Now it is hosted on Sourceforge and you can find the latest release at the downloads section.

It has some great features like following..


Easy integration

  • Just a few lines in web.config are enough to have MagicAjax
  • Only one easy to use control (AjaxPanel) is required to be your page to enable the AJAX functionality

Usability

  • You put the part of your page that you want to have AJAX =
    functionality inside an Ajax Panel and that's it; the Magic Ajax framework takes care all of the intrinsic details for you
  • The Ajax Panel works like the ASP.NET Panel and can display its contents on the Visual Studio Designer, allowing you to add controls to it visually
  • No javascript code is needed to be written

Programming

  • For most cases you can add AJAX functionality to your existing pages by only adding Ajax Panels and without even a single change in the source code
  • Magic Ajax replaces Post Backs with AJAX callbacks (Ajax Calls) that do not cause a refresh .on the client's browser
  • The Post Back and AJAX functionality can co-exist in the same page
    only the controls that are inside an Ajax Panel will perform an Ajax Call
    instead of Post Back
  • The page's View State is shared amongst Post Backs and Ajax call on changes to it by an Ajax Call will be available to a Post Back and vice
    verse
  • You handle an Ajax Call just like a Post Back, using the ASP.NET
    server-side programming model
  • Magic Ajax intuitively spots the changes that occur ed during an Ajax Call and sends the minimum possible required javascript that will reflect the changes on the client's browser
  • There are plenty of helper methods to help you with handling an
    Ajax Call. by code (i.e. if you want to send additional custom javascript to the client)

User experience

  • The user of your page enjoys a faster and richer browser UI, without the annoying Post Backs
  • A 'Loading' label notifies the user that an Ajax Call has been invoked
  • Instead of downloading the whole page for a Post back, the client only
    downloads chunks of javascript code that apply the changes made to the
    page's html
  • Magic Ajax's changes to the page are kept in the browser's cache, so if the
    user navigates to another page and then presses the browser's 'Back'
    button,he will see the same page that he was viewing before

Customization

  • Many configuration options give you total control of the inner workings of Magic Ajax
  • A small set of attributes applied to your ASP.NET controls can customize the way that they will be handled by Magic Ajax
  • You can define that an Ajax Call will be invoked asynchronously or synchronously for all controls of an Ajax Panel or for a single control You can define that certain controls of an Ajax Panel will invoke a plain Post Back
  • If the 'tracing' configuration option is enabled, a pop up window is created that displays information about the data that were sent to and from the server, allowing you to monitor the traffic of Ajax Calls that the page invokes
  • Clean object-oriented design makes it easy to extend the framework and add your own controls

Compatibility

  • Internet Explorer, FireFox, Netscape and Opera browsers are supported
  • If a browser is not supported or the user has disabled javascript,the
    page will revert to plain Post Backs automatically

Share:

Internet Explorer 7

One the most awaiting browser Microsoft Internet explorer 7.0 is launched Recently for both Microsoft XP and Windows Server 2003 Operating Systems.

Internet Explorer 7.0 have great features like....

1) Tab base browsing.
2) Favorites are organized better.
3) In buit Search functionality for various search engine like Google,yahoo,live,wikipedia etc.
4) Quick tabs- A feature that display all tabs in the one window
5) Zoom- A web page can be viewed as 400% then it's original side.
6) Better Security.
7) Automatically detection RSS Feeds.

For more details:

www.microsoft.com/windows/ie/ie7/about/features/default.mspx
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews