hi
this is my code for validation money type
[Required(ErrorMessage = "???? ???????? ?? ???? ????")]
[RegularExpression("^[+]?\d*$", ErrorMessage = "*")]
public decimal FirstlySum { get; set; }
if i enter very word for textbox i got this error
The value 'asdf' is not valid for FirstlySum.
the error message dosen't show.…
I had javascript code in a single JS file that was working fine (using XHR/AJAX). When I split it up into separate modules in a requirejs application, I do not seem to get a handle on the event object & it shows up as undefined (testing in firefox 29.0.1).
Calling module:
ajax.onreadystatechange = new ajaxResponse().handleAjaxResponse(e);
…
I want to take the control of the window
for exmple i want to force to external app to start minimized
I mean when i enter this command
myapp Firefox
Firefox starts but minimized
firefox is not important I mean i want to do it with any gui application
If yes
can any body show me the way?
Hi guys, is it possible to retain upon authorization a single session token for a user who signs into my gogle application. CUrrently my application seems to every now and then require the user to authenticate into google apps. I think it has to do with session dying out or so. I have the following code:
function getCurrentUrl()
{
global…
Ok guys I've downloaded the wikipedia xml dump and its a whopping 12 GB of data :\ for one table and I wanted to import it into mysql databse on my localhost - however its a humongous file 12GB and obviously navicats taking its sweet time in importing it or its more likely its hanged :(.
Is there a way to include this dump or atleast…
http://shikebali.co.cc
Its working fine on Firefox but started to act weirdly on IE as it used to work fine.
Anyone here to help finding what went wrong ??
Hi All,
I am dealing with a huge dataset consisting of key-value pairs. The queries are always in the form of range queries on the key space (keys are numbers) hence any persistent B-Tree like structure will handle the situation. I would like to use BDB-Java Edition but the product is closed source and my…
Hi guys - I need to show the ice land volcano ash cloud on a google maps site - is there any free open available in real time layer that I can apply using code ?
With parallelpython, I am trying to convert my old serial code to parallel, which heavily relies on objects that have methods that change that object's variables. A stripped example in which I omit the syntax in favor of simplicity:
class Network:
self.adjacency_matrix = [ ... ]
self.state = [ ...…
i have the following matrices
letter=[A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ...
a b c d e f g h ii jj k l m o p q r s t u v w x y z];
number=[one two three four five six seven eight nine zero];
character =[number letter];
Character becomes a matrix of 42 by 1464, but i would like…
Hi guys heres the scene - I'm building a web application which basically creates accounts for all users. Currently its setup like this the file structure:
root/index.php
root/someotherfile.php
root/images/image-sub-folder/image.jpg
root/js/somejs.js
When users create an account they choose a fixed group…
Hi,
I am creating a web application where I am required to transfer money from one bank account to another. Just like Elance does for example.
Any ideas how one would go about doing this?
In C# to use a TcpClient or generally to connect to a socket how can I first check if a certain port is free on my machine?
more info:
This is the code I use:
TcpClient c;
//I want to check here if port is free.
c = new TcpClient(ip, port);
I want to show MapView on PopupWindow and get error when press-on Map.
Please help!
Liste.java
MapView mapView;
View view;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.liste);
LayoutInflater mInflater =…
Hi,
How can I have multiple properties in my usercontrol that can be databound? For a single property I have found that DefaultBindingProperty Attribute does the trick but I have no idea on how to get databinding with multiple properties.
Hi guys this is a followup from the question:
http://stackoverflow.com/questions/2583928/prefilling-gmail-compose-screen-with-html-text
Where I was building a google apps application - I can call a gmail compose message page from my application using the url:
…
I Wrote an Http Module that checks if logged user is restricted disables images on the page.
void application_AuthorizeRequest(object sender, EventArgs e)
{
.
.
.
if (context.User.IsInRole("Restricted"))
{
context.Response.StatusCode = 401;
…
Consider the following two scenarios:
//Data Contract
public class MyValue
{
}
Scenario 1: Using a static helper class.
public class Broker
{
private string[] _userRoles;
public Broker(string[] userRoles)
{
this._userRoles = userRoles;
…
Hi
I am using prestashop as the cart for my website. I have a problem; the website used to be in dynamic urls. I enabled friendly url writing. The problem is that one page has more than one url. You can access a same page from the dynamic url and static url. In…
hi
I am working on silverlight application which uses EF. I am able to retrieve the data. But I want to execute a stored procedure which returns no value. I tried using Import function. and the function is created in DataModel.Designer.cs :
public int…
Hi,
i am developing a window form application i have to add window media player in form so that a user can play video on spot just clicking on media player play button.
Can anyone tellme how i can achieve that functionality just tell how to add it in…