cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing UIelements using Tab

Former Member
0 Kudos

Hi Experts,

I am having four tabs in one page . And each tab is having some uielements placed in ViewContainerUielement.I want to refresh those uielements while clicking different tabs in the same page.

Example:

Tab1 having label and dropdown.

Tab2 having label and dropdown.

After selecting dropdown in Tab1 and clicking to tab2.If i want to return to Tab1 the values are not refreshing.

Please help...

Regards

Nutan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nutan,

OnSelect event of the tabStrip you can set the current selection of the node binded to 0.

wdContext.node<nodename>().setLeadSelection(0);

and you can clear the value of the input field by using

wdContext.currentContextElement().set<attributename>("");

Regards,

Murtuza

Former Member
0 Kudos

Thanks Murtuza

My problem has been solved.

Regards

Nutan

Former Member
0 Kudos

Hi Nutan

Refreshing UI Elements means????? can you alloborate your question...

is your data is not updating???or some other reason

Best Regards

Chaitanya.A

Former Member
0 Kudos

Hi Chaitanya,

Here UI Elements is dropdown. My data is updating but i want to refresh means the selected value should be refreshed when I will click the other tab.

Regards

Nutan