I've got a big UIView that responds to touches, and it's covered with lots of little UIViews that respond differently to touches. Is it possible to touch anywhere on screen and slide around, and have each view know if it's being touched?
For example, I put my finger down on the upper left and slide toward the lower right. The touchesBegan/Moved…
I'm trying to use the Html.DropDownList extension method but can't figure out how to use it with an enumeration.
Let's say I have an enumeration like this:
public enum ItemTypes
{
Movie = 1,
Game = 2,
Book = 3
}
How do I go about creating a dropdown with these values using the Html.DropDownList extension method? Or is my best bet…
We are using a jquery accordion on our site : http://www.racedayworld.com
It basically lists events under each month...
Apparently people are finding difficulties knowing how it really works and they don't see at first glance that there are more events under each month (that you click to expand)
So I was thinking about opening two at a time…
I am relatively new to ASP.NET programming, and web programming in general. We have a site we recently ported from .NET 1.1 to 3.5. Currently we have two methods of error handling: either catching the error during data load on a page and displaying the formatted error in a label on the page, or redirecting to a generic error page. Both of these…
When creating a new Rails project using:
rails sample
Then creating a model using:
script/generate model person first_name:string last_name:string
Everything is fine. However, if I add any gems to my environment.rb:
config.gem "authlogic"
And run the same generator, I get the following:
…
I need some advice on technique to perform page redirect in asp.net. Which one is more recommended to use in asp.net?
Dynamically changed the src of the Iframe to difference aspx.
Dim frame As HtmlControl = CType(Me.FindControl("frameMain"), HtmlControl)
frame.Attributes("src") = "page1.aspx"…
I have a folder within a site that is a seperate web app than the parent. Both are working fine, but when I go to the domain.com/folder/ path, I would like it to forward me to domain.com/folder/index.htm for consistency. This is the htaccess rule I was trying, but it wasn't working for me and I…
can someone PLEASE point me in the right direction
all i want to do is simulate a mouse click in a video game that is minimized
the video game i am doing this for allows macroing like this, so its all good
however, the game uses directinput so using postmessage and sendmessage is not working
for my app each annotation on a map corresponds to a mine locality. each mine has its own unique 7 digit integer identifier. I'm trying to add the property minesEntryNumber to the annotation so when the annotation is clicked on later I can bring up specific information on the selected…
This questions involves 2 different implementations of essentially the same code.
First, using delegate to create a Comparison method that can be used as a parameter when sorting a collection of objects:
class Foo
{
public static Comparison<Foo> BarComparison =…
I'm developing my first web-app, and I'm working through logistics.
New users (At first login) need to complete a few things before they can use the app fully.
For example, they need to complete their profile before they can move on to step 2, which is taking a test.
…
Hi,
I am using animations with my window to slide out or slide back up.
But when these animations are not used.
I would like to use Window.Top to set the position of the window,
but I think due to animations I cannot set the top.
I was wondering if anyone knows how to…
I am using search logic to filter results on company listing page. The user is able to specify any number of parameters using a variety of named URLs. For example:
/location/mexico
/sector/technology
/sector/financial/location/argentina
Results in the…
cipher.h cipher.m are developing a module has.
NSData value of the encrypted value problem as follows. : <0b21kck 0v35919 sk2910
As the purpose of encryption is to be sent to NSURLConnection String value.
NSString value to NSData encrypted so I think it…
I have a large website that I am moving into a new framework and in the process adding git. The current site doesn't have any version control on it.
I started by copying the site into a new git repository. I made a new branch and made all of the changes…
The definitive reference for using Scala on android seems to be here: http://www.scala-lang.org/node/160
Unfortunately, all the references on using scala with android are based around Scala 2.7 and refer to a custom build android-library.jar, with a…
I'm new to app development and CI as a whole, so I've got an oodle of questions.
What is profiling?
How is it used?
How does it work?
What is considered a "long" time?
More importantly,
How do I use it to improve performance?
We recently put out an update of one of our apps with a "test" DLL from a third party. The third party does not update their assembly versions on the dll's, only the file versions, so multiple apps can reference different "versions" of it. However,…
What's a good way to validate phone numbers being input in codeigniter?
It's my first time writing an app, and I don't really understand regex at all...
Is it easier to have three input fields for the phone number?
Recommendations and…
Can anyone explain if it is possible to have a web server for all of these technologies:
ColdFusion, PHP, MS SQL Server, MySQL
I have a web developer insisting that they require all of the above however it doesn't quite make sense to…
i am getting this error in my apache2 log
[Tue Apr 06 09:00:56 2010] [error] [client A.B.C.D] request failed: URI too long (longer than 8190)
what setting can i change to increase this limit?
How do I submit a form that can do two different things based on the URI?
For example, if the URI contains a string "new" the form will submit differently than it would if "new" were not in the URI.
I'm having trouble implementing…
Hello Stackoverflow
my code is getting this error:
Skriv din alder herunder og tryk enter:
Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:907)
at…
Using the code below (from a console app I've cobbled together), I add seven columns to my datatable. Once this is done, how can I set the data type for each column? For instance, column 1 of the datatable…