Tooltip Support for ASP.NET Asynchronous Pages

2 posts, 0 answers
  1. Anderson
    Anderson avatar
    16 posts
    Member since:
    Feb 2008

    Posted 25 Feb 2008 Link to this post

    I've got a GridView in which I'd like each row to contain a tooltip control.

    The problem I'm running into is this GridView is being databound late in the page execution because I'm using an asp.net asynchronous page (the query that runs takes a long time and I don't want to take up an ASP.NET thread while the query is executing).  Async operations are triggered to be brought back around PreRenderComplete time.

    On this page, when your control is rendered, I get the following exception:
    Script controls may not be registered after PreRender.

    What can I do to resolve this issue?
  2. Anderson
    Anderson avatar
    16 posts
    Member since:
    Feb 2008

    Posted 25 Feb 2008 Link to this post

    I was able to get this working by using Page.RegisterAsyncTask rather than Page.AddOnPreRenderCompleteAsync.
Back to Top