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!
Thanks.
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.