instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
We can put code in a constructor or a method or an initialization block. What is the use of initialization block? Is it necessary that every java program must have it?
stackexchange/codereview
My question is very simillar to the one asked here: Reading Excel files from C# My question is whether there is a new better way of doing this now (2 years later), if not does anybody have some examples of using the ACE OLEDB 12.0 witch seem to be the best way to go with it? What I need to do is an application that re...
stackexchange/codereview
I want to run a query on an Oracle database and for each column in the result set, I want to know the schema that the column came from. I tried the following: ResultSetMetaData rsMetadata = rs.getMetaData(); String schemaName = rsMetadata.getSchemaName(1) However, this returns an empty string. Is there any work arou...
stackexchange/codereview
How can I make a tag that makes a select field out of a Java enum for the Play! framework? I've tried to see how the CRUD module does it but there's too many abstraction layers that I don't really understand yet.
stackexchange/codereview
Cast a class to an interface is the same as convert a Class to another Class in C#?Does box or unboxing occurs in this process? interface Area { string TxtArea { get; set; } } Convert to it interface: public void Test() { ExternArea extArea = new ExternArea(); if(extArea is Area) ...
stackexchange/codereview
I have a button which i drags using the code: [myButton addTarget:self action:@selector(dragged:withEvent:) forControlEvents:UIControlEventTouchDragInside]; is there any controlEvent that can be used as touches ended.
stackexchange/codereview
What would be the best solution to find top N (say 10) elements in an unordered list (of say 100). The solution which came in my head was to 1. sort it using quick sort, 2. get top 10. But is there any better alternative?
stackexchange/codereview
We have a table that is setup with an (auto Increment) ID, ClassID, StudentID. The class id is for the class that the student is taking. Sometimes our system creates duplicates of the same student in the same class. We are currently trying to fix that problem. It might have to do with hitting the back button. Stud...
stackexchange/codereview
The way I understand it, The new Async-Await functionality in the C# 5 CTP should be all implemented in the compiler. This should mean that code compiled with the CTP should be able to run on vanilla .Net 4? Can it?
stackexchange/codereview
I am having some trouble finding out how to free RAM on the iPhone using Xcode and the iOS SDK. If anyone could give me a hand doing this, that would be great.
stackexchange/codereview
I was stepping through some code and hit a method I wanted to see the code for. I clicked on 'go to definition' and it would usually take me to the method definition, but now it takes me to what appears to be an auto generated [from metadata] class. I've never experienced this before. What's going on and how do I get t...
stackexchange/codereview
Can I use template to create several instantiations of some function, different only in some constant parameter? The number of alternatives for this parameter is fixed. E.g. I want not to rewrite (where upper is in 1..32 in powers of two) funct(param, int upper) { some_loops(..) some_heavy_code_fast_for_const_...
stackexchange/codereview
I have a stored procedure with a parameter name which I want to use in a where clause to match the value of a column i.e. something like where col1 = name Now of course this fails to match null to null because of the way null works. Do I need to do where ((name is null and col1 is null) or col1 = name) in situations...
stackexchange/codereview
I have a drop down list on my aspx form and what I want is to refresh the site after I select an item from the list. This is my drop down list: <%: Html.DropDownListFor(x => x.CompanyUserFilterId, new SelectList(Model.CompanyUsers, "Id", "FirstName", Model.CompanyUserFilterId))%> I use it to filter the data shown on ...
stackexchange/codereview
I am using JQuery and I have below code. $("#departure_city").change(function() { $.ajax( { type:'post', url: '/specialoffers.aspx', data: { city: $(this).val() }, success: function(res...
stackexchange/codereview
I was wondering if it's possible to have 2 'while' statements using the same 'mysql_query'? I'm using a jquery thumb gallery with the results pulled in from a database. The gallery requires that the images are grouped together in an unordered list, with the text/overlayed content grouped together in hidden divs which n...
stackexchange/codereview
I have a UILabel whose size is calculated with sizeWithFont: method. The line break mode is set to UILineBreakModeWordWrap (same flag is used when calculating the size with sizeWithFont:)... Everything works great, label is properly sized and displays my text as required. Now I need to know the lines that are used to d...
stackexchange/codereview
I have a GridView that's displaying a bunch of name/value combinations. The name column is a hyperlink to a details page. The value column is editable - it displays its text in a <asp:TextBox>. I'd like to set up the tab order so that the user can press tab once to go to the next value textbox. Currently, pressing ...
stackexchange/codereview
I have about 60 images uploaded to my site. I'd like to resize them all so they fit in a 150px × 100px box. No cropping, just scaling, but it should preserve the original proportions. I'd prefer a simple solution using, say the ImageMagick convert command. A solution for a single arbitrary image is perfectly fine. (I k...
stackexchange/codereview
I've an AIR app which prints a couple of DataGrids with approximately 3 pages worth of data each. I get great-looking printouts, but the printing is slow - I noticed that printing these 6 pages + a title page and a page of lightweight images was sent to the printer in a file of almost 50 MB (on Windows). Is this a norm...
stackexchange/codereview
I'm looking to write a basic recommendation engine that will take and store a list of numeric IDs (which relate to books), compare those to other users with a high volume of identical IDs and recommend additional books based on those finds. After a bit of Googling, I've found this article, which discusses an implementa...
stackexchange/codereview
I was looking at the various posts around Validating SAML Response generated by Java in C#. I have been trying all the suggestions and am still getting a False from the SignedXml.CheckSignature and am totally out of ideas now on what could be wrong and am reaching out to you folks to see if you had suggestions I can us...
stackexchange/codereview
is there any active irc chat room that have people to talk to?
stackexchange/codereview
Possible Duplicate: PHP - how to best determine if the current invocation is from CLI or web server? I know the obvious answer is to place the script outside the web root, but I'm hesitant to do that in my project since that complicates installation and might not even be possible in some shared hosting environments....
stackexchange/codereview
Can some one please tell me how can I find the following. List from /etc/passwd the UID and the user having the highest UID.
stackexchange/codereview
If I have a combo box in pyGTK and would like to set a list of strings and then on clicking on one activate a command how would I do it? At the moment I have: self.combo_key = gtk.Combo() self.combo_key.set_popdown_strings(self.keys) self.combo_key.entry.set_text(db.keys()[0]) self.combo_key.entry.conne...
stackexchange/codereview
As the title says. From what I can see online the Overloads keyword is optional but is there ever a time when it is necessary? It even seems to be an error when used in a Module.
stackexchange/codereview
i have an existing DateTime? object that has a datetime in it. I want to remove the datetime value from it so when you ask "HasValue" it returns false?
stackexchange/codereview
I have problem with control inheritance in WPF. I created a UserControl named BaseUserControl. I want for this control to be a base control for other WPF userControls. So I wrote another UserControl called FirstComponent. In next step I changed this code FirstComponent : UserControl to this FirstComponent : BaseContr...
stackexchange/codereview
My setup is as follows: OS: Windows 7 Home Premium 64-bit Eclipse: Helios 3.6.1 64-bit with CDT and Photran Java SE Runtime Environment: 1.6.0_21 Java Hotspot: 64-bit Server VM (build 17.0-b17, mixed mode) Cygwin 1.7.2 (32-bit) My initial test Fortran application simply prints 'Hello World!' and exits. The code bu...
stackexchange/codereview
I've noticed a variation of convention when it comes to using DIV tags instead of TABLE to separate/organize content on a web-page. In what situation is one more appropriate to use than the other? Clarification: This question is both general, and specific in that I'm mainly looking for which would be more ideal for pag...
stackexchange/codereview
I've a Fireworks CS4 document containing multiple pages. The File > Export > Pages to Files feature generates GIFs but I want PNGs instead. How can I change this setting for all pages avoiding to go through each page and manually change this setting?
stackexchange/codereview
Ok I am working with WolfNet IDX solutions (a housing search provider). They provide script to return search results which is directed to a page on their server. However, the client wants to have the page placed into an iframe within their own site so that the layout stays the same. My question is this: After the user...
stackexchange/codereview
This is probably a simple question, but what is everyone using to display a simple event calendar in jsp. I was looking for an existing taglib but didn't really find anything other than calendarTag. I'm using Spring MVC 3.0, JodaTime. and basically just want a large calendar on a jsp where I can include links to anothe...
stackexchange/codereview
receiving the error: "Property or indexer 'Microsoft.Reporting.WebForms.IReportServerCredentials.NetworkCredentials' cannot be assigned to-- it is read only" within this line: reportviewer1.ServerReport.ReportServerCredentials.NetworkCredentials = new System.Net.NetworkCredential("someaccount", "somepasswo...
stackexchange/codereview
I'm looking out for cleartool command which retrieves all the elments(files) of the given path (myvob\projects\projectname) and stores them in the local file system. This makes me avoid creating the view again with the same config spec just to see the contents of the view and not to perform any modifications.
stackexchange/codereview
I try to add the GLUI library to my project. Compiling in Debug mode runs fine. But if I compile in Release, it gives me a bunch of LNK2005 errors saying things like: error LNK2005: _realloc already defined in Libcmt.lib(realloc.obj) ok - i already got some similar Linker problems before because I use both CRT and MFC...
stackexchange/codereview
I am using PHP COM Object but i guess it is the same in all other languages. How do i add watermark to a .doc / .docx Microsoft Word using COM / OLE Automation? try { $word = new COM("word.application") //$word = new COM("C:\\x.docx"); or die(error::asString("couldnt create an instance of word", 2010040...
stackexchange/codereview
I have one worker role that throws data into around 10 queues that need to be processed. There is a lot of data - probably around 10-100 messages a second that gets queued up in various queues. The queues hold different data and process them separately. There is a single queue in particular that is very active. The w...
stackexchange/codereview
a,b=1,2 =>[1,2] a,b=[1,2] =>[1,2] i newbie on ruby,i have alchknowlege of python in python there also have this feature what dose this feaure called in ruby,and also i have one thing confused why after given the value to the a,b varient,the output a array?
stackexchange/codereview
I applied css border color in site. I want to chnage the border color in each time refresh the page .how to write the code in javascript.
stackexchange/codereview
Im sure this is simple but I've looked at it too long and I need an answer soon. I am new to C#. If I put GetCommission() within the struct I get error CS0188: The 'this' object cannot be used before all of its fields are assigned to outside the struct error CS0038: Cannot access a non-static member of outer typ...
stackexchange/codereview
Imaging an application that needs to have messages to back and forth between mobile devices (iPhone, iPad, iPod Touch) using either WiFi or 3G Networks. The messages are not directly between devices, but rather go through a sever that manages this application. Each mobile device needs the ability to initiate a "message...
stackexchange/codereview
just started using JPA today, so i'm preety new to it. How would one say "SELECT login.ID, userID, logInTime, logOutTime, user.ID AS 'uID', surname FROM login, user WHERE login.userID = user.ID" in JPA? I need to join two tables via the userID. I looked through a couple of tutorials on the net, but couldn't quite find...
stackexchange/codereview
I'm having a hard time figuring out how to create an embeddable online chat room that requires a Facebook authentication. I want the chat room to be public, allow users to log in with their Facebook accounts, and chat with each other using their Facebook identity(name). I know how to authenticate users into a website u...
stackexchange/codereview
When I log into a particular Ubuntu Linux (10.04 64bit) host via SSH, I get a bash shell. From here I am able to run a particular Python script, with the executable bit set, that has this as the first line: #!/usr/bin/env python However if another (new) user logs into the same host via SSH and tries to run this (or a ...
stackexchange/codereview
I have an xml file with which i want to print as a PDF using PCL. I am new to PCL. Can i use PCL to get the xml printed in PDF format directly or should i have some intermediate process to create a PDF file and then use PCL to get it printed as PDF?
stackexchange/codereview
I need to obtain some information from the users in the database that is stored on Active Directory, I've a simple function to do this: using (DirectoryEntry de = new DirectoryEntry("LDAP://ANYGIVENDOMAIN")) { using (DirectorySearcher adSearch = new DirectorySearcher(de)) { adSearch.Filter = "(sAMAccoun...
stackexchange/codereview
I'm confused about the state of an object after it's been moved using C++0x move semantics. My understanding is that once an object has been moved, it's still a valid object, but its internal state has been altered so that when its destructor is called, no resources are deallocated. But if my understanding is correct,...
stackexchange/codereview
I am trying to compile Apache. I did download the latest version of the sourcecode (2.2.17). This is what I do: > sudo ./configure --prefix=/usr/local/apache2 --with-included-apr --enable-mods-shared=all --enable-module=so > sudo make and when doing that I get: /Users/Niklas/Development/apache/httpd-2.2.17/srclib/apr...
stackexchange/codereview
I am using cforms plugin on a wordpress page. Unfortunately "required" in Russian seems to be two words according to the translation office. In Firefox it looks ok, in Safari it breaks to the bottom left of that line. span.reqtxt, span.emailreqtxt { margin:2px 0 0 3px; font-size:0.9em; font-weight:bold; color:#0...
stackexchange/codereview
I am trying to set up an environment as per this tutorial http://railstutorial.org/book#sec:1.2.2.3 however I get the below error when running 'rails -v' bash-3.2$ rails -v /Users/sandbox1/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could not find RubyGem rails (>= 0) (Gem::Load...
stackexchange/codereview
My program will sometimes be launched from another program. If that's the case, I want to be able to send messages back and forth between the two programs using WM_COPYDATA. After my child program launches, how can it get the HWND for the calling program? Is there a function I can call to do it, or can I do it indirect...
stackexchange/codereview
I have a bitmap that I want to display in my Android app. This works fine for platforms with version number greater than 1.5 but not for 1.5. When executing the line below an exception is thrown stating that the resource couldn't be found. Bitmap bmp = BitmapFactory.decodeResource(mApplicationContext.getResources(), R....
stackexchange/codereview
I followed on some advice given on this very forum and I am still having difficulty I have the following: #import <UIKit/UIKit.h> @protocol UIViewForWheelProtocol - (void) returnImageNumber:(int)imgNum; @end #import <UIKit/UIKit.h> #import "UIViewForWheelProtocol.h"; @interface UIVie...
stackexchange/codereview
I am trying to embed OWA (Microsoft Exchange Server 2010) in a web page within an iframe but I get a JavaScript error on the OWA page saying Access Denied and then none of the controls within the OWA window work. I have to use OWA in web page, I read in the form that cross domain does not work properly. Error comes as:...
stackexchange/codereview
I'm trying to create a self-contained Winforms control called DragDropListView. It derives from ListView. I have code that allows the user to sort list items within the control by dragging and dropping the items in the new location. I achieved that by overriding OnDragDrop, OnDragOver, OnDragEnter, OnItemDrag. The is...
stackexchange/codereview
In my Android App I have a listview containing 30 rows, and each row consists of several textviews of which one is spannable and sometimes contains a lot of formatted text and images. Those images are loaded from the web asynchroneously: A placeholder is displayed until the image has been downloaded is then replaced by...
stackexchange/codereview
Just as there are functors like Action, Func, Comparison, is there one which allows me to call a method that returns data and does not take any parameters? More Info eg: Action action, here action could take a method like void DoWork(int i) I was wondering if there is a similarly defined delegate/functor that allows me...
stackexchange/codereview
I'll make an edge detection with Sobel operator if I managed to create a double array that keeps the pixel values of 8bit Gray-scale BMP file. After execution of program, it creates an weirdy bitmap file: What could be the missing point? Thanks for help!! Here are the photos #include <stdio.h> #include <stdlib.h> #pr...
stackexchange/codereview
I have a div that has a few children that have borders on top and bottom. I'd like the first child and last child of that div to not have those borders. Doing .myDiv > :first-child is way too slow because :first-child matches all first children on the page first. I could add a .first class to the first element, but the...
stackexchange/codereview
I am trying to parse different mpeg4 frames from an rtp stream coming from an axis camera, and feed the packets to ffmpeg library using avcodec_decode_video function. here are the steps i am doing 1. rtsp stream is initialized 2. rtp stream starts flowing in 3. First packet i am getting starts with 000001b0... and the...
stackexchange/codereview
I'm working on a DNS query implementation in C and interested in requesting both A and AAAA (IPv4 and IPv6) records in a single query packet, but I'm not getting any responses from the nameserver when I put the two queries together in one packet like this. I've tried sending the query to several different nameservers (...
stackexchange/codereview
There seems to be only a handful of JVMs that are implementations of the Real-Time Specification for Java (RTSJ). The Sun/Oracle Java Real-Time System is over $6000 and IBM's real-time WebSphere is over $7000, so many Java developers may never have the opportunity to use either of them. Oracle's JRockit seems to be a...
stackexchange/codereview
I've looked everywhere for this but can't find an answer, so: I have a VHD image created for me by a client -- he installed Win7 on a machine and then used a tool from SysInternals to create a VHD which he shared with me and a colleague. I can mount the VHD on my Mac using Parallels Mounter and see the contents, but ...
stackexchange/codereview
I've looked all over the place, but haven't found an answer to this. I have a C++ class with these protected members: struct tm _creationDate; struct tm _expirationDate; struct tm _lockDate; I want to initialize them at instantiation time. If I put this in the constructor: _creationDate = {0}; _expirationDate...
stackexchange/codereview
We are writing an application hosted in Excel 2002 (groan). One requirement is that, during certain operations, we submit progress messages to the user from the business layer. However, these messages can be displayed at multiple sites, one being the Excel status bar, and another being a label on a form, and possibly...
stackexchange/codereview
Problem: I need an SWT Table (JFace TableViewer) with variable row height. In fact, I solved this on my development machine (running Ubuntu 10.10). Unfortunately, this doesn't work on Windows nor on Mac. Initially, I thought I didn't use the libraries correctly. But by now I fear that what I want to do is simply not...
stackexchange/codereview
I'm using Glassfish in production and OpenEJB in testing. I'm using JPA 1.0. I'm using Hibernate, but no specific Hibernate features, just standard JPA. Hibernate is redundant in this collection and should be removed, am I right?
stackexchange/codereview
I'm trying to write a query to get a courses information and the number of bookings and attendees. Each course can have many bookings and each booking can have many attendees. We already have a working report, but it uses multiple queries to get the required information. One to get the courses, one to get the bookings,...
stackexchange/codereview
Either existing libraries or a discussion of how to implement it would be fine. I'm trying to find a solution that doesn't require thread blocking. I've found some solutions (like juggernaut and orbited) and was wondering what else was out there.
stackexchange/codereview
I am trying to create rectangles and the number of rectangles is depend on data passed from database. For example, if number = 5, the program will generate 5 rectangles. Also, these rectangles must be able to follow my rectangle property settings, like height, width,color...put them in one line at the end. Is there a w...
stackexchange/codereview
I need to append a number at the end of the word flare depending on how many I have. That part works great. My problem is when I go to print it to the screen. I would like the program to output the value of what (Camera::Table[Id]->sensor->flare1) sensor is pointing at, in this case, flare one. If the program were to c...
stackexchange/codereview
I've got a socket from which I'm reading XML data. However, this socket will spit out multiple different XML documents, so I can't simply parse all the output I receive. Is there a good way, preferably using the Python standard library, for me to parse multiple XML documents? In other words, if I end up getting <foo/...
stackexchange/codereview
In WinForms, Application.DoEvents method has been regarded as evil by some people. Can anybody tell if its counterpart of Dispatcher.PushFrame in WPF is safe to use?
stackexchange/codereview
I've got elscreen on my emacs for tabbed windows but it's splitting my screen in 2 like so... |-------| | | |-------| | | |-------| How would I make it only display one screen? The only things in my .emacs file is.. 135;; --------------------------------------- ...
stackexchange/codereview
Hey guys, I wanna ask if there is an IDE to which i can customize/add custom visual components to the toolbox and define the behavior, properites .. etc of these components ?
stackexchange/codereview
I've been trying to find an answer to this, and can't seem to. What's the best way to submit a simple POST request to another server from PHP? cURL seems to be running excruciatingly slow; I'm getting several seconds of loading, waiting on cURL. Any ideas? EDIT: On request, here's the code: $x = curl_init("http://www...
stackexchange/codereview
Based on answer to my previous question, I would like to ask one more on the topic. To this week, I believed that all the graphics behind windows is actually just code. To create window, menus, button, I thought all is just a function which passes some arguments to OS. But than I found some little bit information about...
stackexchange/codereview
I'm inching my way to doing an Ant build on my Eclipse sources. The ultimate objective is to have the Eclipse sources as the input and the output go into a folder entirely outside the Eclipse file structure. It's a while since I've used Ant, so I'm gradually commenting out, then uncommenting bits from the standard buil...
stackexchange/codereview
I'm just starting with Struts 1.3. I tested the struts-mailreader-1.3.10.war in Tomcat and everything works fine. I then unzipped the .war into my workspace for Eclipse and added an Ant build.xml file to the root. When the build file deploys the war back to the Tomcat container I get the stack below. Since I'm also...
stackexchange/codereview
We have a general question about best practice/programming during a long index rebuild. This question is not "solr specific" could just as well apply to raw Lucene or any other similar indexing tool/library/black box. The question What is the best practice for ensuring Solr/Lucene index is "absolutely up to date" after...
stackexchange/codereview
I am using the Maven assembly plugin to prepare some configuration artifacts for different environments, and I am using resource filtering to substitute parameter values. I came across a weird behaviour where I had a property file with the contents as follows: ########################### # author.name@company.com # ##...
stackexchange/codereview
I would like to ask you for an advice about function template. I have a function that adds some data into buffer. But I need also to add an information about data type into the buffer. The type of data is a following enum: enum ParameterType { UINT, FLOAT, DOUBLE }; And I need to create a function template fr...
stackexchange/codereview
How to send POST request to remote URL using VB6 ?
stackexchange/codereview
i have sample code of Barcode Scanner but when i install it in my iPhone 2G which contains Version 3.1.3 gives me the below error message.i have taken the code from this link:http://code.google.com/p/zxing/downloads/list dyld: Library not loaded: /System/Library/Frameworks/CoreVideo.framework/CoreVideo Referenced fro...
stackexchange/codereview
I have a heartbeat interval which calls a function every few seconds. This function then in turn makes a JSON request to the server via jQuery, the server returns the JSON response and a success jQuery function like usual. Within the success function it does another jQuery function, a foreach for each id. From each id ...
stackexchange/codereview
What's the purpose of this pattern? What is it called? It looked very strange when I saw it the first time, though I have now seen it many times. template<typename Derived> struct Base { //... }; struct Example : Base<Example> { //... };
stackexchange/codereview
I have a problem when trying to return an object defined in an external .jar from a Java EE 6 Web service. The Web service looks like the following: @Stateless @Path("book") @Produces({"application/json", "application/xml"}) @Consumes({"application/json", "application/xml"}) public class NewWebService { @Persisten...
stackexchange/codereview
From the MySQL command line client is there a way to count the words in a given text file?
stackexchange/codereview
We (there are 2 of us) are new to web application development and are trying to develop a web based application product targeted at medium sized businesses. The following is a basic flow of the work flow of the application: Collect data through file upload process (100K to 5 million records) Collect control data from...
stackexchange/codereview
This WPF app targets .NET 3.5 and is built with the 4.0 tools from Visual Studio 2010 (csc.exe version is 4.0.30319.1). I'm not sure what to make of this exception I'm seeing. The same exe has been working for months on all machines, but just today a customer ran into this. I'm unable to repro it locally, all I have ...
stackexchange/codereview
This code is not setting right value to the combobox. This is because, those are from different contexts. In addition, in my actual problem, neither overloading == in nor overriding Equals() in MyClass is working as well. Any alternative way? How to solve this problem? MyClass.cs public class MyClass { pu...
stackexchange/codereview
I have a tcp connected socket handle, created through an accept. Only the handle, not other structs. How can I retrieve its REMOTE port from the handle? I mean, the tcp source port of the connection Remote Client ---> Me
stackexchange/codereview
While running this simple script: <?php $link = mysqli_connect("localhost", "*****", "********", "***"); if (!$link) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } printf("Host information: %s\n", mysqli_get_host_info($link)); mysqli_close($link); ?> on my networksolutions account I received...
stackexchange/codereview
I'm currently writing an application that I would like to open in a new terminal window, resizing it in the process, rather than the one in which the invoking command was typed. How should I go about doing this? I'm using the gnome terminal and will be writing the app in C++.
stackexchange/codereview
i have a style with datatemplate in xaml page as shown below . < Style x:Name="mytemplate" x:Key="mytemplate" xmlns:dataprimitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Data" TargetType="dataprimitives:DataGridColumnHeader"> ...
stackexchange/codereview
Code: <Button Style="{StaticResource HPForegroundStyle}" IsTabStop="False" Command="{Binding ForegroundPhoneCommand}" Click="Button_Click"> <Button.ContextMenu> <ContextMenu ItemsSource="{Binding OptionsMenuItemList}" ...
stackexchange/codereview
Can any explain me what is Custom Control and UserControl?The Main difference between them.Suggest me some basic examples links.
stackexchange/codereview
I recently created an xml feed -> html javascript function for an iPhone app I'm developing in jQTouch. Original Tutorial & Code. I was wondering if someone would know a quick and easy way to refresh the xml data (grab the feed again) when a link is clicked. eg. in the code: <div id="btns"> <ul> <li><a href="#feed"...
stackexchange/codereview