This is a migrated thread and some comments may be shown as answers.

[Solved] RadGrid and checkbox

1 Answer 176 Views
Grid
This is a migrated thread and some comments may be shown as answers.
steve
Top achievements
Rank 1
steve asked on 05 Feb 2008, 06:40 PM
Hi,

I'm trying to reproduce this example :
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/SelectRowWithCheckBox/DefaultCS.aspx

I tried to adapt one of my application so that a click on my checkox will execute some code behind without a postback. Only problem, they always do a postback. So I tried this example up there. Copy paste the code on a new project. I removes the Header and Footer part. It pops me an error that ScriptManager was not recognized. So I use the designer and drag and drop a new which add a tag with System.Web.Extentions. Now the example runs fine exept that.... the checkbox keep doing a postback.

Anyone have any ideals how I could fix this?

Thank you

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 06 Feb 2008, 07:02 AM
Hi steve,

You can ajaxify the grid using RadAjaxManager. Here is an example:

            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadGrid1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>


Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
steve
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or