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

Bug in RadGrid filter

5 Answers 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alexandru-Anton
Top achievements
Rank 1
Alexandru-Anton asked on 16 Oct 2013, 07:33 AM
Hi!

We are using a Telerik grid from RadGrid.Net2 and we have the following bug: when a filter returns no record, then the columns are hidden and only one column is visible.
I mention that:
- We want scroll bars and relative dimensions, I saw that the bug is only with TableLayout="Auto" and scroll bars. But if we change to Fixed, then it does not work well with Width="100%"
- We don't want du buy the latest version, because I tried the trial and it contains only Telerik.Web.UI, and not RadGrid.Net. Even our old Telerik.Web.UI controls don't work with their newest version!
 
<radG:RadGrid ID="grdOthers" runat="server" DataSourceID="odsOthers" AutoGenerateColumns="false" EnableAJAX="false"
            Width="99%" Height="20%" Skin="WebBlue"
            AllowPaging="false" AllowSorting="true" AllowAutomaticDeletes="true" AllowAutomaticUpdates="false"
            OnItemCommand="grdOthers_Item" OnItemCreated="grdOthers_ItemCreated" OnItemDataBound="grdOthers_ItemDataBound">
    <ClientSettings AllowColumnHide="true" AllowColumnsReorder="true">
        <Scrolling AllowScroll="true" ScrollHeight="100" UseStaticHeaders="true" />
    </ClientSettings>
    <MasterTableView DataSourceID="odsOthers" DataKeyNames="id_autres_activites" AllowFilteringByColumn="true" Width="100%" CommandItemDisplay="None" TableLayout="Fixed">
        <ExpandCollapseColumn Visible="False" />
        <RowIndicatorColumn Visible="False" />
        <NoRecordsTemplate>Aucune donnée à afficher</NoRecordsTemplate>
        <Columns>
            <radG:GridBoundColumn HeaderText="AQR" UniqueName="CodUtilColumn" DataField="txt_codUtil" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Etablissement-Ville" UniqueName="EtablissementColumn" DataField="txt_etab" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="25%" />
            <radG:GridBoundColumn HeaderText="Code DQI" DataField="txt_codDqi" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Nb jours" DataField="num_Nb_Jours" CurrentFilterFunction="EqualTo" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Produit" DataField="txt_codCertif" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Activité" DataField="txt_typActiv" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="5%" />
            <radG:GridBoundColumn HeaderText="Remarque" DataField="txt_remarque" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" HeaderStyle-Width="48%" />
            <radG:GridBoundColumn UniqueName="AffectEtabXans" DataField="AffectEtabXans" Display="false" HeaderStyle-Width="0%" />
            <radG:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" HeaderStyle-Width="1%" />
            <radG:GridButtonColumn ButtonType="ImageButton" UniqueName="DeleteColumn" CommandName="Delete" ConfirmText="Etes-vous surs?" Text="Supprimer" HeaderStyle-Width="1%" />
        </Columns>
    </MasterTableView>
</radG:RadGrid>

Thanks.

5 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 21 Oct 2013, 07:04 AM
Hello,

The version of the controls you are using is rather old and is no longer supported. It is recommended to use the latest version as it includes feature updates and improvements. In order to migrate an application using RadControls Classic to RadControls for ASP.NET Ajax you need to follow the steps listed in this article.

I hope this information would be helpful to you.

Regards,
Viktor Tachev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alexandru-Anton
Top achievements
Rank 1
answered on 21 Oct 2013, 07:09 AM
Hello,
It's not about migrating from ASP.Net Classic to ASP.Net Ajax, that's easy.
I said something else: some old pages using ASP.Net Ajax (old Telerik.Web.UI) do not work well anymore with the newest Telerik.Web.UI!
This is why we are not satisfied about buying a new license.

Thanks,
Toni

0
Viktor Tachev
Telerik team
answered on 21 Oct 2013, 03:28 PM
Hello Toni,

I am sorry to hear that you are experiencing difficulties with the new version of RadControls.

Could you elaborate more on which features are not working as expected with the latest version? What seems to be the incorrect behavior? We would gladly assist you in resolving the issues at hand.

I am looking forward to your reply.

Regards,
Viktor Tachev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alexandru-Anton
Top achievements
Rank 1
answered on 22 Oct 2013, 06:45 AM
Hello,
Please see this ticket, it's related:

http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=747456

Thanks,
Toni
0
Viktor Tachev
Telerik team
answered on 22 Oct 2013, 03:31 PM
Hello Toni,

Thank you for writing back.

Considering the other ticket is related I would suggest to continue communication in a single thread in order to avoid duplicate posts.

Regards,
Viktor Tachev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Alexandru-Anton
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Alexandru-Anton
Top achievements
Rank 1
Share this question
or