Click here to Skip to main content
15,912,072 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: MCTS Certifictaion Pin
koolbuddy4u2000421-Jan-09 9:04
koolbuddy4u2000421-Jan-09 9:04 
GeneralRe: MCTS Certifictaion Pin
koolbuddy4u2000421-Jan-09 9:39
koolbuddy4u2000421-Jan-09 9:39 
AnswerRe: MCTS Certifictaion Pin
Sathesh Sakthivel6-Sep-07 23:44
Sathesh Sakthivel6-Sep-07 23:44 
Questionfileupload control Pin
Nidhiii6-Sep-07 21:08
Nidhiii6-Sep-07 21:08 
AnswerRe: fileupload control Pin
Sandeep Akhare6-Sep-07 23:01
Sandeep Akhare6-Sep-07 23:01 
AnswerRe: fileupload control Pin
S A R I T H6-Sep-07 23:19
S A R I T H6-Sep-07 23:19 
Questiongridview + Asp.net 2.0 + c# Pin
ritu43216-Sep-07 20:55
ritu43216-Sep-07 20:55 
AnswerRe: gridview + Asp.net 2.0 + c# Pin
varshavmane6-Sep-07 21:09
varshavmane6-Sep-07 21:09 
The function below is to check and uncheck the entire Checkbox column, you need to do some changes to for ur requirment:

Call will be as follows:

<asp:CheckBox ID="CheckAll" Text="Check all" runat="server" onclick="return check_uncheck (this );" />


Function starts here:


function check_uncheck(Val)
{
var ValChecked = Val.checked;
var ValId = Val.id;
var frm = document.forms[0];
// Loop through all elements
for (i = 0; i < frm.length; i++)
{
// Look for Header Template's Checkbox
//As we have not other control other than checkbox we just check following statement
if (this != null)
{
if (ValId.indexOf('CheckAll') != - 1)
{
// Check if main checkbox is checked,
// then select or deselect datagrid checkboxes
if (ValChecked)
frm.elements[i].checked = true;
else
frm.elements[i].checked = false;
}
else if (ValId.indexOf('deleteRec') != - 1)
{
// Check if any of the checkboxes are not checked, and then uncheck top select all checkbox
if (frm.elements[i].checked == false)
frm.elements[1].checked = false;
}
} // if
} // for
}
AnswerRe: gridview + Asp.net 2.0 + c# Pin
VenkataRamana.Gali6-Sep-07 21:25
VenkataRamana.Gali6-Sep-07 21:25 
Questiondisplay xml file into datagrid Pin
darkday6-Sep-07 20:53
darkday6-Sep-07 20:53 
AnswerRe: display xml file into datagrid Pin
varshavmane6-Sep-07 21:04
varshavmane6-Sep-07 21:04 
GeneralRe: display xml file into datagrid Pin
darkday10-Sep-07 2:34
darkday10-Sep-07 2:34 
GeneralRe: display xml file into datagrid Pin
varshavmane10-Sep-07 3:09
varshavmane10-Sep-07 3:09 
QuestionRegarding Active reports Pin
aditya_asv6-Sep-07 20:51
aditya_asv6-Sep-07 20:51 
QuestionHow to add new row dynamic into dataset Pin
indiaone6-Sep-07 20:50
indiaone6-Sep-07 20:50 
AnswerRe: How to add new row dynamic into dataset Pin
VenkataRamana.Gali6-Sep-07 21:04
VenkataRamana.Gali6-Sep-07 21:04 
GeneralRe: How to add new row dynamic into dataset Pin
indiaone6-Sep-07 21:21
indiaone6-Sep-07 21:21 
Questionforms authentication Pin
saiprasada6-Sep-07 20:50
saiprasada6-Sep-07 20:50 
AnswerRe: forms authentication Pin
VenkataRamana.Gali6-Sep-07 21:06
VenkataRamana.Gali6-Sep-07 21:06 
GeneralRe: forms authentication Pin
saiprasada6-Sep-07 21:23
saiprasada6-Sep-07 21:23 
QuestionObject moved error - Urgent Pin
NK76-Sep-07 20:41
NK76-Sep-07 20:41 
QuestionClass inherting User Control and implementing ITemplate Pin
tsramkumar6-Sep-07 20:40
tsramkumar6-Sep-07 20:40 
QuestionCheckbox and FileUpload control query Pin
Shaurya_Rastogi6-Sep-07 20:39
Shaurya_Rastogi6-Sep-07 20:39 
QuestionHow to handle Multiple Asynchronous Requests at one time? Pin
IshfaqHussain6-Sep-07 20:04
IshfaqHussain6-Sep-07 20:04 
QuestionCascadingDropDown and AutoCompleteExtender Pin
varshavmane6-Sep-07 19:05
varshavmane6-Sep-07 19:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.