Hi,
I am using WebDropDown in my application. Today i upgraded my infragistics version with new release(v 10.1.20101.1011). After this i can not set 'CurrentValue' for WebDropDown. In my older version i was using this same coding and it worked fine.
<ig:WebDropDown DisplayMode="DropDownList" DropDownAnimationType="Bounce" ID="uwlog" Height="23px" Width="65px" AutoPostBack="true" OnValueChanged="uwlog_MenuItemClicked" ToolTip="Log Info" CurrentValue="Log Info" DropDownContainerWidth="105px" EnableDropDownAsChild="false" DropDownContainerHeight="0px" DropDownContainerMaxHeight="150px" runat="server" Style="margin: 0px 0px 1px 20px; z-index: 9000;" StyleSetName="Office2007Blue">
<Items>
<ig:DropDownItem Text="Application Log" ToolTip="Application Log" >
</ig:DropDownItem>
<ig:DropDownItem Text="Error Log" ToolTip="Error Log" >
</Items>
<AutoPostBackFlags SelectionChanged="On" />
<ClientEvents />
</ig:WebDropDown>
- Here i have set CurrentValue as "Log Info" but in front it is taking the first list item as currentValue(ie;"Application Log").
Can anyone suggest a solution for me?
-Thank you.
Yes this is a known issue in this build, which has been resolved afterwards. as a workaround with this build you can set CurrentValue in PreRender, or wait for the next build (service release).
Thanks for your feedback,
Angel
I have applied the value for rendered control.The current value has changed but the first item in the list is not getting selected and no event occurs when selected.
The coding i applied is,
document.getElementById('x:1732883493.2:mkr:Input').value = 'Log Info';
Give me a solution. Its urgent??
Thank you.