.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

open faster huge list of combobox

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :WPF
Hi All. In detail form I have combobox with some thousand rows. I preloaded collection view of this list in parent form and make equal collection view of parent form to collection view detail form for combobox. But still need wait approximately 5 second when list will open. How to do that list of combobox will open faster. Thanks.

View Complete Post

More Related Resource Links

ComboBox Display list does not update if a datasource is a boxed string

I have a combo box databound to a BindingSource bound to a List<Holder> it has Holder.Name as its display value. I also have a text box bound to Holder.Name but if I change the text in the text box it will not change what is displayed in the combo box. Changing selected items and changing back will show the updated text in the text box but will still have the old value displayed in the combo box. How do I make the item in the combo box update? namespace Sandbox_Form { public partial class Form1 : Form { public Form1() { InitializeComponent(); lstBroken = new List<Holder>(); lstBroken.Add(new Holder("test1")); lstBroken.Add(new Holder("test2")); bsBroken = new BindingSource(lstBroken, null); cmbBroken.DataSource = bsBroken; cmbBroken.DisplayMember = "Name"; txtBroken.DataBindings.Add("Text", bsBroken, "Name"); lstWorks = new List<string>(); lstWorks.Add("test3"); lstWorks.Add("test4"); bsWorks = new BindingSource(lstWorks, null); cmbWorks.DataSource = bsWorks; txtWorks.DataBindings.Add("Text", bsWorks, null); } } public class Holder { public Holder(string name) { Name = name; } public string Name { get; set; } } }

Folder inside the List shows Access Denied when try to open using Manage Content Structure

Hi All, We are facing this issue in one of our site, when accessing the folder from Manage content structure. Folder is inside a list which uses a folder content type. When we try to open this folder use manage content and structure it throws access denied. any idea how we can check this as we the permissions are properly inherited and all the folders are checked in . Please update what else we can check.   Thanks, Jasjeet SIngh

application is faster while SSMS is open !?

Hi,  I have my VB.Net 2010 win form app running a job on a table (35.000 rows). I read from an MS-Access Database and, while iterantig on an OleDbDatareader,  I write  to the SQL Server Express 2008R2 using SqlDbCommand.ExecuteNonQuery. A progress bar on the GUI shows the current row. I've noticed that, while the app is running, if I launch the SSMS and I perform an operation (i.e. a simple select on a table) against the same db,  the application goes much more faster. As  I close the SSMS, the application slows down. All this is running on the same PC. In both, application and SSMS, the SQL Server Server Authentication is used (same user). Here is the connection string, stored into the app.config file:   <add name="DB" connectionString="Data Source=localhost\sqlExpress;Initial Catalog=myDb;Integrated Security=False;User ID=myUser;Password=myPass;pooling=False;Connection Timeout=1200;"/> Any idea ? thanks in advance. Francesco

No permission to open a list pages in Sharepoint Designer 2007


We have a sharepoint site with two main lists.

List 1: I could open the pages, make changes BUT cannot create workflows (for the site).
List 2: I could not even open it. I get the message
"You do not have permission to do this operation. Ask your web site administrator to change your permission and try again, or log on with user account that has this permission ...."

I am secondary server administrator and also have 'full control' of the site.

Any ideas?

Thank you

How do I open an application by clicking on a specific document from the list of documents on SP2010



I created my own file type. And I have an application to open this specific file (xml).  In SP2010 created a list of documents and have uploaded this file type on my list of specific documents and up to here everything is working fine. 

But when I click the file from the list of documents that he was open with my software or whether it is possible to synchronize with the file.
My application (WPF Application) is already prepared to receive through "CommandLineArgument" the name and location of the file. If I go to the folder where my file and make double click, my software starts and open the file.
How do I open t

how to set the site to open Calender or a document list (the home page)WSS3.0

I believe there is a setting to make a list or calendar to open when go to a site home page, but I cannot find it now, and not though google either, please help.

combobox list problem


Hi All.

I binded UserComboBox to datadet

Private Sub SetSvc_No(ByVal Svc_No As String)
  CtrlUserTableAdapter.FillBy(CtrlSvcDataSet.User, 0, Me.SvcNoTextBox.Text)
  Me.cvUser = CollectionViewSource.GetDefaultView(CtrlSvcDataSet.User)

  If Me.cvUser.Count >= 2 Then
    Me.UserComboBox.ItemsSource = Me.cvUser
    Me.UserComboBox.SelectedIndex = 1
    Me.UserComboBox.ItemsSource = Me.cvUser
  End If
End Sub

Private Sub SvcNoTextBox_LostFocus(ByVal sender As Object

SQL file will not open in SSMS on double-click (or jump list)


Hello, all.

I am running SQL Server Management Studio 2008 on a Windows 7 Enterprise machine here at work.  I am not sure when this started happening, but now, for some reason, when I double-click on a SQL file in Explorer, or from the jump list for SSMS (which I have pinned to my Windows 7 task bar), SSMS will open, but will not load the file in question, nor will it bring up a logon screen to connect to a DB.  I tried unassociating the .SQL extension and then re-associating it using "Open With" and it worked the first time (from the Open With), but then immediately reverted back to its old behavior.  Very annoying.

For now I just open SSMS first (which pops up a logon screen and things proceed normally), but that kind of defeats the purpose of having a jump list or a file association.  Has anybody run into this before and can anybody suggest a fix or what's wrong?

Thanks in advance for any wisdom anyone can provide. 

Workflow History list - Huge number of entries.


Hi there,

Does anyone know if there is an issue with having a large number of entries in the workflow history list. I've got 2 sites that have only been in existence for 9months and the workflow history lists are already at 14000 entries?

Is this list size an issue?

Would growing at this rate cause an issue in the future?

Is there anything we could do about it? settings, delete routines..

Any ideas/suggestions gratefully received!



WPF Memory leaks in a Huge Images list


I create a simple WPF application to display images in a child window from a folder.

this folder contains a huge number of images

After closing the child window that contains a virtualization tile panel and a data virtualization collection taken from this article the memory will not return as it was before opening the window.

I followed some steps mentioned in this article. but i still see some memory leaks! so could you please help me to find it.

- All of resources are frozen like this:


<Window ...



How to populate a ComboBox from a list


I have two basic lists (Alist, and Blist).

One field from Alist is a textfiled of selection type (ComboBox). I want to fill this combo with the content of Blist.

When I create a field I can chose to populate the ComboBox from an static list, but I don't know how to bind to a SharePoint List.

It is possible to do in easy way?

Thanks for your time!

Un saludo! Juan Segura

Bind custom list to combobox


Hi, I have a custom list which I newed to binf to a combo box, my class is as followes

Class ComboData
    Public id As String
    Public V1 As String
    Public V2 As String
End Class

I am trying the following but nothing is dispalyed in the combobox, no errors....

        Dim Listdata As New List(Of ComboData)()
        Listdata.Add(New ComboData() With {.id = "1", .V1 = "test", .V2 = "test2"})
        Listdata.Add(New ComboData() With {.id = "2", .V1 = "test2", .V2 = "test3"})
        cboSmtpServer.ItemsSource = Listdata
        cboSmtpServer.DisplayMemberPath = "V1"
        cboSmtpServer.SelectedValuePath = "id"
        cboSmtpServer.SelectedIndex = 0
        cboSmtpServer.SelectedValue = "V1"

What is missing


Thanks in advance

copying huge list of 12 gb

I want to copy huge list of 12 gb with workflow attachments, from one site collection to another programmatically. I also tried to create a template and move but the list is too huge to save as template. Can any one help me please?

Open ASP.NET page from SharePoint list view



I made a custom ASP.NET page to enter information into SharePoint list. How can I open this page from list view, for example, New Item will open my page instead of default NewForm.aspx?


"Connect to Outlook" and "Open Schedule" disabled in Ribbon on instance of Project Tasks list


Hi Everyone,
I am creating a custom list template for "Project Tasks", essentially I need a customized version of the OOB Project Tasks list. I've cloned the OOB feature over to my Visual Studio 2010 solution and I am able to successfully deploy my version as expected, with everything fully functional, gantt chart and everything, except one thing. When I provision an instance of the list using the OOB list template, I am able to see everything in the Ribbon enabled. However, when I provision an instance of my custom list template (clone), I see the "Connect to Outlook" button disabled, as well as the "Open Schedule" button disabled - which allows you to open the task list with Microsoft Project (I have all Office 2010 clients installed, including Microsoft Project).

I am guessing there must be some type of setting somewhere that associates the OOB list template to those Ribbon items that I see as disabled. The only thing different between my list template and the OOB list template is the Type ID. Could this be the problem?

Where should I be looking to troubleshoot this issue?


Open a list item edit form with workflow

I have a workflow that creates a new item in another list.  I need the workflow to open the new item on the Edit form.  Is this possible?  Any assistance would be greatly appreciated.  Thank you.

Not able to open videos after uploading in a sharepoint list

I have a sharepoint list. I can upload videos into it and the uploading works fine. I uploaded a wmv file and it showed a windows media player icon by default for the file. However, when i click on the video to open it, the media player opens up but it is not able to play the file. It gives an error that the format is not supported or the codec is not right.....But when I download it and play it using the windows media player, it works fine!! Does anyone know What could be the problem ??
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend