.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


ADVERTISEMENT

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

Confirmation Delete Window - Deleting Record When Click Delete Or Cancel?

Jan 5, 2012

I have a javascript file that contains the function for calling the confirmation delete window, the code used is similar to the following:

function Delete()
{
confirm('Delete this user');

[code].....

View 3 Replies

Delete Record From GridView.Before To Ask For Confirmation Like 'Are You Sure To Delete?'

Apr 1, 2011

I want to delete record from GridView.Before to this ask for confirmation like "Are you sure to delete?"I used command field in GridView, [code] I wrote a function in javascript. [code] How I will call this on delete click.

View 4 Replies

Add A Delete Confirmation On A Gridview With EntityDataSource?

Feb 14, 2011

I have a .NET4 web application using the Entity Framework

In one of my pages I have a gridview bound to an entity data source. Within the Gridview definition [code]...

View 1 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

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

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

Serious Delay Using A Infragistics Event Handler?

Aug 9, 2011

I have a web page where I'm using an Infragistics UltraWebGrid Control. I've created an event handler (see code below). The reason I'm using this code-behind code is because I can't get javascript to update the grid cell correctly. We've tried everything under the sun here except for the right solution...Duh! Anyway, when the event fires, it literally takes at least 2 seconds before the cell updates. It does update and it updates successfully but the response time is terrible. Anyone have any ideas why this might be happening.A couple of programmers think it has to do with AJAX.

[Code]...

View 2 Replies

Use Infragistics Windows Form Controls?

Mar 19, 2012

i'm fairly knew to VB and was wondering if its useful to use infragistics windows form controls?

Read some good reviews and theres so much more that can be done with these controls.

View 2 Replies

.net - Formatting A String To Include Tab Characters In Infragistics Ultragrid

Sep 19, 2011

I've been working with an Infragistics Ultragrid and I'm looking for a helpful hint. I'm using a table from SQL Server 2008 to populate my grid. The table that I'm calling has a column that has been updated to be something like this. "Items" + char(9) + char(9) + "Cost" + char(13) + char(10). The "Items" section of the column is padded to be 50 charcters in length followed with the two tab characters, the cost then the new line characters. Ultimately this is what the results of a single row would look like. Notice how the items and the cost are lumped into a single cell.

[Code]....

View 1 Replies

Asp.net - Find The Child Nodes Of An Node Of An Infragistics Web Navigator?

Apr 10, 2012

I need to find all the child nodes of a particular node in Infragistics tree view(WebNavigator). it is possible to get the parent() using the available property. But I need the childs. How can i access the childs of that particular node. I am using asp.net 2.0 with VB.Net. T

View 1 Replies

Infragistics Ultragrid Cells - Manipulate Text Property?

Jun 25, 2009

I'm having trouble with an infragistics ultragrid using vb.net. I currently have a cell with the value "inner", however I want to be able to display a completely different string for that cell without losing the value. I understand that the cell has two properties, one value property and one text property. The text property is read-only so I cannot simply assign a new string to that.

View 2 Replies

[2005] Infragistics UltraGrid Checkbox Column - Select Only One?

Jan 23, 2009

I have a Infragistics ultragrid with a checkbox column (no binding on the checkbox column) need the user to only have one check box selected at a time. If a checkbox is checked and the user checks another row I need the first checkbox to uncheck. I am new to infragistic controls, so I apologize if this is a simple property that I have not found. But I have searched the forum and KB to no avail. Do I have to rip through the rows and uncheck all rows but the active one?

View 1 Replies

Creating A Confirmation Box In VB?

May 17, 2011

How can I create a confirmation popup box into my Windows Form project? I use SQL Server Compact and Visual Studio 2008 Pro.At the moment I have some buttons and operations that delete selected rows straight from my database.

What I want to do, is have those buttons continue with the coded operation if the user clicks "OK" on the confirmation box.The box should be like the MsgBox, but with two selections: "OK" and "CANCEL".

P.S. I have several places to include that confirmation operation.

View 9 Replies

How To FileInfo Before, Delete Or SHIFT + DELETE, Process Final Delete Of File

Feb 13, 2011

How can be find out which file is going to delete when, user provides command like DELETE or SHIFT + DELETE or by programmatically gives DELETE command. Well I know about FileSystemWatcher Class, but this class doesn't provide information before delete...

View 1 Replies

Confirmation On How To Load Form

Feb 25, 2009

Loading a form is the easiest thing to do. Unfortunately with the 2008 version, I keep running into new problems. Now, my forms will not load when I run and click the main form button, yet they used to work, so, I am therefore, seriously baffled. I'm hoping I just forgot to put in some code. So anyone who reads this post, please enter in the proper code for loading a form. such as for forms 1, 2, 3 and 4. 1 is the main form, and 2, 3, and 4 are the other forms. also if there is a loading procedure on the other forms, please note those two.[code]

View 1 Replies

DataGrid Confirmation Before Deleting?

Nov 19, 2011

I have a datagridview named dgvInventory. Okay when you have data inside your datagridview all you have to do is push the delete button on your keyboard and it automatically deletes the record. However, I want a popup box that says "Are you sure you want to delete this record?", and if yes is clicked then the item will be deleted, if not then the record stays the same.

View 1 Replies

Forms - Exit Confirmation Box

Mar 26, 2011

I am trying to make a routine to handle closing a program with a confirmation dialog box. The problem I am having is I cannot get the confirmation to work right. [Code] If I run this nothing happens. The dialog box goes away but the program stays open. I have also tried options with e.cancel and my version of visual studio (2008) does not recognize that as a proper command.

View 9 Replies

Ask User For Confirmation Of An Action With A Popup Box?

Nov 22, 2009

I'm currently coding a button which will delete a record from a database if clicked. However, I want some sort of confirmation after they click it so there are no accidents. I was imagining a popup box that tells them they are about to delete this record with two buttons cancel and OK. If cancelled, nothing happens, but if OK is pressed, then the server would execute the delete as coded. How would I do this in asp/vb?

View 2 Replies

C# - MessageBox-confirmation For Critical Operations?

Jul 22, 2010

In my projects (WPF) I use System.Windows.MessageBox to show the user a confirmation dialog for operations that are critical, such as a delete-operation.

My problem is that if I specify as button value MessageBoxButton.YesNo, the user cannot use the escape-key to cancel the operation. IMO this is one of the most annoying things, a program can do, showing a dialog without the possibility to cancel/close the dialog through the escape-key.

Other possibilities are MessageBoxButton.YesNoCancel, but IMO this is confusing because it shows three buttons for only two operations . Or one can use MessageBox.OKCancel, but this is IMO not clear enough. In my dialogs I want to ask the user if her really wants to execute the operation. And for this, a simple ok is not appropriate. A yes (I want) is much better than an ok (go on).

How do you handle this? Is it a non-topic or do you think as I do and have an own MessageBox-implementation or do you know a possibility to extend the System.Windows.MessageBox-class?

View 1 Replies

Forms :: Confirmation Of Form Closing?

Mar 27, 2006

I want to do something like when click on the close button, a message box will pop up and if yes, close it else remain in the same form. But the following coding seems only consider one side while the other side is ignored.

Style = MsgBoxStyle.DefaultButton2 Or MsgBoxStyle.Question Or MsgBoxStyle.YesNo
Check = MsgBox("Do you want to quit?", Style, "Exit confirmation")
If Check = MsgBoxResult.Yes Then
Application.Exit()
End If

View 8 Replies

Generate Random Confirmation Numbers?

Sep 6, 2011

I have an attribute that I just added to my database to hold confirmation numbers. The only problem is they are all null so I am getting errors. Thus I need a method to generate random confirmation numbers (no duplicates). The column entries have a max size of varchar(20)

Solution:
randNum = Replace(Guid.NewGuid().ToString(), "-", "")
randNum = randNum.Substring(0, 19)

[code].....

View 5 Replies

Javascript - Confirmation Popup Message (ASP.NET/VB)

Apr 30, 2011

I want to have a confirmation message box pop up when a user clicks the cancel button on a form. I believe this would be the correct javascript code:

function confirmation() {
var answer = confirm("Are you sure you want to cancel? Any information you have entered will be discarded.")

[CODE]...

But, I'm not sure how I can call the function with VB from my code behind page.

View 1 Replies

Javascript - UI Confirmation Not Firing The Event?

Feb 13, 2011

I am using jQuery confirmation box within my listView and the confirmation box displayed with the user clicks delete. The problem that I am faced with, is that when the user clicks OK it, the lvAlbums_ItemDeleting event is not fired.

Below is the .aspx code:

<link href="jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="jQuery/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
<script src="https://www.google.com/jsapi?key=" type="text/javascript"></script>

[Code].....

I have spent days looking at different jQuery confirmation box examples but this is the best I can do. Ideally I would want to be use [URL] within gridviews, dataViews and ListViews but can't find examples which exactly provide steps to follow.

View 1 Replies

.net - Send An Email Confirmation Link To The User?

Mar 20, 2011

I am developing a website where I need to send confirmation link to the user's e-mail account when he/she signs-up.

When user clicks this link then a field userEnable in database changes from "false" to "true".

How do I send a confirmation e-mail to a user when user clicks on the signup button.

When user clicks on this confirmation link then how would the field UserEnable change from "false" to "true"

I am using asp.net 4.0 with VB.NET as the language and SQL Server 2008 for my database.

View 4 Replies

Employee Deletion Confirmation - Dialog Result

May 30, 2012

Here's my
Dim result As New DialogResult
result = MessageBox.Show("Are you sure you want to delete " & LoadedEmployee.EmployeeFull_name & "?", "Employee deletion confirmation", MessageBoxButtons.YesNo)
If result = DialogResult.Yes Then
**code here**
End If
I'm getting the following error: Object reference not set to an instance of an object.

View 3 Replies

Forms :: X Button With User Confirmation To Exit Or Not

Sep 3, 2009

I am trying to close my application and I have coded on the form closing, form closed events to call an exit form which asks the user for confirmation to exit or not. All works fine. When I press the X button on the winform things act different. On the main form where I press the X btn I store some user ID data that I use throughout the app. If I press cancel on the exit form that data is lost from the main form and cannot be used afterwards. So if the user pressed by mistake the X btn and then presses cancel on the exit form the application loses some stored data and many functions stop working.

View 12 Replies







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