View Single Post
  #6  
Unread 11-11-2006, 02:31 PM
komives komives is offline
A Young Mystail Rat
 
Join Date: Aug 2005
Server: Antonia Bayle
Posts: 5
Default

Still cannot get it running, but at least the buttons select the dropdownbox items. However, the box doesnt further update the rest of the controls (tier/class/name/level etc)... Could you please check and correct my code?

In the example i have removed the non relevant positioning and tooltip tags to see better:


<Button LocalText="1" Name="mf1" OnPress="Parent.Parent.MainPage.TabPages.BuyPage.SearchFilter.SelectedItemIndex= 1">1</Button>

<Button LocalText="2" Name="mf2" OnPress="Parent.Parent.MainPage.TabPages.BuyPage.SearchFilter.SelectedItemIndex= 2">2</Button>

...

<DataSource Name="FilterSource">
<Data Name="TestItem 1" text="Saved Search 1"/>
<Data Name="TestItem 2" text="Saved Search 2"/>
<Data Name="TestItem 3" text="Saved Search 3"/>
</DataSource>

...

<Dropdownbox DataSource="FilterSource" Name="SearchFilter" RowTemplate="/Templates.dropdowntemplate" Style="/dropdownlist.dropdown_default"/>

Last edited by komives : 11-11-2006 at 03:37 PM.
Reply With Quote