Click here to Skip to main content
15,905,322 members
Home / Discussions / C#
   

C#

 
AnswerRe: tigrina lexikon seglelet Pin
Richard Andrew x6420-Apr-12 12:38
professionalRichard Andrew x6420-Apr-12 12:38 
QuestionAyo game Pin
cplusplus01820-Apr-12 5:46
cplusplus01820-Apr-12 5:46 
AnswerRe: Ayo game Pin
Pete O'Hanlon20-Apr-12 5:54
mvePete O'Hanlon20-Apr-12 5:54 
GeneralRe: Ayo game Pin
cplusplus01820-Apr-12 6:07
cplusplus01820-Apr-12 6:07 
GeneralRe: Ayo game Pin
Richard Andrew x6420-Apr-12 6:25
professionalRichard Andrew x6420-Apr-12 6:25 
GeneralRe: Ayo game Pin
egenis22-Apr-12 0:13
egenis22-Apr-12 0:13 
GeneralRe: Ayo game PinPopular
DaveyM6920-Apr-12 6:33
professionalDaveyM6920-Apr-12 6:33 
Questionaspxgridview,checkbox and check all Pin
tomorrow_ft20-Apr-12 1:01
tomorrow_ft20-Apr-12 1:01 
hi,
I am using an aspxgridview and two checkboxes(for header and dataitem).When I check header checkbox I want to check all checkbox.I am also using java script code.essentially, I can do this, but I must check header checkbox twice times.I didnt understand why it is happening.ı am writing this code checkbox_checked event and header checkbox's autopostpak is true. When I used normal gridview I didnt have any problem I could do this without problem.,


XML
<script   language="javascript" type="text/javascript">
    function SelectAll(id) {

        var IsChecked = id.checked;
        var Chk = id;
       // Parent = document.getElementById('GrdPerliste');
        Parent = document.getElementById('<% = GrdPerliste.ClientID%>');

        var items = Parent.getElementsByTagName('input');
        for (i = 0; i < items.length; i++) {
            var deneme = items[i].type;
            if (items[i].id != Chk && items[i].type == "checkbox") {
                if (items[i].checked != IsChecked)
                { items[i].click(); }
            }
        }

    }
        </script>


protected void Checksec_CheckedChanged2(object sender, EventArgs e)
{
CheckBox chk = (CheckBox)sender;
GridViewHeaderTemplateContainer bulundugucontainer = (GridViewHeaderTemplateContainer)chk.NamingContainer;


((CheckBox)bulundugucontainer.FindControl("Checksec")).Attributes.Add("onclick", "javascript:SelectAll('" + ((CheckBox)bulundugucontainer.FindControl("Checksec")).ClientID + "')");

}
AnswerRe: aspxgridview,checkbox and check all Pin
Karthik Harve20-Apr-12 1:23
professionalKarthik Harve20-Apr-12 1:23 
GeneralRe: aspxgridview,checkbox and check all Pin
tomorrow_ft20-Apr-12 3:02
tomorrow_ft20-Apr-12 3:02 
Questionneed help with implemnet conecction between c# app in windows to linux SLES 10 serve Pin
ronensv19-Apr-12 23:54
ronensv19-Apr-12 23:54 
AnswerRe: need help with implemnet conecction between c# app in windows to linux SLES 10 serve Pin
Wes Aday20-Apr-12 0:42
professionalWes Aday20-Apr-12 0:42 
AnswerRe: need help with implemnet conecction between c# app in windows to linux SLES 10 serve Pin
Sentenryu20-Apr-12 1:19
Sentenryu20-Apr-12 1:19 
GeneralRe: need help with implemnet conecction between c# app in windows to linux SLES 10 serve Pin
Wes Aday20-Apr-12 1:25
professionalWes Aday20-Apr-12 1:25 
GeneralRe: need help with implemnet conecction between c# app in windows to linux SLES 10 serve Pin
Sentenryu20-Apr-12 1:32
Sentenryu20-Apr-12 1:32 
GeneralRe: need help with implemnet conecction between c# app in windows to linux SLES 10 serve Pin
ronensv20-Apr-12 6:05
ronensv20-Apr-12 6:05 
GeneralRe: need help with implemnet conecction between c# app in windows to linux SLES 10 serve Pin
Sentenryu20-Apr-12 9:46
Sentenryu20-Apr-12 9:46 
GeneralRe: need help with implemnet conecction between c# app in windows to linux SLES 10 serve Pin
jschell20-Apr-12 10:23
jschell20-Apr-12 10:23 
QuestionHow to send array of objects to restful client as parameters Pin
NarVish19-Apr-12 22:09
NarVish19-Apr-12 22:09 
QuestionHow to register a new List<IChecker> to Actofac ContainerBuilder Pin
Johan Bertilsdotter19-Apr-12 21:25
Johan Bertilsdotter19-Apr-12 21:25 
AnswerRe: How to register a new List to Actofac ContainerBuilder Pin
Dave Kreskowiak20-Apr-12 3:30
mveDave Kreskowiak20-Apr-12 3:30 
Questioncreating event handler for picturebox click event Pin
Member 857219719-Apr-12 13:10
Member 857219719-Apr-12 13:10 
AnswerRe: creating event handler for picturebox click event Pin
DaveyM6919-Apr-12 14:47
professionalDaveyM6919-Apr-12 14:47 
QuestionRe: creating event handler for picturebox click event Pin
Member 857219720-Apr-12 4:32
Member 857219720-Apr-12 4:32 
QuestionRe: creating event handler for picturebox click event Pin
DaveyM6920-Apr-12 6:23
professionalDaveyM6920-Apr-12 6:23 

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.