on 12-19-2007 5:50 AM
Hi All,
I have a requirement to change my tabs dynamically inside my view for different scenarios.For this, i have binded selectedTab property of tabstrip to some context attribute and then i am setting this attribute with Id's of my tabs depending upon the scenario.But this is not working and always first tab is shown by default.I tried to debug the value af the attribute and it is getting set by different Id's.Can anyone help me in this regard.This is very urgent.
P.S rewar points will be awarded if issue is resolved
Thanks
Amit Bagati
Hi Amit,
In which method you have set the value to tab strip context attribute. Also make sure you have passed IDs in all caps to the context attribute.
With Regards,
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi amit this is what you must be following......
for testing purpose, initially in the wddoinit method provide the second or any other tab id ( in capital letters ) to the context and check what happens.
if it works fine then your logic is differing in some place that by default the tab1 id is sent to the context.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the modifyview method, get the reference of the tabstrip element using view->get_element( ) and call the method set_selected_tab. The selected tab name should be taken from your context attribute.
Regards,
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.