Cell Template - Checkbox Event Trigger Issue.

5 posts, 0 answers
  1. Karthikeyan
    Karthikeyan avatar
    27 posts
    Member since:
    Aug 2011

    Posted 19 Dec 2011 Link to this post

    Hi,

    I've tried to create the column with checkbox. While checking the before column need to edit, like uncheck we need recover the original value.
    For this, I've triend with both approach given by you people.

    1. By using <GridViewCheckBoxColumn> after setting  EditTriggers="CellClick" and AutoSelectOnEdit="True", its not working. I cant check or uncheck the checkbox. So I'm using the following way,

    2.                      <telerik:GridViewDataColumn x:Name="EditCheckboxColumn" Header="Edit" UniqueName="Edit" IsReadOnly="True">
                                    <telerik:GridViewDataColumn.CellTemplate>
                                        <DataTemplate>
                                            <CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}" Unchecked="CheckBox_Unchecked" />
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellTemplate>
                                    <telerik:GridViewDataColumn.CellEditTemplate>
                                        <DataTemplate>
                                            <CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}" />
                                        </DataTemplate>
                                    </telerik:GridViewDataColumn.CellEditTemplate>
                                </telerik:GridViewDataColumn>

    Here In the Cell Template - declared checkbox has a event as "UnChecked". But In the code behind its NOT TRIGGERING.

    Please help/guide me to do the requirement or do let me know if i'm missing something.

    Thanks in advance,
    Karthikeyan Manickam.
  2. Karthikeyan
    Karthikeyan avatar
    27 posts
    Member since:
    Aug 2011

    Posted 21 Dec 2011 Link to this post

    Hi,

    Is there anybody there to reply my query.
    We also 10 no of license holders from you guys.
    Please support us properly.

    Thanks,
    Karthikeyan Manickam.
  3. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 22 Dec 2011 Link to this post

    Hello,

     According to your account you do not have any licence. You should ask the licence holder to add you as a licence developer and you will be able to use our support system not only our forums which are available for everyone. 

    To your question: I'm not sure how it is related to RadGridView. Do you see any difference in your case between RadGridView and the standard Silverlight DataGrid when you have CheckBox in the column CellTemplate? 

    Greetings,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  4. Karthikeyan
    Karthikeyan avatar
    27 posts
    Member since:
    Aug 2011

    Posted 22 Dec 2011 Link to this post

    Hello Vlad,

    As I'm working in the customer place, if possible sure I'll ask the admin to add my name to the license developer.

    Reg question, As we're holding the RadControls. We didnt use the Silverlight Datagrid, insted that we're using RadGridView.
    As well the sample and document, telerik mentioned like follows,

    <CheckBox IsChecked="{Binding IsActive}" />

    I've tried to trigger the event from that checkbox, but its not working.
    Is there anyway to trigger the unchecked event from this checkbox.?

    Please guide me, ASAP.

    Thanks,
    Karthikeyan Manickam.
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 22 Dec 2011 Link to this post

    Hello,

    As I said in my previous reply you should ask your licence holder to add you as licence developer. As to the CheckBox my question was if you see anything different in RadGridView compared to Silverlight DataGrid.

    Let us know!

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top