Hi
I have 3rd party user control (a captcha control), which has a captcha image, a text box within it.
I am using the above user control in my webpage. I have a 3 submit buttons on my webpage (Validate Captcha, Submit Page, Add User). When I click the Validate Captcha submit button using the mouse, I am validating whether captcha is em...
Hi, i have developed an internet explorer toolbar or BHO that i would like to be displayed by default after i install.
Currently after i install and register the toolbar it will available in IE but not shown by default. I have also noticed that if i manually show it and exit IE, the next time it will have remembered its shown status.
U...
A HTML page is created using JSF and facelets (xhtml). There are 2 h:forms that goes to different places. The user enters data on one form and presses the "Enter" key.
Here is where it gets tricky. On IE 6 and above, either the forms action gets submitted (which usually points to the page you are on) which then just reloads the page, or...
hi,
I need to set a string stored in registry as the default location of a setup file how to do in vb.net (visual studio 2008) Urgent please help me...
...
Hi all,
I have my templated container class that looks like this:
template<
class KeyType,
class ValueType,
class KeyCompareFunctor = AnObnoxiouslyLongSequenceOfCharacters<KeyType>,
class ValueCompareFunctor = AnObnoxiouslyLongSequenceOfCharacters<ValueType>
>
class MyClass
{
[...]
}
Which means that ...
Hi,
In HTML forms, if you press 'enter' while in a text field the form will generally submit.
I'm implementing a search panel in Java Swing, and I want to include the same functionality as I think users will be expecting this.
I know that it's possible to use setAction on a JTextField to accomplish this, however I was wondering if the...
I'm having a folder which will contain only one tiff file at a time, so the moment i receive one i should be able to print it to the default printer, i have a small windows application which is looking for any tiff files in the particular folder i just have to print it to the default printer the moment a tiff file is received,
how to do...
Hello,
I'm very new to C# so please bear with me...
I'm implementing a partial class, and would like to add two properties like so:
public partial class SomeModel
{
public bool IsSomething { get; set; }
public List<string> SomeList { get; set; }
... Additional methods using the above data members ...
}
I would like to i...
I've already set default homepage for "www.mydomain.com" sucessfully.
Now, I want to set default homepage for "sub.mydomain.com", but it throw 404 page if i don't type "sub.mydomain.com/default.aspx" ?
The first and the second site are separate physical folders and virtual directories on iis7.
...
If I want a method that returns the default value of a given type and the method is generic I can return a default value like so:
public static T GetDefaultValue()
{
return default(T);
}
Can I do something similar in case I have the type only as a System.Type object?
public static object GetDefaultValue(Type type)
{
//???
}
...
Hi,
I'm a complete newbie at WPF.
At the moment I'm making a usercontrol for form elements called "LabeledTextbox" which contains a label, a textbox and a textblock for errormessages.
When the using code adds an errormessage, I want to put the border of the textbox in red. But, when the errormessage gets removed, I'd like to turn ba...
I have a Django model with some fields that have default values specified. I am looking to grab the default value for one of these fields for us later on in my code. Is there an easy way to grab a particular field's default value from a model?
...
Hi,
I would like to supply my regular expression with a 'default' value, so if the thing I was looking for is not found, it will return the default value as if it had found it.
Is this possible to do using regex?
...
Have a source xml document that uses namespace containing prefixes and a default namespace. When I transform it using a XSLT doc, the resulting translated xml document is incorrect, that is, element data from the source xml document is missing.
When I remove the "default namespace" from the source xml document, the transformation works...
Hello,
i want to let my batch file CMD set itself as the default opener for a certain extension.
Can anyone give me a code for this???
...
I use this : myButton.setBackground(myColor) to change the button background color to my color, how to find it's original default background color so I can change it back ? I know I can save it's default background color before I change and use that, but I wonder if Java stores it some where so maybe I can call something like : myButton....
Can I use java.util.Properties with encoding different then default?
...
Is there a way of setting or overriding the default DateTime format for an entire application. I am writing an app in C# .Net MVC 1.0 and use alot of generics and reflection. Would be much simpler if I could override the default DateTime.ToString() format to be "dd-MMM-yyyy". I do not want this format to change when the site is run on...
I'm using gridview with templates to show and edit some information from a sql database.
When I edit and change the data in that row and then click enter it automatically presses the highest on page button which uses submit to server set to true which means it'll try to delete instead of update.
I've have tried setting a panel round th...
If I remember correctly Python ships with Tk as it's standard framework. What's Ruby's default?
...