Sort icon click does not sort (clientside databinding)

3 posts, 0 answers
  1. Roatin Marth
    Roatin Marth avatar
    65 posts
    Member since:
    Nov 2007

    Posted 06 Jan 2009 Link to this post

    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. Roatin Marth
    Roatin Marth avatar
    65 posts
    Member since:
    Nov 2007

    Posted 06 Jan 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 09 Jan 2009 Link to this post

    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.
Back to Top