I have a WPF user control with the following...
a) A ListBox on the left of the screen
b) A TextBox on the right of the screen
c) A ScrollViewer around both
When my mouse is over the TextBox and I use the scrollwheel, the TextBox scrolls. When I scroll to the bottom of the TextBox the ScrollViewer then takes over and scrolls.
When my mouse is over the ListBox and I use the scrollwheel, the...
User Profile
Collapse
-
Telinstryata started a topic WPF: Scrolling the screen using the scrollwheel when mouse is over a listbox.in .NETWPF: Scrolling the screen using the scrollwheel when mouse is over a listbox.
-
Which version of SQL Server are you using, and are you copying into a new excel file or are you trying to copy into an existing excel file? -
Getting unmapped records with mapping table query
I have 3 tables for visits. "Visits" holds the visit information, "ReferredBy " holds the different types of referred-by info, and VisitRefByMap maps the two together in a many-to-many relationship.
Visits: VisitId, AccountId, TypeOfVisitId.. .
ReferredBy: RbId, RbDescription
VisitRefByMap: VisitId, RbId
I am trying to get a count of how many of each type of "referred-by" are... -
try 'rollNo <> '
!= is C# syntax for "not equals"
<> is SQL Query syntax for "not equal"
Also, put your code in code tags like the following, so it's easier to understand.
...Code:Imports Microsoft.Office.Core Imports System.Runtime.InteropServices Imports System.Data.OleDb Public Class Form1 Dim cmd1 As OleDbCommand Dim
Leave a comment:
-
Thank you very much for the work you put into this.
I was sort of hoping that I would be able to come up with a solution that I can place in a base class and everything would be handled automatically. So, no JS function calls needed on every link/button, no hidden fields on every page. It's really a catch 22. If I put my code in the PreLoad the ViewState can be read, but by that point it's too late to set the culture. If I put it in...Leave a comment:
-
Sort DataGridView in order in which values were added to what?
Do you want them in the order they were added to the DataGridView or in the order they were added to the DataSource or the order they were added to your database?Leave a comment:
-
Basically, I need to create a website that is available in both English and French.
1. The user is started with a page that lets them choose their preferred language.
2. Once in the application they can switch their language and all it does is switch the language of their current page.
Currently, I store the selected language is a Session variable and then set the culture of the page to their selected language,...Leave a comment:
-
Don't know for sure if this will work, but in T-SQL you can put a GO between statements to make sure that previous statements finish before starting the next statements. I don't know if you can use GO in a query like this (because I've never tried) but try something like the following...
"CREATE STATEMENT; GO; SELECT STATEMENT;"Leave a comment:
-
Could be. *nix OS's use CR as the end of line character, but Windows uses CR/LF instead. If the LF's are being removed by the FTP, then a windows text program will show it as one line of text.Leave a comment:
-
Are you using the same application to view the XML file on your local machine and the FTP location?Leave a comment:
-
ASP.Net ViewState and InitializeCulture
Is there a way to read the ViewState by using Request.Form("_ _VIEWSTATE")? I want to read a value from the ViewState during the InitializeCultu re function, but the ViewState object isn't initialized until after the Init portion of the ASP.Net Page Life Cycle. The following code always crashes once the Session times out, because the ViewState is always Nothing until after the Init portion.
...Code:Public Property CurrentUICulture()
No activity results to display
Show More
Leave a comment: