This is a migrated thread and some comments may be shown as answers.

Tooltip Support for ASP.NET Asynchronous Pages

1 Answer 50 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Anderson
Top achievements
Rank 1
Anderson asked on 25 Feb 2008, 07:01 PM
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?

1 Answer, 1 is accepted

Sort by
0
Anderson
Top achievements
Rank 1
answered on 25 Feb 2008, 08:01 PM
I was able to get this working by using Page.RegisterAsyncTask rather than Page.AddOnPreRenderCompleteAsync.
Tags
ToolTip
Asked by
Anderson
Top achievements
Rank 1
Answers by
Anderson
Top achievements
Rank 1
Share this question
or