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

Radgrid with checkbox

3 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rajeswari
Top achievements
Rank 1
Rajeswari asked on 09 Dec 2014, 05:28 PM
Hi I have a radgrid with a checkbox in gridtemplatecolumn that has headercheckbox in heder template and all check box in item template. Grid is inside  an asp panel. I have a label and image outside the grid I am calling two server side functions on headercheckbox and itemcheckbox . If the header checkbox is checked I am setting the label with the grids row count and setting the image url in that function in server side. Even though i see the count of the label  when i debug , But its not  setting. I have the grid in the ajax settings, and the label and the image as the updated controls of the grid. Still its not updating. And when the page load i see the label is also wrapped .
Thanks,
Rajeswari Raman

3 Answers, 1 is accepted

Sort by
0
Eric
Top achievements
Rank 1
answered on 09 Dec 2014, 06:53 PM
Can you provide the markup of your page, with the ajax settings? Also, one thing you could try in the meantime, is wrap your controls in an RadAjaxPanel, and see if it updates properly. If it does, then the problem is most likely in the ajax manager's settings.
0
Rajeswari
Top achievements
Rank 1
answered on 09 Dec 2014, 07:42 PM
Hi .
I wrapped the label inside radajaxpanel , now its not wrapping when the page loads . i also added the panel as ajax updated control in the ajaxsetting of the grid , still the label is not updating with the values.
Rajeswari Raman
0
Eyup
Telerik team
answered on 12 Dec 2014, 01:21 PM
Hi Rajeswari,

Please note that RadGrid already provides a built-in selection column:
http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/selecting/row-selection/defaultcs.aspx

As for the observed issue, can you temporarily disable any ajaxification on the page and enable your script debugger(FireBug or F12) to see whether there are any script errors interfering?

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Rajeswari
Top achievements
Rank 1
Answers by
Eric
Top achievements
Rank 1
Rajeswari
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or