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

ListView/DataList View - how to disable column's header?

3 Answers 318 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Grzesiek
Top achievements
Rank 2
Iron
Grzesiek asked on 30 Sep 2009, 01:51 PM
Hello!

I've made a simple site - the same as here:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/listview/defaultcs.aspx

I will explain on example above.

In ItemTemplate i need CustomerID to format hyperlink with this variable.

But I don't want to show CustomerID in header and allow users to sorting and filtering by CustomerID value.

How to do this? The file structure (.aspx and code behind) the same as in link above.

Thanks.



3 Answers, 1 is accepted

Sort by
0
Grzesiek
Top achievements
Rank 2
Iron
answered on 30 Sep 2009, 02:04 PM
Problem has been solved by myself :-)

<Columns> 
<telerik:GridBoundColumn DataField="total_points" HeaderText="Rank" AllowFiltering="false" AllowSorting="false" Visible="false"
</telerik:GridBoundColumn> 
</Columns> 
 


But I have another question and don't want to create another topic.

Can I change the language in context menu during filtering? NotEqual = ...,  EqualTo = ... to my national language?
0
Grzesiek
Top achievements
Rank 2
Iron
answered on 30 Sep 2009, 02:42 PM
Okey, the problem above also solved:

http://www.telerik.com/community/forums/aspnet-ajax/grid/howto-edit-radgrid-filtermenu-language.aspx


The last one - in footer I have message:

"7577 items in 842 pages"

How can I change the words "items", "in" and "pages"



0
Sebastian
Telerik team
answered on 30 Sep 2009, 02:46 PM
Hi Grzesiek,

To achieve your goal you need to modify the PagerTextFormat value as explained in this documentation topic.

Best regards,
Sebastian,
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Grzesiek
Top achievements
Rank 2
Iron
Answers by
Grzesiek
Top achievements
Rank 2
Iron
Sebastian
Telerik team
Share this question
or