Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Scrollback to selected item
posted

Hello,

I'm using the webdropdown object to display a list of items. Below is the configuration of my WebDropDown :

<ig:WebDropDown EnableClosingDropDownOnSelect="false" EnableClosingDropDownOnBlur="false" ID="wddSchema" runat="server" Width="620px"
DropDownContainerHeight="620px" DropDownContainerWidth="620px" EnableAnimations="False" AutoSelectOnMatch="false" EnableCustomValues="false" EnableCustomValueSelection="false" ValueField="IdClassification" TextField="Rubrique" EnableAutoCompleteFirstMatch="false"
KeepFocusOnSelection="true" EnableViewState="true" Height="647px" Font-Size="11px">
<AutoPostBackFlags SelectionChanged="On" ValueChanged="Off" />
<Button Visible="false" />
<DropDownItemBinding TextField="Rubrique" ValueField="IdClassification"></DropDownItemBinding>
<ClientEvents Initialize="openDropDown"/>
<ClientEvents />
</ig:WebDropDown>

When I select an item, a postback is generated, and the WebDropDown is reloaded. I need the WebDropDown to scrollback to the selected item after clicking on it. As of now, if I select an item in the bottom of that control, on reload it will display the top of the webdropdown.

I've tried some javascript and maybe find a specifc option on the control but I can't seem to make it work. 

Using v14.2

Thank you.

Parents Reply Children