Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
QuestionRe: ms access database ( help pls) Pin
Eddy Vluggen21-Apr-12 3:23
professionalEddy Vluggen21-Apr-12 3:23 
AnswerRe: ms access database ( help pls) Pin
mohammed_198321-Apr-12 3:32
mohammed_198321-Apr-12 3:32 
GeneralRe: ms access database ( help pls) Pin
Eddy Vluggen21-Apr-12 4:15
professionalEddy Vluggen21-Apr-12 4:15 
GeneralRe: ms access database ( help pls) Pin
Wes Aday21-Apr-12 5:08
professionalWes Aday21-Apr-12 5:08 
AnswerRe: ms access database ( help pls) Pin
Abhinav S21-Apr-12 6:09
Abhinav S21-Apr-12 6:09 
Questionhow to render SVG font in C# Pin
m_kramar21-Apr-12 0:03
m_kramar21-Apr-12 0:03 
QuestionC# Bouncing Animation (Diagonally) Pin
Midnight Ahri20-Apr-12 15:29
Midnight Ahri20-Apr-12 15:29 
AnswerRe: C# Bouncing Animation (Diagonally) Pin
Abhinav S20-Apr-12 18:02
Abhinav S20-Apr-12 18:02 
Questiontigrina lexikon seglelet Pin
mululer20-Apr-12 10:11
mululer20-Apr-12 10:11 
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 Pin
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 

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.