I have a grid where i can select multiple item to another grid.Now my ques is if i select multiple item and when i double click it,so only the item on which the mouse focus should get selected.
Hey guys,
i've got 2 GeoPoints given to show them on the map with markers...
so far so good...
how can I get the optimum zoom level for the MapController in order to focus the middle of both points, but also have them on the map.
The whole thing should work at different screen resolutions.
Sorry for asking that silly question, I know thats not very difficult, but at the moment my head is boiling :/
function ram(){
document.write("Hello World!")
alert("ok");
}
India
Autralia
England
Ameriaca
Pakistan
In this above code the event will not fire for combo box ..i try by using focus and click event....i can i do this....and i want 1 more thing if i select combo box value as India,i want to create a combo box with state(elements are TN,DL..) updation...
Can anyone list the specific and detailed steps to configure mc.exe (the message compiler) to compile a .mc file into a .rc file as a custom compiler step in VC++ 2010?
I am really lost on how to do this.
How would I write a program that reads 3 columns and each column has 100 numbers of type int one at a time in c++ ? I'm lost after this:
int file1[100];
int file2[100];
int file3[100];
I had to restructure the projects in SVN as it was not added as per the recommended repository structure (no tags, branches and trunk folders). However after moving projects to the new structure we have lost the history of all the files.
How can I get back the history of all the files?
I am trying to create in c#, an alphanumeric counter that creates numbers in the following way:
0001
0002
0003
...
9999
A000
A001
...
A999
B000
...
I am lost on how this can be done.
I'm using layout xml file for the UI. But the images are compressed and the qualities have lost in some level.
My code is like this:
<ImageView
android:layout_width="480px"
android:layout_height="717px"
android:layout_x="0px"
android:layout_y="45px"
android:scaleType="fitXY"
android:src="@drawable/e4" />
The drawable is actually 480x717.
What's the problem here? Is it due to the fitXY?
my problem is quite simple, but as a beginner, I'm lost :D
I have to view controller :
view one call view 2 like this :
self.FacebookTypeRequest =@"favoris";
FaceBookViewController *viewcontrol = [[FaceBookViewController alloc]initWithNibName:@"FaceBookViewController" bundle:[NSBundle mainBundle]];
viewcontrol.title = @"FaceBook";
[self.navigationController pushViewController:viewcontrol animated:YES];
[viewcontrol release];
How can i send my string facebookTypeRequest to my view controller 2 ?
Thanks for your help
I have 2 texboxes and 1 needs validation. I have this setup with Html.ValidationSummary display. I would like to keep the data that has been entered on the validation postback. Instead the page is refreshed and the data is lost which makes the user enter the data again. How do I prevent that without using sessions?
We have message framing working by using a lengh prefix but using .NET 2.0 beginSend/BeginReceive.
Is message framing any different in 3.5, if so how should we implement it using the new framework?
Are there any useable examples out there which focus purely on message framing using 3.5?
Many thanks
I have a form where someone can create a new user. I'd like to add some AJAX to check if a username is taken, as soon as the input field loses focus.
I'm not really sure how to go about this, as this could pave the way to bruteforce attack, since you could check for any username and see whether or not it exists.
Any suggestions?
I am looking for a simple tool that generates a catalog of all used action methods, values and bindings. I'm working on a big JSF/RichFaces project and I have lost the overview of the used links to the beans. Therefore I need a tool (would be nice if it is a Eclipse plugin) that generates a simple list of all used EL expressions.
Is there something out there?
Sometimes I have seen some code or part of the project which I could improve but is not related with my current team project.
Those times I have a conflict because despite wanting to help, many teams lack enough people and doing extra work seems like betrayal. Obviously any managers will appreciate much more if you focus your effort on their tasks
What do you do in in these cases?
Dear all:
I was interested to know about parameters other than space and time during analysing the effectiveness of an algorithms. For example, we can focus on the effective trap function while developing encryption algorithms. What other things can you think of ?
I like for the textbox to change the background when the textbox has focus (if clicked with a mouse, tabbed into, etc).
I don't like the textchange method since it won't change until one character has been added.
private void txtFoo_OnGotFocus(object sender, EventArgs e)
{
txtFoo.BackColor = Color.LightYellow;
txtBar.BackColor = Color.White;
}
This doesn't seem to work for me. What am I doing wrong?
Hello,
I have a CouchDB database in production. One of the documents has been edited (in Futon by an other developer).
And it's lost it's ID (don't ask me how he did it).
So now the document's id is an empty string, which makes it impossible to edit or delete via Futon.
Is there a way I could hack into CouchDB to delete that document anyway ?
I'm able to get two videos to play sequentially, (and without pause!) with this code from Apple, (see section 2-4)...
http://developer.apple.com/safari/library/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/ControllingMediaWithJavaScript.html
...Yet completely lost as to how to play a 3rd or 5th video. Trouble is I'm a Javascript noob :-(, so if you figure this out please share as much of your code as possible.
Thanks much!
I have a jQuery selector that is running way too slow on my unfortunately large page:
$("#section").find(":visible:input").filter(":first").focus();
Is there a quicker way to select the first visible input without having to find ALL the visible inputs and then filtering THAT selection for the first? I want something like :visible:input:first but that doesn't seem to work.
To a developer who is about to delve into learning how to use Silverlight would you recommend its worth the effort OR would you say its better to focus on HTML5? I am asking from a purely from a marketability perspective
i use this javascript syntax for validating a checkbox...
alert(document.getElementById("ctl00_ContentPlaceHolder1_Chkreg").checked);
if (document.getElementById("ctl00_ContentPlaceHolder1_Chkreg").checked == false) {
document.getElementById("ctl00_ContentPlaceHolder1_ErrorMsg").innerHTML = "please select the checkbox";
document.getElementById("ctl00_ContentPlaceHolder1_Chkreg").focus();
return false;
}
My alert showed me false but my if loop is not working... Any suggestion...
i have a textbox array using that i create 20 text boxes in runtime,
i need to get the focus if a particular text box(if i press downarrow
in keyboard how to get the key down of a particular text box it can be
3rd text box).