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

Update usercontrol b from usercontrol a

1 Answer 108 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
bnye
Top achievements
Rank 1
bnye asked on 26 Oct 2007, 06:07 PM
Is there a way to Ajaxify a usercontrol from a button on another usercontol if both are nested in a Masterpage. I hope that makes sense.

The scenario is a product detail page in an ecommerce package. When the user clicks the add to cart in the product detail ascx, I was hoping to write the product to the cart db and then call a specific sub on the small cart ascx that would then show the updated list. Or simply refresh the small cart ascx and in the page_load it will show the updated list.

Sincerely,

Ben

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 29 Oct 2007, 01:41 PM
Hello bnye,

You can do this by locating the Button with FindControl and add AjaxSettings in the main page (masterpage). Please review the following topics on the matter:
Hope this helps.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
bnye
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or