Disable Ultrawingrid Automatically Updating When Datasource Changes?

Jan 4, 2012

I have a wingrid that is bound to a datatable. I create a new asynchronous thread and from that thread make a remote server call passing the datatable. When the server call is completed the wingrid automatically refreshes to show any changes. However, since this is not being done on the main UI thread of the program, we will often get an error where the control goes whilte and a big red X appears in it.

Is there a flag to set the wingrid to not automatically upate when the datasource changes? I would like to turn it off before the remote server call and turn it on again after I am back on the main thread.

View 2 Replies


ADVERTISEMENT

Enable/Disable SelectAll Check Box In Infragistic UltraWinGrid

Nov 29, 2011

I have used Infragistic UltraWinGrid to display data on the Grid. In this grid, there is one check box column. I have added check box in header in this column to selectAll option. Now I want to enable/disabe this header check box on any button click event to restrict user to perform any action.

View 2 Replies

Shared Dropdown Datasource Updating?

Aug 15, 2011

I have a goal to have dropdowns populate using a string array as the datasource. Re-binding works well in the dropdown event, but if I make a change to a currently selected line item it won't change until I make the box dropdown again. Is there a way to keep this updated without re-binding the data?

Also, this is one of several dropdowns on an MDI child form. I'd like to make sure they're all synced. For instance if one has "Bob" selected and I change Bob's name to "Chris" I need all the "Bob" dropdowns to change to "Chris". Is there a way to do that without having to cycle through all the windows and call a rebind function?

Finally, I want to know if there's a better way to do it than the way I'm doing it. Since all these children have to be synced, the MDI parent holds the String array as a public property and the children each leech off of it.

View 1 Replies

Updating DataGridView.DataSource With A BackgroundWorker

Mar 9, 2011

I've got a VB2008 application that can potentially generate a table with up to 540 columns. The table is then used as the DataSource for a DataGridView. With column counts in the hundreds the processing time can by over a minute. With all this in single threaded Form code the UI locks up until the DataGridView is loaded. I've taken time stamps of the process to find out where the majority of time is spent.

[Code]...

View 1 Replies

VS 2008 Updating A Datagridview / Datasource

Apr 19, 2010

I'm learning some more VB in my spare time, and I'm making a simple customer database that uses SQLCE. I've got the datasource set up and all that, but for some reason when I hit accept on the form, nothing happens?

[Code]...

View 3 Replies

Updating Datasource Of A Datagridview Combobox Column

May 10, 2010

I have setup a datagridview with one column as a combobox and bound to a dataset.

However, during runtime I want to refresh that column to show the changes. How do I do that?

View 3 Replies

Automatically Disable And Enable The Usb?

Aug 18, 2009

i have to make a program that could automatically disable and enable the usb..

View 2 Replies

Disable Automatically Showing Images In VB Web Browser?

May 18, 2011

am working with Web Browser control and with emails ".eml" ,simply am just navigating the WeBBrowser to the email object in my computer and is displaying my email body

but if the email has attachment picture(NOT AN EMBEDDED PICTURE) then the Browser automatically display that image to the center of the browser for example the last line of the html code is <CENTER><IMG SRC="CID:{A4BE96B0-6195-4D93- 45E-97D4B1CA3539}/nature2.jpg"></CENTER> but actually the email dose not has this picture as embedded but is only an attachment ,and the browser is displaying it.

is there any way which i can easily disable that functionality or i should modified the code and replace that string with nothing. ?

View 4 Replies

Automatically Updating Application From Network Share

Feb 15, 2012

Any simple way of automatically updating a newer version of my application from a network share. Everything I have read pertains to an update from a web site. This is possibly a simple thing to do but as I have 6-8 users using the application I have to email them all stating there is a new version on the share and for them to copy and overwrite the existing application executable in the program filesapp directory. If this could be done on launching the program within the splash screen that would be fantastic.

View 3 Replies

Wazy To Disable Auto-Updating Code

Feb 26, 2012

I wonder if it's possible to prevent Visual Studio (2010) from automatically updating code when I change control names? [code]...

View 8 Replies

VS 2008 Disable That Listbox Scrolls Up When Updating Datatable?

Jun 14, 2009

But I've got a problem now, and I haven't been able to find any answer. Here is the code I'm executing:

Imports MySql.Data.MySqlClient
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

[code].....

View 4 Replies

Forms :: Stopping "automatic" Updating Of Controls With Datasource?

Oct 13, 2011

I'm writing an app that pulls information from a DataSet as a one-way thing (e.g. the datasource populates a listbox, but for selection purposes only -- the user cannot change the list values). My problem is, when I select something from the listbox, all of the other listboxes change too, as if the control is telling the others "Update your contents to display what is in row 5"

[Code]...

I then use the IDE to bind lstOne and lstTwo (both listboxes) to datInfo, and use the DisplayMember to bind lstOne to colOne and lstTwo to colTwo.When I run and click on a value in one listbox, the other one follows suit. For example if I click on "One Three" in lstOne, lstTwo displays "Two Three". I expect to click on "One Three" then be able to independently set lstTwo to "Two One"

This seems counter-intuitive, so is there a way to do what I'm after from the IDE, or will I have to do it all from code?

View 3 Replies

.net - Infragistics UltraWinGrid Delete Confirmation

Jul 29, 2009

By default the ultraWinGrid pops up a delete confirmation box for any row deletions. How do I turn that feature off?

If i'm deleting in the code, it's no problem:

myUltraGrid.DeleteSelectedRows(False)

But I don't know how to apply that when the user presses the delete key.

View 2 Replies

Drag Drop And Image Into An Ultrawingrid?

Mar 6, 2012

I'm attempting to drag a file from explorer into an ultragrid using vb .net. I'm able to copy the file path but not convert it to an image. Here is what i'm doing:

[Code]...

View 1 Replies

Infragistics UltraWinGrid Hidden Occasionally

Mar 18, 2011

I have a Windows Form custom control that displays alerts on a customer record. The control uses an Infragistics 9.1 UltraWinGrid to display these alerts, which is filled from a dataset populated by a business object. Some users are having issues viewing these alerts; the grid will be completely blank, like the fields were hidden for some reason. This sample code shows how the grid is populated:

Private Sub InquiryCallbackAlertList(ByVal sender As Object, ByVal e As FunctionRequestEventArgs)
Try
'Code to populate the dataset mdslist
AlertsGrid.Visible = True
[Code] .....

I have not had any success finding anything out about this problem. I did add some trace logic to check the 'HiddenResolved' property on the grid rows and am waiting to find out the results of that. Is there anything else that could be causing this grid to only be hidden for some users and not for others, and also could anything else be causing this only to happen occasionally?

View 1 Replies

Way To Allow Only Unique Values In A Column Of An Infragistics UltraWinGrid?

Mar 21, 2012

I'm using an Infragistics UltraWinGrid with a column of drop-down boxes. I don't want the user to be able to select the same value for multiple rows in that column. Is there a simple (or heck, I'd settle for advanced) way to do this? I'm using VB.NET

-EDIT-

I tried setting a filter on the data source for the drop-down box. But when I did that, the values in the other boxes in that column started disappearing (not the values themselves, but the descriptions that they were supposed to represent, so instead of reading "Information", it just said "1"). All of the cells in a column refer to the same combo box, so if you filter out a value from the data source for one of them, you filter it out for all of them. I'm currently trying to catch a CellChange event and check against all other currently-used values. If it was already used, I would put up a message saying as much and revert back to the old value. However, the value comes back as the previously-saved one, so... not helpful. About to see if I can use the "text" property.

View 2 Replies

Making Infragistics Ultrawingrid Desired Columns Readonly

May 20, 2010

I am stucked at the situation where I need to disable few columns of a each row ,except newly added row.That is I have 10 columns in grid and I want first three columns that are binded from the rows coming from db as disabled or read-only, rest are editable. if I add new row then all columns of new row must be enabled until and unless it is saved.I dont have any DataKey or Primary key for my existing row or new row. I have to check for some boolean values like IsNewRow. [code] but the problem is that if i click on disabled/readonly rows then newly added rows also gets disabled., which i dont want

View 1 Replies

Change Microsoft SQL Server (SqlClient) Datasource To ODBC Datasource?

Jan 30, 2011

I use vb.net and windows form and sqlserver

I added Data Source(Microsoft SQL Server (SqlClient)) to my project. and now I need to change it to ODBC Data Source .

View 1 Replies

Disable A Timer - Will Finish The Process And Then Disable Or Will It Immediately Disable Without Completing Process?

Dec 22, 2011

I am confused what will happen, when I disable a timer. Will it finish the process and then disable or will it immediately disable without completing process? for example

[Code]....

I want to run getMessage from somewhere else, so I need to disable timer during that time to be asured not to override anything and also before timer disable it should complete that function code.

View 3 Replies

Disable Right Click And To Disable The Start Button And Task Bar?

May 16, 2009

to disable right click and to disable the start button and task bar?

View 4 Replies

Updating Child Collection Of POCO (adding/updating/deleting) In Entity Framework 4.1?

Jan 25, 2012

I have a webpage with a form that is used to edit some object. This object contains a Collection of other objects defined like this: Public Overridable Property Employees As List(Of Employee)

On a form I can delete an employee, add a new one or modify existing one. When I click save new values are sent to the server. On a server I check if the user exists. If exists then I modify its values, if it does not exist then I add it. All employees that exist on the server and were not sent are marked as deleted (State changed to EntityState.Deleted). I try to use the following code (dbCollection = database entities, newCollection = collection sent from the form):

[Code]...

This code does not work, because changing to EntityState.Deleted removes the object from collection, and for each loop breaks, since the collection is modified...I know that I can overcome this problem by using a for loop or adding objects to delete to some other list first, but I hope maybe there is a pattern that would make my code nicer.

View 1 Replies

Add A New Datasource?

May 19, 2010

Create a membership database that has fields for title, first name, surname, address, subs renewal date and membership type (active, social, honorary or life). Make an interface that allows a user to display, sort and create records. Consider the use of drop down boxes to aid error free input.

When i add a new datasource i get to "Select database objects" page and then i get an error message. "Could not load "Microsoft.etc"", im using an access database with pre-created fields.

View 1 Replies

Cannot Add DataSource In .Net

Jun 4, 2011

I cannot add data source in my window applciation;...There is no menu for me to add a new datasource.

View 8 Replies

.net DetailsView To Use More Than One Datasource?

Jan 5, 2012

I have a DetailsView that looks just about perfect. The only thing is, there is one field that actually gets its information from another table. It is an ID field that is linked to another table in the database and I was hoping that there was some way to get that one field in the DetailsView to pull the information from the other table.

Is there a way to maybe add a + (plus sign) next to the PicklistID and then have it show the results of the other query? (SELECT TEXT FROM PICKLIST WHERE PicklistID = @PicklistID???)

UPDATE 1/11/12: The PICKLISTID in the table PICKLIST is not unique or a primary key so I cannot reference it from the SURVEY table. Is there a way to give these 2 columns a relationship so that I can just change my SELECT statement in my DetailsView to include the PICKLISTID?

UPDATE 1/23/12: I'm still stuck on this. I am not getting how to make this work at all.

[Code]...

View 1 Replies

.net Dropdownlist Datasource?

May 17, 2011

have 3 dropdown list one has pre set values and my post back works the other 2 has the data from the db when i try using post back on them i don't get anything in my grid view.

<asp:DropDownList ID="ddlname" runat="server" DataSourceID="SqlDataSource1" DataTextField="Venue_Name" DataValueField="Venue_Name" AppendDataBoundItems="True" AutoPostBack="True"> <asp:ListItem Text="All" Value="All" Selected="True"></asp:ListItem> </asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"

[Code]...

View 2 Replies

Add Information From Another Datasource?

Jun 1, 2011

how do you add information from another datasource into a cell in a data grid which has the relevant information i.e order_bindingsource grid which has the information order id, item id, quantity and cost per item.

The item id I have linked to the Productbindingsource but I also need the information to be shown cost per item which is in data source products.The item id is a drop down box with the items displayed what I need is when an item is selected I need the price to show up in the cost per item box.

View 4 Replies

ArrayList To A Datasource

Nov 19, 2011

I am trying to create an arrayList of people. The variables, or arrays are; first name, last name, age, DOB. I am wanting to load all that into one arrayList and dataBind it so it would look like [code] Loading it into an ASP DataList. SO Fname + Lname + age + DOB are loaded on the same line/index. Not sure how to go about this. I'm sure it's an index issue..but not sure the thought process to even begin to load these elements into the "0" element, then the "1" and so on. Not puling the information from a database, just preset arrays/arrayList. ANY suggestions? ( I have it so it is dataBound to one arrayList entry as in [code] This works fine. But if I wanted to add the last name to the first name on the same line...that's were I am not seeing the connection.

View 5 Replies

How To Declare A Datasource

Apr 30, 2012

How to declare a datasource?

View 1 Replies

How To Get Datasource.tableRow

Jul 30, 2009

In one of my projects, I have this line of code that works:

Dim newCustomersRow As EyeBaseDataSet.HistoryRow
newCustomersRow = EyeBaseDataSet.History.NewHistoryRow()

In this new project I'm trying to get the same thing going, but I can't use the Row definition. I type the data set name and don't get an option for the tableRow. I don't know how else to word this, but I need to know what I have to add to the project to give me that control. In the working project it says "Class HistoryRow" and I went to the definition and it took me to the designer and showed me a Partial Public Class with System.Data.DataRow.

View 13 Replies

How To Set <ItemTemplate> To A Datasource

Apr 11, 2011

How can I set the datasource of an ItemTemplate? Right now I have one that is wrapped by a datarepeater and that is how I databind to it.

<asp:Repeater ID="rptTotal" runat="server">
<ItemTemplate>
<tr>

[Code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved