Click here to Skip to main content
15,917,702 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionBarcode printing on client side Pin
gurjitgreat7-Aug-08 20:31
gurjitgreat7-Aug-08 20:31 
AnswerRe: Barcode printing on client side Pin
eyeseetee7-Aug-08 22:06
eyeseetee7-Aug-08 22:06 
AnswerRe: Barcode printing on client side Pin
Anand Desai7-Aug-08 22:34
Anand Desai7-Aug-08 22:34 
AnswerRe: Barcode printing on client side Pin
Guffa8-Aug-08 3:51
Guffa8-Aug-08 3:51 
Questionvisiability a panel in masterpage Pin
strawberrysh7-Aug-08 20:21
strawberrysh7-Aug-08 20:21 
AnswerRe: visiability a panel in masterpage Pin
Brij7-Aug-08 20:41
mentorBrij7-Aug-08 20:41 
AnswerRe: visiability a panel in masterpage Pin
janakinandhu7-Aug-08 23:14
janakinandhu7-Aug-08 23:14 
AnswerRe: visiability a panel in masterpage Pin
Guffa8-Aug-08 3:54
Guffa8-Aug-08 3:54 
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 

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.