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 wasn't able to reproduce the behavior you have described. I am attaching a sample, created with NetAdvantage v11.2.20112.2055, replicating the scenario. In order to provide more insight, I would need to know what product version you are using and a small isolated sample, demonstrating the issue.
If you have any other questions, please feel free to contact me.
Hi Nikolay
Thank you so much for your replay . Your solution resolve my problem . I am using NetAdvantage
v 11.1.20111.1006 and now the problem I am facing is that for huge data around 5000 it showing 13 pages
and I want to wrap the page numbers within the webdropdowncontainerwidth . I try with properties availabe
within the webdropdown control but not able to resolve this problem . Can you please provide me a
solution for this .
Regards
Shantesh Kulkarni
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.
As per your suggestion I put code like this
.igdd_DropDownListContainer
{
float: left;
border: 1px solid #BBBBBB;
background-color: #FFFFFF;
max-width: 180px;
But in Internet Explorer still this issue coming . and in
var dropDown = $find("wddlF1");
Its throwing exception as dropDown_elements not defined .. Plase give the solution for this issue
Best Regards
Hi there,
This should be dropDown._element["input"].
Thank you for using the infragistics forums!
Hello Shantesh,
I am attaching a sample, replicating your scenario. I have used NetAdvantage 11.1.20111.1006.
Please have a look and tell me if this helps.
If you need any further assistance on the matter please do not hesitate to ask.
Thanks for providing me the solution . Its working perfect .