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

Problem with ajax radgrid sorting

1 Answer 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pratap
Top achievements
Rank 1
Pratap asked on 20 Sep 2011, 04:23 PM

Hi Telerik team,
So far i have enjoyed using your telerik controls but now facing an awkward problem.
I am creating radgrid dynamically from the code behind with autogenerated columns TRUE.
when I set AllowSorting property of the grid to true. It is displaying the following error

Control 'ctl16_ctl00_ctl02_ctl00_ctl00' of type 'GridLinkButton' must be placed inside a form tag with runat=server.


I even tried with advanced databinding like on need datasource but no luck.
i set autogenerated columns=false and dynamically added columns and data fields and sortexpression and bind the grid. the previous error is gone but the sorting is not happening. Please take it as urgent issue and tell me the solution as my demo is tomorrow.
Thanks in advance






1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 20 Sep 2011, 08:17 PM
Hello,

if possible then provide your code so we can check it and find solution.

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Pratap
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or