complete article click in here
Monday, June 30, 2008
Adobe's Kevin Lynch and Microsoft's Scott Guthrie to Keynote AJAX World RIA Conference & Expo
complete article click in here
Sunday, June 29, 2008
AccuRev Leverages Web 2.0 Technology to Extend Process Management Reach Across the Organization
for more complete article click in here
Saturday, June 28, 2008
Mobile Web 2.0
for more complete article click in here
Thursday, June 26, 2008
Creating Deleting Warning Button
Default.aspx
< %@ Page Language="VB" %>
< %@ Register TagPrefix="custom" Namespace="myControls" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< xmlns="http://www.w3.org/1999/xhtml">
< id="Head1" runat="server">
<>Untitled Page< /title>
< /head>
<>
< id="form1" runat="server">
<>
< id="SqlDataSource1" runat="server" connectionstring="">"
SelectCommand="SELECT * FROM [std]" DeleteCommand="delete from std where id=@id">< /asp:SqlDataSource>
< /div>
< id="GridView1" runat="server" autogeneratecolumns="False" cellpadding="4" datasourceid="SqlDataSource1" forecolor="#333333" gridlines="None" datakeynames="id">
< backcolor="#990000" bold="True" forecolor="White">
<>
< confirmtext="Are you sure that you want to delete this record?">
< datafield="name" headertext="name" sortexpression="name">
< /Columns>
< backcolor="#FFFBD6" forecolor="#333333">
< backcolor="#FFCC66" bold="True" forecolor="Navy">
< backcolor="#FFCC66" forecolor="#333333" horizontalalign="Center">
< backcolor="#990000" bold="True" forecolor="White">
< backcolor="White">
< /asp:GridView>
< /form>
< /body>
< /html>
and this is DeleteButtonField class
Imports System
Imports System.Web.UI.WebControls
Namespace myControls
'''
''' Displays a confirmation before deleting a record
'''
Public Class DeleteButtonField
Inherits ButtonField
Private _confirmText As String = "Delete this record?"
Public Property ConfirmText() As String
Get
Return _confirmText
End Get
Set(ByVal Value As String)
_confirmText = value
End Set
End Property
Public Sub New()
Me.CommandName = "Delete"
Me.Text = "Delete"
End Sub
Public Overrides Sub InitializeCell(ByVal cell As DataControlFieldCell, ByVal cellType As DataControlCellType, ByVal rowState As DataControlRowState, ByVal rowIndex As Integer)
MyBase.InitializeCell(cell, cellType, rowState, rowIndex)
If cellType = DataControlCellType.DataCell Then
Dim button As WebControl = CType(cell.Controls(0), WebControl)
button.Attributes("onclick") = String.Format("return confirm('{0}');", _confirmText)
End If
End Sub
End Class
End Namespace
Wednesday, June 25, 2008
Karaoke Online Application
Tuesday, June 24, 2008
Adobe's Kevin Lynch and Microsoft's Scott Guthrie to Keynote AJAX World RIA Conference & Expo
For complete article click here
Monday, June 23, 2008
Making Money at Bux.to
Earnings Example
» You click 10 ads per day = $0.10
» 20 referrals click 10 ads per day = $2.00
» Your daily earnings = $2.10
» Your weekly earnings = $14.70
» Your monthly earnings = $63.00
The above example is based only on 20 referrals and 10 daily clicks. Some days you will have more clicks available, some days you will have less. What if you had more referrals? What if there were more ads available?
Thousands of satisfied members that have received their payment. If you're still not convinced, read the praise of our happy members.
Join now and receive a $0.05 Sign-up Bonus
Sunday, June 22, 2008
The Monetization of Mobile Multimedia
For more complete article read here
Friday, June 20, 2008
Styling Form In CSS
now I give a simple example how to styling form in CSS. I divide in two part, one is HTML script and other is CSS script.
here an HTML part
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns="http://www.w3.org/1999/xhtml">
< head>
< meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
< title>Styling Form Example< /title>
< /head>
< body>
< form id="form1" action="act/" method="post">
< fieldset id="name">
< legend>Name< /legend>
< label for="title">Title< /label>
< select id="title1" name="title1">
< option selected="selected">Mr.< /option>
< option>Mrs.< /option>
< option>Ms.< /option>
< /select>
< label for="firstname">First name< /label>
< input id="firstname" name="firstname" type="text" />
< label for="lastname">Last name< /label>
< input id="lastname" name="lastname" type="text" />
< br />
< /fieldset>
< fieldset id="address">
< legend>Address< /legend>
< label for="street">Street< /label>
< input id="street" name="street" type="text" />
< br />
< label for="city">City< /label>
< input id="city" name="city" type="text" />
< label for="state">State< /label>
< input id="state" name="state" type="text" />
< label for="zip">Zip code< /label>
< input id="zip" name="zip" type="text" />
< br />
< label for="country">Country< /label>
< input id="country" name="country" type="text" />
< br />
< /fieldset>
< fieldset id="submit">
< br />
< input type="submit" value="Submit" />
< br />
< /fieldset>
< /form>
< /body>
< /html>
then now apply this CSS :
< style type="text/css">
body{
background-color:#000000;
}
fieldset{
background-color:#3399FF;
width:450px;
}
legend{
color:#FFFFFF;
font-weight:bold;
font-size:16pt;
}
label {
display: block;
float: left;
clear: left;
width: 9em;
padding-right: 1em;
text-align: right;
line-height: 1.8em;
}
input {
display: block;
float: left;
}
br {
clear: both;
}
< /style>
you can use this CSS between tag < head> and < /head>
Thursday, June 19, 2008
Top Keynotes at Industry's Top RIA Conference: 6th International AJAX World
for more complete article click here
Monday, June 16, 2008
Paging with AJAX
Code Example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< xmlns="http://www.w3.org/1999/xhtml">
< head id="Head1" runat="server">
< title >AJAX Page Example< /title>
< /head>
< body>
< form id="form1" runat="server">
< div>
< id="grdStd" datasourceid="srcStudent" allowpaging="true" enablesortingandpagingcallbacks="true" pagesize="5" runat="server">
< id="srcStudent" connectionstring="">"
SelectCommand="SELECT id,name,address FROM student"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
Sunday, June 15, 2008
The Growth of Web 2.0 Services
for more complete article click here
Thursday, June 12, 2008
Sorting with AJAX
By default, whenever we click a column header to sort the rows contained in a GridView, the page containing the GridView is posted back to the server. When sorting records with the GridView control, we can avoid posting the entire page back to the server by taking advantage of AJAX (Asynchronous JavaScript and XML).
we enable AJAX by including the EnableSortingAndPagingCallbacks property when declaring the GridView
for example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< xmlns="http://www.w3.org/1999/xhtml">
< id="Head1" runat="server">
<>AJAX Sorting Example< /title>
< /head>
<>
< id="form1" runat="server">
<>
< %= DateTime.Now.ToString("T") %>
< id="grdStudent" datasourceid="srcStudent" allowsorting="true" enablesortingandpagingcallbacks="true" runat="server">
< id="srcStudent" connectionstring="">"
SelectCommand="SELECT id,name,address,phone FROM student"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
Wednesday, June 11, 2008
Displaying Data with GridView
The GridView control is the workhorse of the ASP.NET 2.0 Framework. It is one of the most feature-rich and complicated of all the ASP.NET controls. The GridView control enables you to display, select, sort, page, and edit data items such as database records. The GridView renders its data items in an HTML table. Each data item is rendered in a distinct HTML table row.
For Example :
< %@ Page Language="VB" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< html xmlns="http://www.w3.org/1999/xhtml" >
< head id="Head1" runat="server">
< title>Show Students< /title>
< /head>
< body>
< form id="form1" runat="server">
< div>
< asp:GridView
id="grdStudent"
DataSourceID="srcStudent"
Runat="server" />
< asp:SqlDataSource
id="srcStudent"
ConnectionString="<%$ ConnectionStrings:Student %>"
SelectCommand="SELECT id,name,address,phone
FROM student"
Runat="server" />
< /div>
< /form>
< /body>
< /html>
the GridView control is bound to a SqlDataSource control, which represents the Student database table. The GridView is associated with its data source through its DataSourceID property
Thursday, June 5, 2008
Web 2.0 Template
Wednesday, June 4, 2008
Latest Web 2.0 App
Here some a new web 2.0 app, very nice site and cool. check this out !!!
Monday, June 2, 2008
Simple AJAX
This a simple AJAX code. now i'm using PHP as server side programming language. there is 3 source, they are index.html, script.js and process.php
index.html
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html >
< head>
< title>Simple AJAX< /title>
< script type="text/javascript" src="script.js">< /script>
< /head>
< body onload='process()'>
Input Tutorial:
< input type="text" id="myName" />
< div id="divMessage" />
< /body>
< /html>
process.php
< ?php
// create XML output
header('Content-Type: text/xml');
// create XML header
echo '';
// create the
echo '
// get paramater
$name = $_REQUEST['name'];
// create output
$userNames = array('AJAX', 'WEB 2.0', 'ASP.NET');
if (in_array(strtoupper($name), $userNames))
echo 'This tutorial about ' . htmlentities($name) . '!';
else if (trim($name) == '')
echo 'Please input tutorial that you want';
else
echo ' Sorry, there is no tutorial about '.htmlentities($name).'!';
echo '
? >
script.js
var xmlHttp = createXmlHttpRequestObject();
// Create Request Object
function createXmlHttpRequestObject()
{
var xmlHttp;
// if Internet Explorer
if(window.ActiveXObject)
{
try
{
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e)
{
xmlHttp = false;
}
}
// if Mozilla or another browser
else
{
try
{
xmlHttp = new XMLHttpRequest();
}
catch (e)
{
xmlHttp = false;
}
}
if (!xmlHttp)
alert("Error creating the XMLHttpRequest object.");
else
return xmlHttp;
}
// Create asynchronous HTTP request with XMLHttpRequest object
function process()
{
if (xmlHttp.readyState == 4 || xmlHttp.readyState == 0)
{
// get parameter input by user
name = encodeURIComponent(document.getElementById("myName").value);
var param='name='+name;
// connection to server
xmlHttp.open("POST", "process.php", true);
xmlHttp.onreadystatechange = handleServerResponse;
xmlHttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
// Create request to server
xmlHttp.send(param);
}
else
setTimeout('process()', 1000);
}
function handleServerResponse()
{
if (xmlHttp.readyState == 4)
{
if (xmlHttp.status == 200)
{
xmlResponse = xmlHttp.responseXML;
xmlDocumentElement = xmlResponse.documentElement;
helloMessage = xmlDocumentElement.firstChild.data;
document.getElementById("divMessage").innerHTML ='' + helloMessage + '';
// restart sequence
setTimeout('process()', 1000);
}
else
{
alert("There was a problem accessing the server: " + xmlHttp.statusText);
}
}
}