Welcome Guest Search | Active Topics | Sign In | Register

flyout with <uc1:control> Options
mendy
Posted: Friday, August 27, 2010 11:47:57 AM
Rank: Member
Groups: Member

Joined: 5/27/2010
Posts: 22
Hi.
I've read in the documentation that I can use flyoutwith a user control

I followed the example and noticed that the control does not refresh when the user control gets refreshed.

Please let me know how to do that.

Thanks.
eo_support
Posted: Friday, August 27, 2010 12:36:45 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The Flyout control is a standard ASP.NET server control, so it does not care about whether its in a user control or not --- There is generally no such thing that a control can or can not be used in a user control. It's pretty much granted.

I would suggest you to try the control inside a separate test project with user control and see if it works. If that still does not work, you can send the test project to us and we will be happy to take a look.

Thanks!
mendy
Posted: Friday, August 27, 2010 2:19:10 PM
Rank: Member
Groups: Member

Joined: 5/27/2010
Posts: 22
Hi and thanks.
Here's the scenario.

I have an callbackpanel that I'm using to add items to shopping cart.
I also have a flyout that shows the Shopping Cart

During the callback execute I refresh the uc1 control like this:
Dim sc1 As ShopCart1 = Master.FindControl("Shopcart1")
sc1.refresh()

Now , when I pass the mouse over the flyout, it still has the old data as before the callback.

How can I get the flyout to register that change that i made?

Thank you.



eo_support
Posted: Friday, August 27, 2010 5:02:45 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I am not sure what your "refresh" method does or exactly what you mean by "How can I get the flyout to register that change that i made". So I do not know what to tell you at this point. If you still have problems, please try to clearly explain all related page contents/code and why you believe the flyout should change. We can then review it and see if we can find the problem for you.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.