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
Thanks for the replay .This worked for me and resolve the problem of paging in webdropdown.
Best Regards,
Hello Shantesh,
I'm glad you have solved your issue. If you have any further questions, please do not hesitate to ask.
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
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
Thanks for providing me the solution . Its working perfect .
If you need any further assistance on the matter please do not hesitate to ask.
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.
Hi there,
This should be dropDown._element["input"].
Thank you for using the infragistics forums!