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

ASP.NET

 
QuestionDial Phone number from window form in .net Pin
Milind Panchal7-Aug-08 20:21
Milind Panchal7-Aug-08 20:21 
AnswerRe: Dial Phone number from window form in .net Pin
Abhijit Jana7-Aug-08 20:35
professionalAbhijit Jana7-Aug-08 20:35 
Questionshowing item of generic list in a gridview Pin
strawberrysh7-Aug-08 20:17
strawberrysh7-Aug-08 20:17 
QuestionError Handling and page Pin
Sasmi_Office7-Aug-08 20:07
Sasmi_Office7-Aug-08 20:07 
AnswerRe: Error Handling and page Pin
Abhijit Jana7-Aug-08 20:43
professionalAbhijit Jana7-Aug-08 20:43 
GeneralRe: Error Handling and page Pin
Sasmi_Office7-Aug-08 21:53
Sasmi_Office7-Aug-08 21:53 
AnswerRe: Error Handling and page Pin
Abhijit Jana7-Aug-08 22:41
professionalAbhijit Jana7-Aug-08 22:41 
Questionhow to select/deselect all checkboxes in grid? Pin
balaji.t7-Aug-08 18:51
balaji.t7-Aug-08 18:51 
hi all,

I have a grid which contains checkboxes(similar to mail inbox).I have one href control outside the grid.When i click all the chekboxes inside the grid must b selected.When i click again they should b deselected.Can any1 tell me how to accomplish this using client side code?(i mean in javascript)

i wrote a code like this
var isChecked = false;
function check()
{
isChecked = !isChecked;
var checkboxes = document.getElementsByTagName("INPUT");
var index;
for(index = 0; index < checkboxes.length; index++)
{
if(isChecked)
checkboxes[index].checked = true;
else
checkboxes[index].checked = false;

}

}

Check/Uncheck All


The above code is working 5n if the page has no other select controls(radiobutton,checkbox,listbox)outside the grid.

But i have one radiobutton control in my page.So when i click the href all the checkboxes inside the grid gets checked but the radiobutton also gets checked.That shoud not happen.How 2 accomplish this?

T.Balaji

AnswerRe: how to select/deselect all checkboxes in grid? Pin
Abhijit Jana7-Aug-08 19:04
professionalAbhijit Jana7-Aug-08 19:04 
GeneralRe: how to select/deselect all checkboxes in grid? Pin
balaji.t7-Aug-08 20:47
balaji.t7-Aug-08 20:47 
GeneralRe: how to select/deselect all checkboxes in grid? Pin
Abhijit Jana8-Aug-08 2:13
professionalAbhijit Jana8-Aug-08 2:13 
AnswerRe: how to select/deselect all checkboxes in grid? Pin
balaji.t7-Aug-08 20:13
balaji.t7-Aug-08 20:13 
AnswerRe: how to select/deselect all checkboxes in grid? Pin
janakinandhu7-Aug-08 22:03
janakinandhu7-Aug-08 22:03 
QuestionLeftdiv hide and rightdiv appear in whole page [modified] Pin
Member 38798817-Aug-08 18:28
Member 38798817-Aug-08 18:28 
AnswerRe: Leftdiv hide and rightdiv appear in whole page Pin
Brij7-Aug-08 18:47
mentorBrij7-Aug-08 18:47 
GeneralRe: Leftdiv hide and rightdiv appear in whole page Pin
Member 38798817-Aug-08 18:58
Member 38798817-Aug-08 18:58 
QuestionASP.NET Active Directory Pin
Socheat.Net7-Aug-08 17:13
Socheat.Net7-Aug-08 17:13 
AnswerRe: ASP.NET Active Directory Pin
Abhijit Jana7-Aug-08 18:14
professionalAbhijit Jana7-Aug-08 18:14 
GeneralRe: ASP.NET Active Directory Pin
Socheat.Net7-Aug-08 18:21
Socheat.Net7-Aug-08 18:21 
GeneralRe: ASP.NET Active Directory Pin
Abhijit Jana7-Aug-08 18:26
professionalAbhijit Jana7-Aug-08 18:26 
AnswerRe: ASP.NET Active Directory Pin
Brij7-Aug-08 18:25
mentorBrij7-Aug-08 18:25 
GeneralRe: ASP.NET Active Directory Pin
Socheat.Net7-Aug-08 18:31
Socheat.Net7-Aug-08 18:31 
AnswerRe: ASP.NET Active Directory Pin
Brij7-Aug-08 18:40
mentorBrij7-Aug-08 18:40 
GeneralRe: ASP.NET Active Directory Pin
Socheat.Net7-Aug-08 18:48
Socheat.Net7-Aug-08 18:48 
GeneralRe: ASP.NET Active Directory Pin
Brij7-Aug-08 19:00
mentorBrij7-Aug-08 19:00 

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.