Hi
I am using Webdropdown which containing 5 000 records and I set these properties
<ig:WebDropDown ID="wddl1" runat="server" AutoPostBack="false" AutoSelectOnMatch="true"
CssClass="filterlistarea" CurrentValue="" DisplayMode="DropDown" DropDownContainerHeight="200px"
EnableClosingDropDownOnSelect="false" EnableMultipleSelection="true" MultipleSelectionType="Checkbox"
StyleSetName="Default" Width="180px" EnableAutoCompleteFirstMatch="true" PageSize="400"
EnablePaging="true" DropDownContainerMaxHeight="200px" EnableDropDownAsChild="false"
EnableLoadOnDemand="false" PagerSettings-PagerMode="Numeric" EnablePersistingCustomValues="false"
EnableViewState="false" EnableAutoFiltering="Server" AutoFilterQueryType="Contains">
<DropDownItemBinding TextField="FirstName" ValueField="FirstName" />
<AjaxIndicator Enabled="False" />
</ig:WebDropDown>
But when I clicked to page no 2 in webdropdown it shows the old data only and it also doing post back . Can anybody provide me a proper solution for this issue
Hi Shantesh,
I would suggest that you apply max-width to the .igdd_DropDownListContainer CSS class, too. This should solve the IE issue. A possible approach to keep the CurrentValue of WebDropDown would be to handle the AJAXResponse client-side event the following way:
function AJAXResponseHandler(sender, args) {
setTimeout("clearCurrentValue();", 1);
}
function clearCurrentValue() {
var dropDown = $find("WebDropDown1");
dropDown_elements["Input"].value = "";
It seems that the CurrentValue of the control is set during this event so setting some timeout should work.
Please let me know if this helps.
Hi Nikolay
Thank you for providing me a solution for the issues related with webdropdown paging . However I am unable
to wrap the page number in Internet Explorer . That issue is appear to be fixed in chrome and mozilla .And
also after clicking a next page numbers within webdropdown it shows some items selected in the
webdropdown textfield(Eventhough I have not selected any Items)
.
Can you please provide me a solution for this issue
Best Regards
Shantesh Kulkarni
Hello Shantesh,
I'm glad you have solved your issue. If you have any further questions, please do not hesitate to ask.
Thanks for the replay .This worked for me and resolve the problem of paging in webdropdown.
Best Regards,
A possible solution for this would be to add max-width CSS attribute to .idgg_Pager class in ig_DropDown.css stylesheet, placed in ig_res folder. Set it to be equal to the DropDownContainerWidth value of the WebDropDown.