Aug 24, 2010, 11:47 AM
Set the query string value to multibox
hi ,
I want to set the multibox value after filling the multibox
I want to set the multibox value after filling the multibox
<ext:MultiCombo ID="cmbMedium" AllowBlank="false" BlankText="Select at least one medium"
EmptyText="Select Medium" StoreID="StoreAvdType" ValueField="AdvertTypeName"
DisplayField="AdvertTypeName" FieldLabel="Medium" Width="200" runat="server">
</ext:MultiCombo>
<ext:Store ID="StoreAvdType" runat="server">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="AdvertTypeId" />
<ext:RecordField Name="AdvertTypeName" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
StoreAvdType.DataSource = from at in Query.All<AdvertType>()
select at;
StoreAvdType.DataBind();
cmbMedium.SetValueAndFireSelect("TV");
cmbMedium.UpdateSelection();
thanks in advance
Last edited by geoffrey.mcgill; Aug 25, 2010 at 6:36 PM.
Reason: please use [CODE] tags