Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
Column sorting error
posted

Hi,

i'm having a strange error when i'm trying to sort the username column.

On my localserver evertything works perfect, non problems with sorting so far.
But when transfered the files to a networkserver and try to sort the username column, i'm getting the follow error

Can not use leading characters (..) for exit above the top directory. ---> System.Web.HttpException: Can not use leading characters (..) for exit above the top directory.

if anyone could explain what I did wrong, or whats going wrong?

//code i'm using to sort the username column

 If e.Column.Key = "Username" Then

            Dim dir As Infragistics.Web.UI.SortDirection = e.SortedColumns(e.Column.Key).SortDirection
            e.SortedColumns.Clear()
            e.SortedColumns.Add("Username", dir)
            e.SortedColumns.Add(e.Column.Key, dir)

        End If

Parents
No Data
Reply
  • 33839
    posted

    Hi creatieven,

    It sounds like you're doing something elsewhere that is causing this, but it is hard to be sure.  Does the error still happen if you were to take the sorting code out?  And where is that sorting coded happening?

    regards,
    David Young 

Children