2
Answers

Binding 10K + elements to a dropdown list with selection

Rp Singh

Rp Singh

7y
233
1
Hi Geeks,
 
I am having a dropdown in asp.net like -
 
  1. <dx:ASPxGridLookup ID="SelectionGrid" Visible="false" runat="server" SelectionMode="Multiple" Width="350px"  
  2. MultiTextSeparator=";" EnableFocusedStyle="false" GridViewProperties-Settings-ShowVerticalScrollBar="true"  
  3. AllowUserInput="true" GridViewProperties-SettingsPager-Mode="ShowPager" GridViewProperties-SettingsPager-PageSize="50" IncrementalFilteringMode="None"  
  4. TextFormatString="{0}" KeyFieldName="Key" IncrementalFilteringDelay="1200" GridViewProperties-Settings-ShowFilterRowMenu="true"  
  5. FocusedStyle-ForeColor="Black" GridViewProperties-Settings-ShowFilterRow="true" ClientSideEvents-KeyUp="function (s, e) {return false;}"  
  6. AutoPostBack="false" GridViewProperties-EnableCallBacks="true">  
  7. <Columns>  
  8. <dx:GridViewCommandColumn ShowSelectCheckbox="True" Width="60px" HeaderStyle-Cursor="auto"  
  9. Caption="Select" />  
  10. <dx:GridViewDataTextColumn Caption="Vint" Width="200px" Visible="True" Settings-AllowSort="False"  
  11. Settings-ShowFilterRowMenu="True" Settings-ShowInFilterControl="True" Settings-AllowAutoFilterTextInputTimer="True"  
  12. Settings-AllowAutoFilter="True" FieldName="Value" Settings-AutoFilterCondition="Contains"  
  13. CellStyle-ForeColor="Black" CellStyle-Font-Bold="false" Settings-FilterMode="DisplayText">  
  14. </dx:GridViewDataTextColumn>  
  15. </Columns>  
  16. </dx:ASPxGridLookup>  
My dropdown gets hanged when the items get loaded on the click of dropdown.
Can you please suggest some method/improvements so that the dropdown shows loading on click of dropdown till the items get loaded in the dropdown.
 
some code will be helpful.
 
thanks,
 
 
Answers (2)