AllowSorting dosn't work

Discussion in 'ASP .Net' started by Samuel Shulman, Jun 13, 2006.

  1. Any suggestion why

    I added the columns manually at design time then at run time I set the data
    source and I bind it but the headers don't appear as Hyperlinks

    Thank you,
    Samuel
    Samuel Shulman, Jun 13, 2006
    #1
    1. Advertising

  2. did you set AllowSorting="true" to the DataGrid ?

    did you add SortExpression="myColumn" to the Bounded column?

    if you did all of this and still not working, check this link:
    http://aspnet.4guysfromrolla.com/articles/052202-1.aspx?mode=print


    --

    Bruno Alexandre
    (a Portuguese in Københanv, Danmark)


    "Samuel Shulman" <> escreveu na mensagem
    news:eAj$...
    > Any suggestion why
    >
    > I added the columns manually at design time then at run time I set the
    > data source and I bind it but the headers don't appear as Hyperlinks
    >
    > Thank you,
    > Samuel
    >
    Bruno Alexandre, Jun 13, 2006
    #2
    1. Advertising

  3. Yes I didn't set the SortExpression



    "Bruno Alexandre" <> wrote in message
    news:...
    > did you set AllowSorting="true" to the DataGrid ?
    >
    > did you add SortExpression="myColumn" to the Bounded column?
    >
    > if you did all of this and still not working, check this link:
    > http://aspnet.4guysfromrolla.com/articles/052202-1.aspx?mode=print
    >
    >
    > --
    >
    > Bruno Alexandre
    > (a Portuguese in Københanv, Danmark)
    >
    >
    > "Samuel Shulman" <> escreveu na mensagem
    > news:eAj$...
    >> Any suggestion why
    >>
    >> I added the columns manually at design time then at run time I set the
    >> data source and I bind it but the headers don't appear as Hyperlinks
    >>
    >> Thank you,
    >> Samuel
    >>

    >
    >
    Samuel Shulman, Jun 13, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cowboy \(Gregory A. Beamer\)

    Export datagrid(with allowsorting) to Excel

    Cowboy \(Gregory A. Beamer\), Jun 25, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    520
  2. =?Utf-8?B?a2g=?=

    DataGrid.AllowSorting and CssClass

    =?Utf-8?B?a2g=?=, Aug 2, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,551
    Joe Fallon
    Aug 3, 2004
  3. Replies:
    11
    Views:
    1,099
  4. Marcin W.

    Autocomplete dosn't work with asp:LinkButton

    Marcin W., Aug 2, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    162
    Marcin W.
    Aug 2, 2005
  5. Nariak
    Replies:
    4
    Views:
    121
Loading...

Share This Page