What is the best practice to load an UserControl into an Window with MVVM-Light?
Where create the UserControl instance, in the ViewModel from Window or direct in the window?
What is the best way to turn strings like "red", "green", "yellow", "aliceblue", etc... into the actual System.Drawing.Color value?
I was looking at reflection and something about that didn't seem right.
I would like to know if there's exists some simple code to get to the page i know its ID , I would like to create small input (no matter where in templates)from where the people can easily get to the page if they know it's page ID . I have the girls portfolio in wordpress - portfolio=pages x jobs in clubs offers=posts , I would like the girls portfolios to be easily findable by ID(s) , if possible the same for the posts=jobs in clubs
The best solution little numeric input and send button
I am using Lucene .NEt to do full-text searching. Till now I have been indexing PDF docs, but now I have a few webpages that I need to index. What's the best/easiest way to index HTML documents to add to my Lucene index? I am using .NET/C#
Hey all,
I've got a few books and helpful guides to Perl from my company's scripting guy, but I can't seem to find where the best IDE for Perl is.
Mind you, simple is better. I'm just learning for now.
Thanks in advance!
How do I block main navigation on (mainpage.xaml) as in all silverlight navigation application and block page's controls ( i.e whichever page is it in ) during async webservice calls? Any best practices?
I'm used to the Java model where you can have one public class per file. Python doesn't have this restriction, and I'm wondering what's the best practice for organising classes.
I am building a .NET application that given a connection string, at run time, needs to be able to retrieve information from the corresponding database schema, such as available columns, datatypes, and whether they are nullable.
What is the best way to accomplish this? Has anyone done anything like this before?
Many thanks, Nigel.
Hello,
I would like to know what is the best solution to create simple menu with functionality described below (pseudo code) just like im used to:
while (true){
x = readLine();
case (x):
x == "1" then do sth1 function
x == "2" then do sth2 function
}
thanks for help, maybe any other ideas on how to make menu not in pattern described above?
A quick, fun question - What is the difference between a function declaration in C/C++ and an else-if statement block from a purely parsing standpoint?
void function_name(arguments) {
[statement-block]
}
else if(arguments) {
[statement-block]
}
Looking for the best solution! =)
HI,
I am using the MVCContrib grid and I would like to display images depending on the values of a column, e.g.:
if the column's value is null display the image "<img src="true.gif">"
otherwise display the image "<img src="false.gif">
Furthermore I would also need (this should be the same approeach I think) to display different actions depending on the column's/rows' value ...
Thanks in advance for your answers!
Best regards
Stefan
Hello, I'm trying to Start command promt process with args. Now I want to obtain information about errors if they exist.
someProcess = System.Diagnostics.Process.Start(cmd, someArgs);
Best regards, loviji
hi all
i want to make a web site to act as a monitor to a certain table in data base or act as a listenter on that table
eg lets say i have table employees
i want to make a web page that listen to changes occurs on that table (all DML operations)
whenever a record is inserted i want this page alert me that a "1 row is inserted in table employee",or updated i want to get an alert " row number xx is updated" and so on
so what is the best practise to do so
thnx
Using jQuery, what's the best way to automatically initialize a plugin on all current and future elements of a specific class?
For example, say I want all <input type="text" class="datepicker" /> elements to have the jQuery UI Datepicker plugin, including any I might create at runtime.
Essentially, I want to do something like this:
$('.datepicker').live('create', function() {
$(this).datepicker();
});
But, of course, there isn't a create event I can use.
How can I add a string as a file on amazon s3.from whaterver I searched , I got to know that we can upload a file to s3.what is the best way to upload data without creating file.?
I have a win32 GUI (MFC) application which I need to port to a WIN CE environment. I keep encountering undefined identifiers. What is the best way to deal with this- is there some site where i can get a mapping of some kind between win32 supported features and corresponding wince features (even if they are not supported, the information that they are not is valuable)
I am working on some reusable Android code that I would like to distribute to other developers for use within their own applications. The code has some resource dependencies (layouts, xml & png drawables) that I would like to be able to include and reference within a single package (Jar file).
Is this possible, and if so what is the best method to do this?
How do you test the usability of the user interfaces of your applications - be they web or desktop? Do you just throw it all together and then tweak it based on user experience once the application is live? Or do you pass it to a specific usability team for testing prior to release?
We are a small software house, but I am interested in the best practices of how to measure usability.
Any help appreciated.
Hi,
i have added the below xsl:output tag in xslt
<xsl:output method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" </xsl:output
as a result i get the below doctype tag in the html output-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
how can i mention the url in the doctype tag using xsl:output which would output a doctype tag that looks like below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "_http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
Best Regards, Keshav
i'm interested in picking up silverlight as another tool to use when appropriate, and i'm looking to get some suggestions on the best way to get started.
i have visual studio 2010, and can purchase expression blend if necessary (is it out of beta?), though i haven't quite been able to grasp the relationship between them.
are there any good books, tutorials, blogs etc that i should use to familiarize myself with silverlight 4?
Hi,
I use Entity Framework V4 and i want to update Customer who have Visits.
My code :
EntityKey key;
object originalItem;
key = this._modelContainer.CreateEntityKey("Customers", customer);
if (this._modelContainer.TryGetObjectByKey(key, out originalItem))
{
this._modelContainer.ApplyCurrentValues(key.EntitySetName, customer);
}
this._modelContainer.SaveChanges();
It works for Scalar Property only. The customers.Visits collection is not updated.
Best Regards :)
My users upload Word 2007 documents to our site and I'd like to load them into a rich edit control of some kind so the users can make modifications/ comment, etc.
What mechanisms are available to:
load the Word document via ASP.NET, and
parse/format/display the document in a rich editing control?
Also, what kinds of rich editing controls are best to use in this circumstance?
I would like to implement a naive bayes classifier for spam filtering from scratch as a learning exercise. What would be the best langauge of the following to try this out in?
Java
Ruby
C++
C
something else
Please give reasons (it would help greatly!)