Click here to Skip to main content
15,891,136 members

Comments by Sean A. Hanley (Top 4 by date)

Sean A. Hanley 12-Feb-12 9:38am View    
The InternetGetConnectedState method is good, but since it only determines if there is some kind of LAN connection, I like to follow-up with InternetCheckConnection and pass in a URL to something I know will confirm they can actually connect to an external server.
Sean A. Hanley 27-Jan-12 18:18pm View    
Assuming he means WPF, I know with some scrollable containers you can influence the smooth-scroll/line-by-line-scroll behavior by manipulating ScrollViewer.CanContentScroll but this only works when the list contents is virtualized and has some kind of discrete list of things to scroll (i.e. other WPF controls)... with text, well... I think SAKryukov is right, there ain't a good way, really.
Sean A. Hanley 29-Nov-11 11:52am View    
Are you wanting to use the clipboard on the server for something? If so, that seems like a bad idea at first glance. If you want to manipulate the user's clipboard, I'm afraid you can't from ASP.NET. Most sites end up having to use something like a small embedded Flash piece to do it, as browsers do not (for security reasons) expose any clipboard functionality to JavaScript/HTML to my knowledge.
Sean A. Hanley 1-Mar-11 23:18pm View    
The question is tagged ASP.NET so we must assume he means System.Web.UI.WebControls.Repeater