pagemethods

Discussion in 'ASP .Net' started by André Freitas, Jan 30, 2010.

  1. I'm working in a solution that asks for a non usual ajax aproach. It means I
    cant use the magical update panels in my webforms, because the pages have to
    many controls, and update panels are making my solution to get slow, since
    they renderize all controls inside the content tags.

    Im learning about pagemethods (callbacks look like a alternative), and I got
    a sample working, where I can update a div innerhtml with the server time,
    or something like that. The problem: i still got no ideas about how to bind
    a <asp:gridview> using a pagemethod to ajaxify my solution.

    Do I realy will need to write my own client side grid, and do all the dirty
    job, cleaning cells and injecting new content in each of them?

    Anyone can point me a direction?

    Regards
     
    André Freitas, Jan 30, 2010
    #1
    1. Advertising

  2. André Freitas wrote:
    > I'm working in a solution that asks for a non usual ajax aproach. It
    > means I cant use the magical update panels in my webforms, because
    > the pages have to many controls, and update panels are making my
    > solution to get slow, since they renderize all controls inside the
    > content tags.


    It /sounds/ like you're updating all the update panels at once, in which
    case this article

    "Partial-Page Rendering Overview":
    http://msdn.microsoft.com/en-gb/library/bb386573.aspx

    may be of interest to you.

    --
    Andrew
     
    Andrew Morton, Feb 1, 2010
    #2
    1. Advertising

  3. Thank you, im reading the article.

    Regards

    "Andrew Morton" <> escreveu na mensagem
    news:...
    > André Freitas wrote:
    >> I'm working in a solution that asks for a non usual ajax aproach. It
    >> means I cant use the magical update panels in my webforms, because
    >> the pages have to many controls, and update panels are making my
    >> solution to get slow, since they renderize all controls inside the
    >> content tags.

    >
    > It /sounds/ like you're updating all the update panels at once, in which
    > case this article
    >
    > "Partial-Page Rendering Overview":
    > http://msdn.microsoft.com/en-gb/library/bb386573.aspx
    >
    > may be of interest to you.
    >
    > --
    > Andrew
    >
     
    André Freitas, Feb 2, 2010
    #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. germ
    Replies:
    0
    Views:
    336
  2. Michael Nemtsev

    Consuming PageMethods from the external client

    Michael Nemtsev, Aug 1, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    424
    Michael Nemtsev
    Aug 1, 2007
  3. =?Utf-8?B?SmVycnkgQw==?=

    ajax pagemethods

    =?Utf-8?B?SmVycnkgQw==?=, Aug 9, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    479
    Walter Wang [MSFT]
    Aug 14, 2007
  4. Damien
    Replies:
    1
    Views:
    507
    gerry
    Aug 15, 2007
  5. George Ter-Saakov

    Pagemethods with AJAX

    George Ter-Saakov, Aug 28, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    1,466
    George Ter-Saakov
    Aug 28, 2007
Loading...

Share This Page