Click here to Skip to main content
15,918,742 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: HTML Help - dynamic content? Pin
Philip Patrick4-Feb-02 2:18
professionalPhilip Patrick4-Feb-02 2:18 
AnswerRe: HTML Help - dynamic content? Pin
Victor Vogelpoel8-Feb-02 7:45
Victor Vogelpoel8-Feb-02 7:45 
GeneralRe: HTML Help - dynamic content? Pin
Simon Walton8-Feb-02 12:46
Simon Walton8-Feb-02 12:46 
AnswerRe: HTML Help - dynamic content? Pin
Uwe Keim10-Feb-02 19:42
sitebuilderUwe Keim10-Feb-02 19:42 
GeneralBuilding XML files from scratch Pin
Stan Shannon31-Jan-02 13:24
Stan Shannon31-Jan-02 13:24 
GeneralRe: Building XML files from scratch Pin
(Steven Hicks)n+12-Feb-02 10:02
(Steven Hicks)n+12-Feb-02 10:02 
GeneralRe: Building XML files from scratch Pin
Stan Shannon2-Feb-02 14:52
Stan Shannon2-Feb-02 14:52 
GeneralSorting in DataGrid Pin
omkamal30-Jan-02 11:12
omkamal30-Jan-02 11:12 
Hai

I have rendered an xml document using the DataGrid control. The control is so cool that it handles sorting very easily for me. But when I have numbers in my xml data, it is not sorting based on number. Instead it considers the numbers as strings and does string sorting. Has anyone tried this? Can anyone help me in doing this?

My sample xml would look like this..

<authors>
<author>
<aname>Neal Stephenson</aname>
<aid>246</aid>
</author>

<author>
<aname>Roger Wilson</aname>
<aid>12</aid>
</author>

<author>
<aname>Miriam Noxville</aname>
<aid>1456</aid>
</author>
</authors>

This when displayed in a Datagrid and sorted using the aid column, it gives me...

12
1456
246

Frown | :(

omkamal
GeneralRe: Sorting in DataGrid Pin
omkamal4-Feb-02 10:23
omkamal4-Feb-02 10:23 
QuestionMaking a new line? Pin
30-Jan-02 8:05
suss30-Jan-02 8:05 
AnswerRe: Making a new line? Pin
Jon Sagara30-Jan-02 8:36
Jon Sagara30-Jan-02 8:36 
GeneralRe: Making a new line? Pin
30-Jan-02 11:50
suss30-Jan-02 11:50 
GeneralMessage Boxes Pin
Wildcard29-Jan-02 16:16
Wildcard29-Jan-02 16:16 
GeneralRe: Message Boxes Pin
Paul Watson29-Jan-02 23:10
sitebuilderPaul Watson29-Jan-02 23:10 
GeneralRe: Message Boxes Pin
Paul Watson31-Jan-02 4:29
sitebuilderPaul Watson31-Jan-02 4:29 
GeneralLogin against a database Pin
28-Jan-02 15:48
suss28-Jan-02 15:48 
GeneralHIGH PROBLEM WITH WINDOW IN JS Pin
28-Jan-02 5:21
suss28-Jan-02 5:21 
GeneralRe: HIGH PROBLEM WITH WINDOW IN JS Pin
Philip Patrick28-Jan-02 11:09
professionalPhilip Patrick28-Jan-02 11:09 
GeneralRe: HIGH PROBLEM WITH WINDOW IN JS Pin
roni schuetz29-Jan-02 18:49
roni schuetz29-Jan-02 18:49 
GeneralRe: HIGH PROBLEM WITH WINDOW IN JS Pin
Philip Patrick29-Jan-02 23:08
professionalPhilip Patrick29-Jan-02 23:08 
Generalwriting files to different machine Pin
omkamal25-Jan-02 7:50
omkamal25-Jan-02 7:50 
GeneralRe: writing files to different machine Pin
Konstantin Vasserman25-Jan-02 16:20
Konstantin Vasserman25-Jan-02 16:20 
GeneralJust another shameless plug Pin
frog_jumps24-Jan-02 8:27
frog_jumps24-Jan-02 8:27 
QuestionHow to test if an object property exists in JS Pin
Wolfram Steinke23-Jan-02 11:43
Wolfram Steinke23-Jan-02 11:43 
AnswerRe: How to test if an object property exists in JS Pin
Konstantin Vasserman23-Jan-02 15:44
Konstantin Vasserman23-Jan-02 15:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.