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. Advertisements

  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. Advertisements

  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. Advertisements

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:
    765
  2. =?Utf-8?B?a2g=?=

    DataGrid.AllowSorting and CssClass

    =?Utf-8?B?a2g=?=, Aug 2, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,642
    Joe Fallon
    Aug 3, 2004
  3. =?Utf-8?B?QWhtZWQgSGF6emFh?=

    The asp Tags dosn't appear

    =?Utf-8?B?QWhtZWQgSGF6emFh?=, Apr 26, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    491
    =?Utf-8?B?QWhtZWQgSGF6emFh?=
    Apr 26, 2005
  4. Replies:
    11
    Views:
    1,423
  5. Julia B
    Replies:
    0
    Views:
    879
    Julia B
    Nov 3, 2009
  6. tony010409020622@

    AllowSorting = True, BUT Web DataGrid Wont Sort

    tony010409020622@, Sep 29, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    279
    Scott M.
    Sep 29, 2005
  7. Marcin W.

    Autocomplete dosn't work with asp:LinkButton

    Marcin W., Aug 2, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    249
    Marcin W.
    Aug 2, 2005
  8. Nariak
    Replies:
    4
    Views:
    282
Loading...