Link to home
Start Free TrialLog in
Avatar of JamesAStewart
JamesAStewart

asked on

Using a WebService called from client side to return HTML containing obout Flyout - is it possible.

I have a gridview where one of the columns contains an obout Flyout image http://www.obout.com/flyout/flyout.aspx . The images that I am using are being created dynamically and streamed as an aspx file.

The images and the control are causing the gridview to load very slowly. I thought a solution may be to use client side call a webservice to update the innerhtml of a div in the gridview. The webservice could then return html containing the obout flyout and the image.

Please could someone tell me if this possible or is there a better solution?

Thanks, James.
Using ASP.net 3.5
SOLUTION
Avatar of aibusinesssolutions
aibusinesssolutions
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JamesAStewart
JamesAStewart

ASKER

I think you're right about the problem lying with the number of flyout controls. I am attempting to implement the dynamic flyout at the moment.

I'm still interested in whether it's possible to use a webservice to return HTML containing a flyout that will work on the page that it's being loaded into.

Using WebRequest I can load a page into an innerHTML on the client side. The problem that I have is that the flyout does not work when it is within that innerHTML. Does anyone know if it's possible to make it work?
Yeah, there's an Ajax control called Dynamic Control or something that does exactly that.


I just checked, it's actually the PopupControl Extender that I was thinking of.


<ajaxtoolkit:PopupControlExtender ID="PopupControlExtender1" runat="server" TargetControlID="btnWrap" PopupControlID="Panel1" Position="Right" DynamicContextKey='<%# Eval("locationID") %>' DynamicControlID="lblCli" DynamicServiceMethod="GetClientInfo" DynamicServicePath="Service.asmx"/>
So I think my comment is right.

Its nothing to do with the images. Your problem is that you have lots of flyout html.

Using the dynamic method should solve things.