Hi all,
I'm hoping someone can help with a problem I'm having concerning tabstrip, pageviews and ajax updates.
I have a MultiPage in place with several tabs, and each tab relates to a PageView that in turn contains UserControls.
I have a RadAjaxManager on the main page containing these tabs, and I'm also using a RadAjaxManagerProxy control on each of the UserControls.
I need to communicate between two of these pageviews and usercontrols but I'm having a problem with a particular piece of functionality.
To make it easier to understand I have a "Garment" tab/UserControl that allows customisation of a garment. As a result of changes to the garment, I'd like to update a second tab/pageview ("Branding"). I currently have this working when an "Update" button is clicked on the garment tab that updates an ajaxed datalist on the branding tab (by calling a public subroutine). It seems to work great.
This is based on using an @ Reference tag on the Garment usercontrol, casting an object to this control and then calling the subroutine.
However, there is a situation where if a certain garment is selected, I'd like to be able to show/hide a placeholder on the Branding tab when a radcombobox selectedindexchanged event is fired. I have a public sub on the Branding usercontrol that DOES get called (tested using ajaxpanel.alert), but the placeholders and other controls contained within it do not update. This is doing my head in! :-)
Can anyone suggest why the datalist in the Branding usercontrol can be updated based on an event on the Garment usercontrol, and that a subroutine IS being called for the placeholder update, but the PH doesn't update?
I hope that makes sense and appreciate any insights you may have.
Cheers
Rich
I'm hoping someone can help with a problem I'm having concerning tabstrip, pageviews and ajax updates.
I have a MultiPage in place with several tabs, and each tab relates to a PageView that in turn contains UserControls.
I have a RadAjaxManager on the main page containing these tabs, and I'm also using a RadAjaxManagerProxy control on each of the UserControls.
I need to communicate between two of these pageviews and usercontrols but I'm having a problem with a particular piece of functionality.
To make it easier to understand I have a "Garment" tab/UserControl that allows customisation of a garment. As a result of changes to the garment, I'd like to update a second tab/pageview ("Branding"). I currently have this working when an "Update" button is clicked on the garment tab that updates an ajaxed datalist on the branding tab (by calling a public subroutine). It seems to work great.
This is based on using an @ Reference tag on the Garment usercontrol, casting an object to this control and then calling the subroutine.
However, there is a situation where if a certain garment is selected, I'd like to be able to show/hide a placeholder on the Branding tab when a radcombobox selectedindexchanged event is fired. I have a public sub on the Branding usercontrol that DOES get called (tested using ajaxpanel.alert), but the placeholders and other controls contained within it do not update. This is doing my head in! :-)
Can anyone suggest why the datalist in the Branding usercontrol can be updated based on an event on the Garment usercontrol, and that a subroutine IS being called for the placeholder update, but the PH doesn't update?
I hope that makes sense and appreciate any insights you may have.
Cheers
Rich