Is there a way to determine whether a WPF DataGrid is in edit mode / which row is currently edited?
EDIT
Duplicate: http://stackoverflow.com/questions/3248023/code-to-check-if-a-cell-of-a-datagrid-is-currently-edited
...
I have created a strongly typed dataset in the VS 2005 Dataset Designer.
There are two tables that relates to each other in a one to many relationship: Claim and ClaimDetail. The designer automatically creates a function GetClaimDetailRows which returns all ClaimDetailRows for a ClaimRow. Why is this Array's length always 0?
Because Cl...
Need that for ASP.NET site, preferable C# but VB will be just fine.
title says all. I guess we all get into situation like this one on daily basis. Pager as UI is useless if there is less than PageSize items in DataObject binded to ListView or other types of Dababindable objects.
So the question how to disable it////
...
I have a list with a boolean value as one of the properties. I need to check if every one of these is true. Now normally LINQ would give a nice clean answer here, but as I am using .NET 2.0 I can't use that.
If there a nicer way to do this or am I going to have to do a for each loop and break out on finding a false?
Edit:
Seems I cou...
Please help me I'm getting desperate here trying to find the problem, and I don't know where to start looking for it.
Here are the symptoms:
I've noticed, that when a user logs on in the morning, he is then immediately logged off, then when he logs on again, everything is fine and he can work on the site.
Every once in a while, when t...
I'd like to make a button or link that launches a remote assistance request to a designated computer. Is it possible to just do this through the command line? If not I'll use vb.net. Thanks!
...
I'm working on a .NET component that gets a set of data from the database, performs some business logic on that set of data, and then updates single records in the database via a stored procedure that looks something like spUpdateOrderDetailDiscountedItem.
For small sets of data, this isn't a problem, but when I had a very large set of ...
i have 2 vb applications. this is the code for the first one which when a button is clicked it will check if the other application is already open. If not, it'll open that application -
Dim sComputer As String
sComputer = Environ("COMPUTERNAME")
Dim LocalByName As Process() = Process.GetProcessesByName("ticket.prices", sComputer...
I have a base class ("MyBaseClass") in a project called "BaseFramework" which is included in several solutions within the company. There are several derived class's in various projects throughout the company that inherit from "MyBaseClass". If I then create a List and add derived class's to it, it will not serialize. I realise that if I...
--Update--
I have to admit that I was sceptical it would work... but below is the code. I had to make a minor change to the code you suggested. Whenever I tried IPC$ it would return a 53 result code, even though I'm sure the share exists. So at the suggestion of another website I removed the share and just the computer name and this ...
Hello,
I have some checkboxlist like this:
<asp:CheckBoxList ID="G1" runat="server">
<asp:ListItem Value="Comunicações Unificadas" Text="Comunicações Unificadas - UCoIP"></asp:ListItem>
<asp:ListItem Value="Gestão Documental" Text="Gestão Documental - iPortalDoc"></asp:ListItem>
...
I'm creating an ASP.NET Custom Control for my web application which is basically an ASP.NET Button control contained inside multiple <div> elements (for styling purposes).
How can I create a Click event handler for my custom control so that my control acts as an ASP.NET Button?
Ie.
<cc:Button id="myButton" runat="server" Text="Submit"...
In a VB.NET Windows Forms application how do I add the capability for someone to click a button or image and open a file browser to browse to a file and assign it's path to a variable so I can copy that file to another specific path?
...
I have a database with 1,000,000 records and a query like this:
select count(code) from table1
It works well on the local system but becomes very slow on the network. Other queries like select * from table execute quickly, but select count(code) from table1 is very slow. I can't change the database's structure. My database is Foxpro a...
okay I want to fill an online form using vb2010, but the problem is that it doesn't have ID:
<form class="dailiesAnswer-input dailiesForm" action="">
<textarea style="height: 44px;" class="dailiesAnswer-text-area">ANSWER HERE</textarea>
<input class="submit-button" value="Submit" t...
I have a VB.NET windows application in which I'm using Outlook's contacts as my address book to get a list of email addresses. I'd like it to use Outlook as the address book, but if an Outlook mailbox has not been set up or there are no contacts then I don't want Outlook to come up at all. The problem that I'm having is as soon as I try ...
i havea dropdwonlsit (loads on the page_load event) and a unbound CheckBoxList is based on the selection from DropDownlist, the checkboxList is display CheckBox (might be one or two or three or any numbers)..... i just want to know after the page is loaded on the browser and user click on the checkbox's, i need a way to know what checkbo...
Is it possible in VB.NET to easily write an event handler that will handle every event that fires? I'm wondering if one could make a logging system using something like this.
I'm wanting to do something like (in pseudocode):
Public Sub eventHandledEvent(ByVal sender As Object, ByVal e As EventArgs)
File.Write(sender.EventName)
End...
I'm developing an app that should allow the client to add several content sections to a page (in tabs). However I haven't found a way to easily create a form for editing the tabs.
Assume for now that a tab just contains a title. I have a form that adds a tab, that's simple. But I also want a form that displays a text input for each tab ...
I try using Icon.Visible = True. But it will only show icon in the taskbar for a brief period of time before Windows will hide it automatically. How to programmatically make show icon permanently?
The effect is the same as doing it manually, by click on task bar icon button -> Customize Notifications and set behavior to = "Always Show ...