instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
MVC 3 RC
I registered both System.Web.Razor and System.Web.WebPages.Razor and still have System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup not recognized in my View/web.Config
Intellisence for Razor is not working
What can be wrong with my configuration
| stackexchange/codereview |
here's my code:
$(document).ready(function () {
$('.flip1').click(function () {
$('.panel1').slideToggle("slow");
});
$('.flip2').click(function () {
$('.panel2').slideToggle("slow");
});
$('.flip3').click(function () {
$('.panel3').slideToggle("slow");
});
$('.flip4... | stackexchange/codereview |
I am running Rails 3.0.1 with prawn-0.11.1.pre
I just did some basic tests to see if I can get Prawn to create a simple table that includes some formatted text:
data = ["Cell 1", formatted_text([{:text => "Cell 2"}])],
["Cell 3","Cell 4"]
table(data)
render
The PDF renders like this
Cell 2
[Cell 1][ ]
[Ce... | stackexchange/codereview |
I have one file called test.ai and I need to print it several times, but changing the text inside it each time.
Added the illustrator reference to the project and it is already changing the text inside the image, my problem is to stack up several of these documents and send them to a printer or to the printing dialog... | stackexchange/codereview |
I don't use Python very often, but I sometimes develop simple tools in it to make my life easier. My most frequently used is a log checker/crude debugger for SAS. It reads the SAS log line by line checking for any errors in my list and dumps anything it finds into standard out (I'm running Python 2.6 in a RedHat Linu... | stackexchange/codereview |
I would like to know how to make a C-function and be able to tell Lua about it, then call it from Lua. I have all the Lua Libraries installed on my Mac OSX 10.4 computer.
| stackexchange/codereview |
I used to be a frequent player on hubdub.com, where you could 'predict' (or bet on) the news. Hubdub sadly closed in April, but I've been considering something on a much smaller scale for a different domain.
My question is - are there any working prediction software clone tools out there that you can easily configure,... | stackexchange/codereview |
I'm using hbm2java via maven to generate pojos, it will produce files such as Table.java, but what I want is AbstractTable.java
Is there an easy way to do this?
From my pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.2</version>
<executions>
<e... | stackexchange/codereview |
When moving over a dragable element I want the cursor to change to a hand and upon mouse down until mouse up I want to change to a "grabbing" hand. What is the proper, cross browser compatible way to do this?
Googling this only brings up websites from year two thousand, with tutorials on IE6. BLA!
Are there any good MO... | stackexchange/codereview |
I'm reading into WCF and Service Bus topics, but I don't get the use of Service Bus in some topics. Check this image of the use of Service Bus:
http://ecn.channel9.msdn.com/o9/learn/Azure/Labs/IntroServiceBus/Lab.html/html/images/4a0aa8f8-f4d1-49b6-b950-cf954402c599.png
In above image Your Service is behind a firewall,... | stackexchange/codereview |
A javaFX project in net.beans allows you to write normal Java classes (POJOs, not the FX ones), so I assume the FX SDK includes some version of Java SDK. The thing I don't understand is why are some classes like javax.swing.table.TableRowSorter missing.
| stackexchange/codereview |
On a Windows platform, using the fewest tools possible (prefer to use only built in tools such as CMD but I realize something like sed may be required); I would like create a script that will perform as follows.
It should input a csv file, extract certain fields from that file and then output a new and uniquely formatt... | stackexchange/codereview |
I've seen many mentions of bugs in Delphi 2009 generics, but never expected something so basic to fail in Update 3, no less. Calling IndexOf on a generic TList or TObjectList causes an access violation if the list contains 1 or more items:
type
TTest = class( TObject );
procedure DoTest;
var
list : TObjectList< TT... | stackexchange/codereview |
I'm attempting to use the Neucha font from Google Font Directory (link) in my Android app.
With other custom fonts, unsupported characters are still displayed, such as Japanese characters, as well as accented characters. However with the Neucha font, most unsupported characters (such as Asian ones) are displayed, but s... | stackexchange/codereview |
I'm trying to make a Lua compiler for Mac OSX with an interface written in Objective-C and the Lua source code written in C.
| stackexchange/codereview |
Hi guys I have 2 different List 1 that holds items that I see as a requirements and the other one is user provided. I need to check all the List passed on to me against my List and get all items that the user failed to include. The checking is based on item class type. Is there any way I can do this without looping on ... | stackexchange/codereview |
Say i have the following object:
{ "text" : "oa3", "topic_ids" : [ ObjectId("4cea00efd8030a35eb000004") ]}
I have a object representing this called "a"
a.topics.find(:all).count #this returns 0
I feel that I am doing this wrong.
How do I retrieve the iterator for topics in this particular object?
| stackexchange/codereview |
I'm using a WPF Grid as the layout of my window. It has two columns and any number of rows. The first column is used specifically for labels and the second column is used for user-input fields (e.g. TextBox, ComboBox, etc.). My requirements are:
The first column must have a minimum width of 50 and maximum width of 18... | stackexchange/codereview |
Any examples or libraries to caculate HMAC-SHA1 in Erlang?
I tried Crypto Module, but apparently doesn't match exactly. Any examples?
| stackexchange/codereview |
How can I add custom buttons to a search bar.
I'm looking to add a "Next" and "Previous" button to the search.
| stackexchange/codereview |
I stumbled about a strange problem with ListViews.
In the emulator the ListView shows no feedback, when an item is pressed for selection. I think I have seen that in the real thing, but I am not sure. I would expect that the list item gets selected (darker background) when it is pressed, so that the user can see, which... | stackexchange/codereview |
I built up a Navigation-Based app and I want to implement that functionality in another View-Based app I'm working on.
I figure I can just add a subview with a UINavigationContoller and add it to the superview but I cant figure out how to set up the UINavigationController from scratch.
Any ideas on how to basically ad... | stackexchange/codereview |
The project, I have involved, has an architecture-oriented project's file/folder structure:
Root
|____ Node1
|____ Event Handlers
| |___ <all event handlers of project>
|____ Events
| |___ <all events of project>
|____ Request Handlers
| |___ <all request handlers of pr... | stackexchange/codereview |
I have used MEF to load in external XAPs, this works great.
But when I navigate away from the page with the loaded control, then go back to it, the control is in the exact state I left it.
Now sometimes this is great, but not for the project I working on.
How do I reset the control to its initial state?
The control is ... | stackexchange/codereview |
I am writing documentation for a company widget i authored and would like to run it on our development site but i need to show some jsp source code in the page.
How do i stop code from being interpolated?
| stackexchange/codereview |
I have a JQuery button like this:
$("#Activechk").button();
<input type="checkbox" checked="checked" id="Activechk" /><label for="Activechk">Active</label>
When the button is "on" or "checked" I want to show icon primary: ui-icon-check and when the button is "off" or "not check" I want to show icon primary: ui-icon-c... | stackexchange/codereview |
This code gives a result of 1 for all numbers and i don't know why. phi(n) for any n in this code give me 1.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim n As Integer
n = CStr(TextBox1.Text)
Dim phi As Integer
Dim i As Integer
ph... | stackexchange/codereview |
Is there a priority_queue adaptor that works with boost pointer containers?
| stackexchange/codereview |
this is my basic date-time structure:
primary key(datetime) key
auot_id date_time user_id
1 2010-10-01 20:32:34 1
2 2010-10-02 20:32:34 1
3 2010-11-03 20:32:34 2
4 2010-10-04 20:32:34 1
5 2010-11-05 20:32:34 1
And I want to get the result of the d... | stackexchange/codereview |
According to the sqlite3 documentation, creating a table where the primary key is an ascending integer causes the primary key to be an alias for the rowID. This isn't happening for me.
Here is my creation code:
import sqlite3
con = sqlite3.connect("/tmp/emaildb.sqlite3")
c = con.cursor()
try:
c.execute("create tabl... | stackexchange/codereview |
I am building Chrome extension which at some point should determine current page language. In order to do that, my plan is to extract text content of the page (or at least a part of it) and pass it to translation api. However I couldn't find any strait forward way to just get all textNodes of the document.
There is a b... | stackexchange/codereview |
Hi Friends
i am using MySQL DB for one of my Product, about 250 schools are singed for it now, its about 1500000 insertion per hour and about 12000000 insertion per day, i think my current setup like just a single server may crash with in hours, and the read is also same as write, how can i make it crash free DB server... | stackexchange/codereview |
dear all. i'm familiar with MySQL but not in Firebird.
i try to search some particular data inside DB.But after i try to use '%' in where cluse i get some error message:
Dynamic SQL Error SQL error code = -104 Token unknown - line 3, column 43 %
this my script:
$ssWhere .= " PROD_DATE LIKE ''%".$_POST['sSearch_8']."%... | stackexchange/codereview |
I'm trying to get user_id from the tab.
I found out the params["signed_request"] will give me some info about the user_id.
And I tried.
But, in fact , params["signed_request"] gave me the wrong value.
It returned the profile_id instead of user_id.
Is there anyway I can get the user_id from tab?
| stackexchange/codereview |
net application, in which i am using some popup windows to open some pages. For this, i am using a method like this
private void OpenWindow(string Url, string height, string Width)
{
try
{
string strScript = "";
strScript += "<script language=\"javascript\">";
strScript += "eval(\"popUpW... | stackexchange/codereview |
I would like to know how to switch on the camera flash on the iPhone 4 with UIImagePickerController.
if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerCameraDeviceFront] == YES)
{
/// What code here ///
}
else
{
NoFlash = [[UIAlertView alloc] initWithTitle:@"Uh-Oh"
... | stackexchange/codereview |
I know you can install it anywhere physically and point the IIS applcation to the service. What I can't find out is where it is most common to install the service itself. Is it Program Files, InetPub, different location, or anywhere you want it doesn't matter.
| stackexchange/codereview |
I have an entity. I would like to optionally load additional information about the entity from a secondary table. I have the following mapping.
@Entity
@Table( name = "program", schema = "myschema" )
@SecondaryTable( name = "program_info", schema = "myschema", pkJoinColumns =
@PrimaryKeyJoinColumn( name = "pr... | stackexchange/codereview |
I have two BMWs and two Mercedes and one Kia. They are in a MySQL table with car_id and brand.I want to know how what brands of car I only have one of. So what I expect returned is one record in this case with a brand of 'Kia' I don't want BMW or Mercedes to show up at all.
Edit
I've over simplified my problem. Sorry a... | stackexchange/codereview |
I am having difficulty with Html Helpers when used with Razor. Said helpers worked fine in MVC 2 with the web form view engine. But not in razor. The error I get at runtime is:
Compiler Error Message: CS1502: The best overloaded method match for 'System.Web.WebPages.WebPageExecutingBase.Write(System.Web.WebPages.Hel... | stackexchange/codereview |
I have a Mac project in XCode that is in a subversion repository.
Subversion is set up on a remote server using svn+ssh.
I made several attempts to add a nested group of directories to my project, and had to delete and re-add the top-level directory a few times in getting it to work.
In so doing, I forgot about the ".s... | stackexchange/codereview |
I've read a comparison of C# and Java and the first thing on the list is "Single-root (unified) type system".
Can you describe what a single-root (unified) type system means?
| stackexchange/codereview |
I have the following code:
progressBar1.Minimum = 0;
progressBar1.Maximum = Results.Count;
foreach (MyClass cls in Results)
{
progressBar1.Value += 1;
// Go to DB and get large quantity of data
cls.GetHistoryData();
}
... | stackexchange/codereview |
The following code is working as expected to check the user input.
if [ -z "$1" ]
then
myvar='80'
else
myvar="$1"
fi
But I had read a very short syntax that will do the same. Any pointer?
| stackexchange/codereview |
I have created a google doc form but it shows only submit button.How can i get view,Edit and Delete buttons in the form.How to view the data from the spreadsheet in the form page created?
| stackexchange/codereview |
My question is a bit long due to my lack of knowledge of good programming practices and, above all, Django. I appreciate any suggestions.
The Model (simplified)
class Customer(models.Model):
# Customer info
first_name = models.CharField(max_length=75)
last_name = models.CharField(max_length=179, null=True,... | stackexchange/codereview |
I have a Flex/AIR application communicating with a PHP server application. Recently my client requested real-time-like connectivity between the applications to replace what we currently have; refresh buttons which have to be clicked to refresh data.
So effectively the server needs to push data to the client when someth... | stackexchange/codereview |
var add = [];
add[0].url = data.url;
add[0].photo = data.thumb;
console.log(add);
This'll be an instant know for most JS people. The code above is failing, anyone able to tell me where I'm going wrong
| stackexchange/codereview |
I am looking for the most direct way to make it so that when the user taps a UITableViewCell, a keyboard appears. I want to use a custom keyboard (UIPickerView) and I preferably would like to make the cell style UITableViewCellStyleValue2. I can't seem to find a very direct way of doing this. I have a navigation bar on... | stackexchange/codereview |
I create a lot of hibernate event listeners, to catch all database events like load, persist, update, delete etc. All events will be caught, but named queries will not be caught by my load event listener and I would like to ask, what I need to implement, to catch names query?
| stackexchange/codereview |
I have a webpage which contains username and password fields. In Android WebView, I loads that page and enter the user credentials to login. Now if the user logs out and logs in again, I want the previous username and password values to be retained in the fields of the WebView where we enter the credentials. I have see... | stackexchange/codereview |
HI
I recently purchased a netbook for the purpose of being able to code whilst away from home, and everything is pretty dandy, I installed Kubuntu and then netbeans, as netbeans seems to be the better IDE available for linux. I installed the c++ plugin and started a new project, and the IDE is already giving a error:
#... | stackexchange/codereview |
I know this is a long shot, but I have a huge text file and I need to add a given number to other numbers matching some criteria.
Eg.
identifying text 1.1200
identifying text 1.1400
and I'd like to transform this (by adding say 1.15) to
identifying text 2.2700
identifying text 2.2900
Normally I'd do this in Python, b... | stackexchange/codereview |
I'm using the AnyTime Picker (http://www.ama3.com/anytime/) within a JQuery UI Dialog box.
The thing is, that the time picker always pops up behind the dialog box.
Any ideas how to get it to pop up in front of the dialog?
Regards,
JAClerigo
| stackexchange/codereview |
Why doesn't the PropertyChangedEvent get fired when I have an empty value for a DatePicker in Silverlight?
Here's my example XAML
<UserControl x:Class="ValidationExamples.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:... | stackexchange/codereview |
I'm building a system which needs to be able to find if blobs of bytes have been updated.
Rather than storing the whole blob (they can be up to 5MBs), I'm thinking I should compute a checksum of it, store this and compute the same checksum a little bit later, to see whether the blob has been updated.
The goal is to min... | stackexchange/codereview |
I have a question, i was reading a little bit about JMS but I couldn't understand when it's best to use synchronic message over asynchronic and when it's best to use asynchronic message over synchronic.
Can someone make it clear?
thanks.
| stackexchange/codereview |
I've just installed DXperienceXaf-10.1.7, but the controls do not appear in the VS 2010 toolbox, neither do they show in the VS 2008 toolbox. I have run ToolboxCreator from the 'start menu' shortcut to no avail. This is on Windows 7.
Is there a fix for this? If not, how do I manually add them? There seem to be a zi... | stackexchange/codereview |
After installation of the setup, when the user again clicks on the setup to open it in the maintenance mode, I want that only the 'Repair' and 'Remove' options are shown and the 'Change' option is not shown.
I can disable the 'Change' button using but I want to remove it and don't want to display it to the user.
Pleas... | stackexchange/codereview |
I am working in Python and I have a NumPy array like this:
[1,5,9]
[2,7,3]
[8,4,6]
How do I stretch it to something like the following?
[1,1,5,5,9,9]
[1,1,5,5,9,9]
[2,2,7,7,3,3]
[2,2,7,7,3,3]
[8,8,4,4,6,6]
[8,8,4,4,6,6]
These are just some example arrays, I will actually be resizing several sizes of arrays, not just ... | stackexchange/codereview |
struct ponto *ps = malloc( sizeof(struct ponto) * colunas * linhas );
I had this declared on my main(). However I want it to be globally accessible to all functions. I believe this is made with realloc and declaring this as null or something on the start of the file. Is this correct?
struct ponto *ps = null;
and then... | stackexchange/codereview |
I have the following HTML:
<input type="text" id="myText">
<div id="myDiv">
When a user focuses out of the text field, I would like to remove #myDiv, ONLY if the user focused out to an area which is not in the DIV itself.
So far I have the code to remove the div no matter where the user clicked on the screen. What do ... | stackexchange/codereview |
Anyone knows what I need to do to have both my free and paid versions feed the same Game Center leader board?
| stackexchange/codereview |
I'm working with Flowplayer captions plugin http://flowplayer.org/demos/plugins/flash/captions.html and I need references/links in subtitles. When I've built into srt file link like <a href="http://flowplayer.org/">click this link to flowplayer.org</a>
then the flowplayer stuck on parse processing and last message was ... | stackexchange/codereview |
Currently I've got an H1 tag set to a colour of #8c0000 (a deep red).
Using jQuery, I would like to get the colour of the H1 and then do a calculation based on the h1's colour to determine what the hex value of a new colour would be if I wanted it several shades darker.
The reason for this is that I want to use CSS3's ... | stackexchange/codereview |
Can you convert
-- tupleUnfold :: forall a. ((forall b. a -> b)) -> a -> ((b))
tupleUnfold :: Int -> ExpQ
tupleUnfold n = do
xs <- forM [1 .. n] (const . newName $ "x")
y <- newName "y"
let y' = varE y
g (ps', es') x = (varP x : ps', appE (varE x) y' : es')
(ps, es) = foldl' g ([], []) xs
lamE [tupP... | stackexchange/codereview |
For a long time I've been designing applications using Interface/Inheritance based polymorphism, to gain loosely coupled code. As far as I can see (so far) DI frameworks/IoC merely provide tools to make this "easier", however, the additional level of abstraction seems to be redundant and costs you additional overhead.
... | stackexchange/codereview |
My question is related to Algorithm to convert any positive integer to an RGB value but really it's not the same question -- that guy has mostly a data normalization problem, I actually have more of an aesthetic color selection problem.
I have a bunch of numbers between -1.0 and +1.0. I need to create a heatmap overlai... | stackexchange/codereview |
What is the best way to convert a String in the format 'January 2, 2010' to a Date in Java?
Ultimately, I want to break out the month, the day, and the year as integers so that I can use
Date date = new Date();
date.setMonth()..
date.setYear()..
date.setDay()..
date.setlong currentTime = date.getTime();
to convert the... | stackexchange/codereview |
I have the following statement (using RavenDb):
session.Query<Container>().Where(c=>c.ParentId == null).Count();
When I run the above, the count is always 0, but if I do this instead:
session.Query<Container>().ToList().Where(c=>c.ParentId == null).Count();
It returns the correct number.
Anyone have the clue on how ... | stackexchange/codereview |
I've been trying to make multiple Presenters "listen" to the same event but I which to make each event unique to the Presenter.
Ex.
I create 3 Composite widgets each in one different tab. They get all attached to the same event at binding. Let's call it the "NewPrescriptionEvent". If this event is fired, all my 3 comp... | stackexchange/codereview |
What is the C++ equivalent of java.lang.Object x = new Foo()?
| stackexchange/codereview |
After finalizing site, now finding out that main plugin won't work on any mobile device. My bad.
Need to create a VERY basic CSS for mobile devices. Any recommendations on a simple css stylesheet template/tutorial. Saw jQtouch and Jquery Mobile and think this is an overkill for my needs.
Also, a reliable detection f... | stackexchange/codereview |
I can't find System.Drawing to use it. I found this, but I still don't know what I'm doing wrong. I have the impression that it's because I'm coding a console app, but I'd still like to use the methods, and not simply load the gif file in binary mode or something like that. Any ideas? Thanks.
| stackexchange/codereview |
I'm using sql dependent caching in my ASP.NET application, and to achieve this I have the following entry in the web.config:
<connectionStrings>
<add name="DatabaseName" connectionString="Data Source=.\Dev;Initial Catalog=DatabaseName;Integrated Security=True" />
</connectionStrings>
<system.web>
<caching>
<sq... | stackexchange/codereview |
As stated at http://hacks.mozilla.org/2010/07/firefox-4-formdata-and-the-new-file-url-object/ it is, but I cannot file the definition in the spec...
| stackexchange/codereview |
I am looking to have a program wait for a click event to occur. This is my code for the click event. The program runs right through it. To give you context, this is an othello program, and this is for when it is a humans turn.
Sadly the program runs through it and continues and the AI player goes.
for (int i = 0; i <... | stackexchange/codereview |
I was wondering if there is a way to do this purely in sql:
q1 = SELECT campaign_id, from_number, received_msg, date_received
FROM `received_txts` WHERE `campaign_id` = '8';
INSERT INTO action_2_members (campaign_id, mobile, vote, vote_date)
VALUES(q1.campaign_id, q1.from_number, q1.received_msg, q1.date_... | stackexchange/codereview |
Both objects seem to be nil inside of 'rails console'.
Why is that?
Actually now Rails works:
puts Rails.env
/path/to/my/project
but for config:
puts config.root
NameError: undefined local variable or method `config' for #<Object:0x1001dd2a0>
from (irb):8
| stackexchange/codereview |
NOTE: edited by @drachenstern, and I don't mind removing my answer on account of this. The OP is Russian (I believe) Ukrainian (with my apologies) and is having an ESL issue describing his problem. Between the two HRs is his original post.
order that would make getElementsByTagName ("s"); and give value = '2d331be4756... | stackexchange/codereview |
I recently started coding in C++ with Visual Studio 2010.
Now I am looking for an option to warn if a function has been declared, but not defined. That option would be found in the compiler options, wouldn't it? After a quick search on Google I found this: http://msdn.microsoft.com/en-us/library/c553zwz0.aspx which is ... | stackexchange/codereview |
I have an ASP.net MVC2 application that is using NHibernate for data access. On every request, even static file requests (images, javascript), a new session is getting created. So for a single view where I'm returning a list, I'm creating around 15 session that don't load anything.
is there way to only create session... | stackexchange/codereview |
I think I have found a situation where RescueAttribute is broken. Or maybe I am using co-routines incorrectly.
I have a ViewModel like this:
[Rescue("Rescue")]
class MyViewModel
{
//... left out some bus-logic code here ...
public void Login()
{
yield return Show.Busy();
//the following l... | stackexchange/codereview |
I am running a script that explicitly sets the PYTHONPATH to avoid naming collisions. However, even if I say os.environ['PYTHONPATH'] = '', it looks as though the system is still able to find my old path that "lives" outside the script.
How is my system able to see the old PYTHONPATH even after I explicitly set it to ... | stackexchange/codereview |
I have a global form which I want to use the same form every time on submit, and this form is auto generated depends on how many threads are produced from the database. so I might a two or four form of the same kind when the page is loaded. Also, this type of form will be loaded onto the page on certain request through... | stackexchange/codereview |
i have 2 ASP pages in first page the user choose the database name and in other page take the database name and change the connection string to other database
how i can pass a variable from one page to other by button click and how i receive this variable in other page and how to change the connection string
the connec... | stackexchange/codereview |
When you have a property which you retain in the interface and you alloc somewhere in the code, do you need to release it in the code as well as release it in the dealloc method i.e. would the retain count be 2?
from the interface:
NSMutableData *xmlData;
@property (nonatomic, retain) NSMutableData *xmlData;
from the ... | stackexchange/codereview |
I use the following code (from Bluetooth Chat sample app) to read the incoming data and construct a string out of the bytes read. I want to read until this string has arrived <!MSG>. How to insert this condition with read() function?
The whole string looks like this <MSG><N>xxx<!N><V>yyy<!V><!MSG>. But the read() funct... | stackexchange/codereview |
I have a C# DLL being called from Excel VBA which I have exposed via a COM Callable Wrapper / COM Interop. I want to be able to pass any exceptions which occur in the C# code up onto the VBA client. Are there any recommended approaches to doing this ? Thanks.
| stackexchange/codereview |
I am creating an Flex AIR app which imports data from a zip file into a sqlite db. I need to show a progress bar / "Please Wait" spinner animation so that the user waits till the operation completes.
I have tried to put a pop-up spinner animation but the problem is that the spinner stops spinning as soon as the databa... | stackexchange/codereview |
I have url values in my client-side script. While looping over them, I want to create links that will pass these URL values on-click back to my server-side click handler. The server-side code (/logclick) records the time and destination of the click for audit purposes before the user is directed to the url location tha... | stackexchange/codereview |
Maybe someone somewhere had the same issue and can help me out. I'm using the DateTimeControl in a User Control (markup) which in turn is used on a page that is part of a SharePoint solution.
On some environments, the DateTimeControl styling appears broken. However, using the default site and the tasks list, the same c... | stackexchange/codereview |
I'm writing an app that requires an audio stream to be recording while a backing track is played. I have this working, but there is an inconsistent gap in between playback and record starting.
I don't know if I can do anything to make the sync perfect every time, so I've been trying to track what time each stream star... | stackexchange/codereview |
I fixed some bug related to the way we were using BasicDataSource and though I understand part of it I still have some questions unanswered :)
Problem:
The application was not able to auto-connect to the database after a db failure.
Application is using org.apache.commons.dbcp.BasicDataSource class as a TCP-connection... | stackexchange/codereview |
The check box selection at the drop down list is NOT retained after the result is being populated.
sample code
$("#DDLCheck").multiselect({
header: "Select Options Below"
});
var array_of_checked_values = $("select").multiselect("getChecked").map(function () {
return this.value;
});
i want to show checked opt... | stackexchange/codereview |
I'm unable to set the Comments property of a MembershipUser object.
For example:
MembershipUser mu = Membership.GetUser(username);
mu.Comment = "someComments";
I'd expect this to set the Comment property of mu object to "someComments" and write changes to the database.
Later, I do the followin... | stackexchange/codereview |
I'm working on a custom navigation menu,
I've added the following property within my MenuItem class to allow users add them controls into it.
public class MenuItem : INamingContainer
{
.
.
.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ITemplate Template { get; set; }
}
I can add the tags in asp.ne... | stackexchange/codereview |
I am currently using Pivotal Tracker and I like it for its features. The project I am working on though is basically just a hobby game project on the side (even though I plan to sell it when I am done). So while I do want to advance and work on it in a timely matter, I really don't feel like being "timed" with iteratio... | stackexchange/codereview |
I am trying to pass my array of lat and lng to my PHP script so that the script can save it to an .txt file.
i manage to serialize my array and pass it to the php script... and on the php side, i manage to unserialize it. However, when i write the array to the file, the file only show as "array array array" ... and not... | stackexchange/codereview |
Dictionary dict;
what's the diff between
dict.add(key, value) and dict[key] = value
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.