My problem is related to using the JQuery Tools Tooltip Plugin (http://flowplayer.org/tools/tooltip.html) on items with tooltips that are refreshed in asp.net UpdatePanel controls. The problem is that after the tooltips have been added, any partial postback from an UpdatePanel will cause the tooltips to stop working in any of the UpdateP...
MSDN states that
String.Intern retrieves the system's
reference to the specified String
and
String.IsInterned retrieves a
reference to a specified String.
I think that IsInterned should have returned (I know it doesn't) a bool stating whether the specified string is interned or not. Is that correct thinking ? I mean i...
Below is the code for Ctrl-F (from another SO post). But how do you detect a Ctrl-ForwardSlash? or Ctrl-Slash (note: divide does not work)
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (1 == 1) //keyData == (Keys.Control | Keys.F))
{
MessageBox.Show("What the Ctrl+F?");
...
I have the following code that loads a user's Active Directory DirectoryEntry object from the user's SID:
public static DirectoryEntry GetUserDirectoryEntry(SecurityIdentifier sid)
{
return new DirectoryEntry(string.Format("LDAP://<SID={0}>", sid.Value));
}
Is there a more efficient way to do this? I'm having to optimize my code b...
Hello
1) I use Visual Studio 2008 (C#)
2) I want my desktop application to "remember" certain settings (preferences) for every user individually.
3) The application would use its own database of users (logins + passwords), so they have nothing to do with Windows accounts.
How can I accomplish that? Trying to find an answer
4) I've fo...
Hi,
I'm using db4o for a simple app, with an embedded db. When I save an object, and then change the object, is it suppose that db4o returns the changed object?
Here's the code:
[Test]
public void NonReferenceTest()
{
Aim localAim = new Aim("local description", null);
dao.Save(localAim);
// changing the loca...
If I was to develop a workflow hosted in WCF using .NET 4.0, is there anything that will prevent me from accessing it using a 3.5 SP1 based client or website?
...
An int (Int32) has a memory footprint of 4 bytes. But what is the memory footprint of:
int? i = null;
and :
int? i = 3;
Is this in general or type dependent?
...
Recently I became aware that there are some parts in the BCL that still use some "legacy" code that was probably written before generics were introduced in v2.0 of the framework.
Apparently, parts of that "legacy" code may cause the CLR to perform numerous boxing/unboxing operations.
Since excessive usage of boxing is never a good thing...
I'm trying to use the System.Diagnostics.Process class to run a Perl script from within an ASP.NET application. The Perl command runs fine when I type it into the command line, but when ASP.NET tries to run the same command it doesn't work.
I suspect it may have to do with input and output stream. The Perl script takes a long time t...
I have a class library containing several structures each consisting of several value and reference types. Most of the value types are mandatory, a few value types and all reference types are optional. All structures are XmlSerializable (which is mandatory).
As far as the class library is targeted to mobile devices I want to reduce the ...
All,
I have a result set with a parent "YourName" record and parent "module_viewed" records. I also have multiple child records, "modules_completed" per parent record. What I need is to be able to display in one horizontal row "YourName", "module_viewed", and then the several "modules_completed" records associated with each of these pa...
MSDN docs say that only value types need boxing, but this does not apply to string, which is a value type and does not need to be boxed. I initially tried Type.IsValueType, but since that returns true for string, I can't use it to determine whether a type really needs to be boxed. Are there any other methods you are aware of? Is string t...
I'd like to add an item into the right click menu (like TortoiseSVN does, or 7zip etc...)
I'm not sure how to do this or what it is specifically called.
It would be preferable if this option was only available while my program was running.
Use case:
User would select some text on a webpage (or word document or anything on their compu...
I am using Tier Developer by alachisoft for OR Mapping .It is not effective as well as flexible.Please suggest me a mapping tool for dot net which is free/open source.It would be great if I get the nae of the most preffered tool.
...
I was wondering if there was a function in user32 that could enable a hwnd control if it is disabled (grayed out) If I know the handle then can I do this? Also, if it is a menuitem, can it be done too?
Thanks
...
Hi
What is the difference between those 2 files? Like I know they are for intellisense for Visual Studios so why would need 2 versions of it?
Like is the difference between jquery and jquery minified just they remove the comments out and spacing?
So why would you need a special one for intellisense?
...
Hello is there a class that does a pretty conversion? Thanks.
...
I can't figure out the use for this code. Of what use is this pattern?
[code repeated here for posterity]
public class Turtle<T> where T : Turtle<T>
{
}
...
I want to have something on my site that follows the mouse around, sort of like how Windows 7 does it.
Like in Windows 7 when something is loading up a little circle comes and follows the mouse.
I am using the jQuery library so I know I can use Ajax Start and Stop to make it appear but am not sure how to make it follow the mouse around...