hi,
how to remove the extra column that comes default in datagrid silverlight 4.0
is there any good links to designing(css) data grid in silverlight 4.0
thanks in advance.
prince
Is it possible to add a trailing slash to the default context of an application?
Example:
http://www.uri.com/foo -> http://www.uri.com/foo/
I added the following redirect to the server properties:
redirect_1: from=/foo url-prefix=/foo/
and this ends up in a loop...
Several other configurations also didn't work :-/
I'm using glassfish v2.1-b60e.
I'm looking for a Python IDE that can help me easily locate and manage and use the libraries on my system (Ubuntu). Specifically Twisted.
Code completion is important including the symbols I import.
(I've so far had a look at PyDev as well as OpenKomodo, but while both offer code completion for default Python concepts, I wasn't able to get either to import Twisted into my project and was thus getting reference errors.)
Usual disclaimer: I don't like EMACS or vi, please, nothing regarding those.
I wonder how to list the content of a tar file only down to some level?
I understand tar tvf mytar.tar will list all files, but sometimes I would like to only see directories down to some level.
Similarly, for the command ls, how do I control the level of subdirectories that will be displayed? By default, it will only show the direct subdirectories, but not go further.
by default PHP will not handle file uploads larger than 2MB, if one requires PHP to handle larger files then one must set upload_max_filesize and post_max_size in your php.ini file to be larger than 2MB.
what alternative if one uses a shared hosting service with no access to php.ini ?
I have seen in some other questions that using Session_ End() in Global.asax.cs is not advised. This is because if you're not using the default Session handler, Session_End won't get called, correct? Is there any other cases where it won't get called?
The big question is: If you can't depend on Session_End(), what do you do to determine when a session has closed?
I'm doing an application who can play podcasts, but i feel more comfortable is the iphone default podcast application plays itself, instead of me having to handle them.
Passing the url to the sharedApplication object , safari opens and starts playing it .. but i'd like to skip the user seeing safari .. is there any way ?
Thanks.
how to keep the document status as Checked out when it is uplaoding to sharepoint site?
Means , I want that , when i will insert any document to specific document library of sharepoint site , then how shold i can keep its status as Checked out rather than checked by default
The default methods for dealing with xml in c# seem incredibly crude to me, leading me to suspect that I must be missing something in my searches. What is considered the standard best practices to parse xml files in c#?
I want to be able to display an HTTP 500 error with an XML builder template if the request Accept type is asking for XML. By default it displays 500.html, even if the request type is not asking for an HTML response.
I have read and executed following instructions found on GWT pages
But somehow the "[none]" form does not return the correct output, rather it returns the default output.
While all the other like [one], [two], [many] work perfectly fine.
Has anyone come across this problem, and how can I solve it?
I am currently exporting Drupal data to an external source (XML) programmatically. However, I want the data to run through the site's default Input Format (the filter that runs before user content is displayed on the website) before being written to file.
How do I programmatically apply a Drupal input filter? Is there a specific function call or hook for this purpose? If so, links/advice would be most appreciated.
I have recently started learning Python and I have 2 questions relating to modules.
Is there a way to obtain a list of Python modules available (i.e. installed) on a mchine?
I am using Ubuntum Karmic and Synaptic for package management. I have just installed a python module.Where is the module code actually stored on my machine? (is there a default [recommended] location that modules are stored)?
I have created a new control VidController
public class VidController : Controller
{
public ActionResult GetVids()
{
return View();
}
}
Right clicked inside the method and created View with default name GetVids. Now when i try to open ~/VidController/GetVids there is no page opening...
What i have to set in Global file?
I'm trying to hide the "Server" header returned by Apache on every request, from Varnish.
Using in sub vcl_fetch:
unset obj.http.Server;
on Varnish start I get:
Expected action, 'if' or '}'
(/etc/varnish/default.vcl Line 43 Pos 9)
unset obj.http.Server;
--------#####-----------------
Any ideas?
is there a way to change the order data from a DB are read ? you know , the default order is that they are read from the first data inserted to the latest so is there a way to change it to latest-first?
I am checking to see if a value in a related table exists quite often in my view, in this case, expenses have approvals. If they have not been submitted, then there is no record of them in the approvals table.
I am ending up with some really awkward code
<% if !expense_item.expense_approval || expense_item.expense_approval.approval_status == 0 %>
Is there a way to do an if statement on a value, without having to check if it exists first? Or some default way to set it nil?
So I have image on my html page. I want uipdate it 14 times per second smoothly (with some default Jquery effect) (update image with one from URL same as image has ... or refresh if it sounds better) How to do such thing?
I have a form for creating a new account and it has a password field in it. I'm using view models to pass data to the controller action and back to the form view. When the user enters their details in, and clicks submit, if validation fails and it returns them to the same view passing back in the view model, it won't default the password to what they entered.
How can I get it to do this? Or should I even try?
I want to apply a 3px top left & top right radius border.
How can I do this across all browsers (e.g. IE, WebKit, Mozilla)?
And if the browser doesn't support the border-radius attribute, just default to no radius (square corner).
I am thinking about setting the
php.ini, my.cnf and httpd.conf default charsets=UTF-8
The website is in swedish lang only.
I have some folders with special chars in them, also some files.
Is there any harm by doing this?
Is it cross-browser safe?
Thanks
I want to make my Python Class behave in such a way that when any Class method is called a default method is executed first without explicitly specifying this in the called Class. An example may help :)
Class animals:
def _internalMethod():
self.respires = True
def cat():
self._internalMethod()
self.name = 'cat'
def dog():
self._internalMethod()
self.name = 'dog'
I want _internalMethod() to be called automatically when any method is called from an instance of animals, rather than stating it explicitly in the def of each method. Is there an elegant way to do this?
Cheers,
Hi,
How can I create a custom context menu on windows title bar (like in Opera 10 or Firefox 4) that works on Windows XP and above?
https://wiki.mozilla.org/images/e/e8/Firefox-4-Mockup-i05-(XP)-(Royale)-(TabsTop)-(Default).png
Thanks in advance,
Josh