Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8211159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:20:06+00:00 2026-06-07T10:20:06+00:00

i am making an application in silver light.In that application i am using data

  • 0

i am making an application in silver light.In that application i am using data grid as

 <data:DataGrid Grid.Row="1" HorizontalAlignment="Left" IsReadOnly="True" Name="dataGrid1" VerticalAlignment="Top" AutoGenerateColumns="False" DataContext="{Binding}" SelectionMode="Single" LoadingRow="ResultsGrid_LoadingRow">
                        <data:DataGrid.Columns>
                            <data:DataGridTextColumn Header=" BedId " Binding="{Binding  BedID }" />
                            <data:DataGridTextColumn Header="PatientName" Binding="{Binding PatientName}" />
                            <data:DataGridTextColumn Header="AdmitDate" Binding="{Binding AdmitDate}" />
                            <data:DataGridTextColumn Header="BirthDate" Binding="{Binding BirthDate}" />
                            <data:DataGridCheckBoxColumn Header="checkbox" Binding="{ Binding }" IsReadOnly="False" />                          
                        </data:DataGrid.Columns>
                    </data:DataGrid>

Whenever in my application i am loading the data grid, it shows the data grid along with respective values.In my application i want to show the check box in front of every column and above code shows the check box in front of every column. but whenever i am clicking on that check box it doesn’t shows any check event.i want to select single or multiple check boxes as per condition.But i am not getting how to do it.Please help me.Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:20:07+00:00Added an answer on June 7, 2026 at 10:20 am

    You have a few options.
    1. Setup a selection changed event on the datagrid and whenever a row is selected modify the bound checkbox in that aspect.

    If you need more control such as an event to fire when the checkbox is selected I would repalce the DataGridColum with an DataTemplate such as:

    <DataGridTemplateColumn Header="Checkbox">
    <DataGridTemplateColumn.CellTemplate>
          <DataTemplate>
               <CheckBox IsChecked="{Binding Path=someProperty, UpdateSourceTrigger=PropertyChanged}" Click="CheckBox_Click"/>
         </DataTemplate>
    </DataGridTemplateColumn.CellTemplate>
    </DataGridTemplateColumn>
    

    Then in your code behind

    private void CheckBox_Click(object sender, RoutedEventArgs e)
    {
    //I realize you don't have message box in silverlight but this demonstrates the firing of the event
    MessageBox.Show("click");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making application. I am using JQuery, that retrieves data from MySQL database using
I am making an application in Silverlight 3.0. In that application i am using
I am making an web application using silverlight 3.0 . In that application i
I am making an application in silverlight 3.0 In that application i want to
I am making a Progressbar as part of my Silverlight application that is triggered
I am making a RIA application using Silverlight and web services. The method of
I'm making a simple game using the Windows Phone Silverlight and XNA Application type
I am making application in C#. In my application I am using Dictionary of
I am making a WP7 Silverlight application and using a ViewModel to store the
I have Silverlight application that retrieves data from the database through a WCF Service.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.