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

Sort icon click does not sort (clientside databinding)

2 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roatin Marth
Top achievements
Rank 1
Roatin Marth asked on 06 Jan 2009, 04:15 PM
Clicking on the sort icon does nothing. Clicking on the header text works fine.

Grid markup:
<telerik:RadGrid ID="RadGrid1" runat="server" 
     AllowSorting="true" 
     AllowPaging="true" 
     AllowMultiRowSelection="true" 
     AutoGenerateColumns="false" 
     PageSize="25"
 
    <PagerStyle AlwaysVisible="true" Mode="NextPrev" /> 
 
    <MasterTableView> 
        <Columns> 
            <telerik:GridBoundColumn UniqueName="Description" DataField="Description" HeaderText="Message"
            </telerik:GridBoundColumn> 
 
            <telerik:GridBoundColumn UniqueName="Status" DataField="Status" HeaderText="Status"
                <HeaderStyle Width="80" /> 
            </telerik:GridBoundColumn> 
        </Columns> 
    </MasterTableView> 
     
    <ClientSettings> 
        <DataBinding Location="~/WebService.asmx" SelectMethod="GetData" /> 
        <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" /> 
        <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="300" /> 
    </ClientSettings> 
</telerik:RadGrid> 

Version 2008.3.1105.35. Browsers: all.

2 Answers, 1 is accepted

Sort by
0
Roatin Marth
Top achievements
Rank 1
answered on 06 Jan 2009, 04:23 PM
The html you generate for the sort icons contain (among other things):
<input type="submit" onclick="return false;" ... />

"return false" is the problem. Please generate something sensible there instead.
0
Rosen
Telerik team
answered on 09 Jan 2009, 09:15 AM
Hi Nizar Shanaah,

Indeed you are correct in your observation. However I'm happy to inform you that our developers has addressed this. Thus the fix will be available in the SP2 of 2008 Q3 release of RadControls For ASP.NET AJAX suite which is expected to be released by the end of next week.  Meanwhile I have updated your telerik points for reporting this issue.

Kind regards,
Rosen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Roatin Marth
Top achievements
Rank 1
Answers by
Roatin Marth
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or