Thursday, August 12, 2010
" The people we love are not always beautiful, but they become beautiful because we love them."
"Avoid popularity if you would have peace."
"An inch of time is an inch of gold but you can't buy that inch of time with an inch of gold."
"Friends are the sunshine of life."
"Every closed eye is not sleeping, and every open eye is not seeing."
Wednesday, November 18, 2009
- Drage and Drop Password Recovery control
- Put this code in code behind file.
Tuesday, October 27, 2009
function ChangeCheckBoxState(id, checkState)
var cb = document.getElementById(id);
if (cb != null)
cb.checked = checkState;
// Toggles through all of the checkboxes defined in the CheckBoxIDs array
// and updates their value to the checkState input parameter
if (CheckBoxIDs != null)
for (var i = 0; i < CheckBoxIDs.length; i++)
// Whenever a checkbox in the GridView is toggled, we need to
// check the Header checkbox if ALL of the GridView checkboxes are
// checked, and uncheck it otherwise
if (CheckBoxIDs != null)
// check to see if all other checkboxes are checked
for (var i = 1; i < CheckBoxIDs.length; i++)
var cb = document.getElementById(CheckBoxIDs[i]);
// Whoops, there is an unchecked checkbox, make sure
// that the header checkbox is unchecked
// If we reach here, ALL GridView checkboxes are checked
Then add Custome column in Gridview and Put this column Inside gridview
and columns tag//////
///Take one Literal Control Also Outside the Gridview////
////Now Comes to Code Behind file and Write this code in Databound event of Gridview///
protected void grdmanagejobs_DataBound(object sender, EventArgs e)
CheckBox cbHeader = (CheckBox)grdmanagejobs.HeaderRow.FindControl("HeaderLevelCheckBox");
cbHeader.Attributes["onclick"] = "ChangeAllCheckBoxStates(this.checked);";
ArrayValues.Add(string.Concat("'", cbHeader.ClientID, "'"));
foreach (GridViewRow gvr in grdmanagejobs.Rows)
CheckBox cb = (CheckBox)gvr.FindControl("RowLevelCheckBox");
cb.Attributes["onclick"] = "ChangeHeaderAsNeeded();";
ArrayValues.Add(string.Concat("'", cb.ClientID, "'"));
CheckBoxIDsArray.Text = "";
Tuesday, October 20, 2009
1. ASP.NET drastically reduces the amount of code required to build large applications.
2. With built-in Windows authentication and per-application configuration, your applications are safe and secured.
Monday, October 19, 2009
ASP.NET provides services to allow the creation, deployment, and execution of Web Applications and Web Services
Like ASP, ASP.NET is a server-side technology Web Applications are built using Web Forms.
ASP.NET comes with built-in Web Forms controls, which are responsible for generating the user interface.
They mirror typical HTML widgets like text boxes or buttons. If these controls do not fit your needs, you are free to create your own user controls.
Web Forms are designed to make building web-based applications as easy as building Visual Basic applications