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

Sorting the grid by ipaddress

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
chris
Top achievements
Rank 1
chris asked on 28 Nov 2008, 07:38 PM
Is their a way to sort IP addresses properly in the grid ... as one of my columns is a list of ipaddresses but when i sort it comes out as

192.168.1.1
192.168.1.100
192.168.1.101

instead of
192.168.1.1
192.168.1.2
etc...

i think im missing because somehow logically i'd think it wud be possible

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Dec 2008, 07:04 AM
Hello chris,

You can apply your own custom sorting similar to this demo to achieve your goal:
http://demos.telerik.com/aspnet/Prometheus/Grid/Examples/GeneralFeatures/Sorting/DefaultCS.aspx

Greetings,
Vlad
the Telerik team

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