Now one Submit button is the default focused control. but I need to set the default focus to another imagebutton. Can only use $(document).ready(function(){ctrl.focus();} ? or has another property to fulfill it?
I am trying to set my columns default date time to system datetime.
It shows me an error
Invalid default value for
'InsertionDate'
alter table `vts`.`tblpickpoint`
add column `InsertionDate`
datetime DEFAULT 'Now()' NULL after `PickPointLatLong`
Hi,
I want to set the Masterpage property in Global.asax.
This is what I have done but I get a NullReferenceException on the first line.. Any ideas how to do this?
protected void Application_PreSendRequestContent(Object sender, EventArgs e)
{
System.Web.UI.Page page = System.Web.HttpContext.Current.Handler as System.Web.UI.Page;
if (Session["lang"] == "eng")
{
page.MasterPageFile = "SideMasterPageEng.master";
}
}
I'm trying to set the post_date of a blog post to Wordpress via XMLRPC.
I'm sending the data as a string:
$pubdate = '2010-04-08 13:46:43';
'post_date'=>$pubdate,
It appears 'post_date' is correct?
I also found this post losely related to the issue: http://wordpress.org/support/topic/330597
Can anyone suggest how I would post the date as: dateTime.iso8601
I have a Line Series Chart in Flex with values from 0 to 90. I would like to set the background of the chart in such a way that, 0 - 30 is in green, 31 - 60 is in red and 61 - 90 is in blue.
I am new to Flex. Can someone tell me how this can be done?
Given that I am generating an exe application with AssemblyBuilder, how do I set an icon to it?
I think I should be using
System.Reflection.Emit.AssemblyBuilder.DefineUnmanagedResource
Is there an example how to do it?
A spawn off of an existing eclipse product is required for customization for a client. (hence parallel product development)
The intention was to use Eclipse Fragment, but "Fragments are additive, they cannot override content found in the host."
how can we maintain one set of codes in the svn, yet allow customization by overriding some classes?
the current solution is to have a global flag to indicated which product it is and "if" "else" littered everywhere in the codes ...
m_chart.Series("TestSeries").ChartType = SeriesChartType.Bubble
m_chart.Series("TestSeries").MarkerStyle = MarkerStyle.Circle
m_chart.Series("Default").Points. ...
at this point, how can i set x, y and diameter values?
Have a question about Android "android.graphics.Path", I know how to create a Path from a set points as float[], but could not find anyway to get back the array from the Path object. Is it possible? Thanks in advance.
Hi,
I'm using Luntbuild with Subversion and would like to have our svn tagging environment specific (dev, testing, etc.) and I'm wondering if there's a way to use a variable in the VCS Adapters section.
I'm looking for something like this:
Directory for tags: tags/Builds/${env}/Service
Where ${env} is a variable I can set in the Luntbuild builders section or elsewhere. Does anyone know if what I'm wanting is possible?
Thanks.
If I have 'export BLA="hey there"' in .profile in my home directory, how can I change this later in other directories just by cd into the other directory?
Also, is there a way to just set a new environment variable when I cd into a directory.
My first attempt was to just make another .bashrc file in the directory where I want the change but apparently that proved less than effective.
I'm on OS X btw.
How do i set a tag for a button programmatically?
I later want to compare to tags for a conclusion
ive tried this
-(IBAction)buttonPressed:(id)sender{
NSLog(@"%d", [sender tag]);
}
but that just crashes the app.... :(
any other ideas?
Cheers Guys
Sam
I wrote an implementation of the Mandelbrot set in Java using a JComponent but I'm getting strange results when I render it. Besides that everything compiles right. I'm just not for sure what I'm doing wrong with it. Any code review also would be appreciated.
My source is posted on pastebin since it would take up too much room here:
JMandelbrot.java
Mandelbrat.java
hi
i have a set of point which define a route.
and i must draw their so vehicle moving arrow denoted.
this ponit may be form a curve...
i want to draw arrows on the reout to define witch arrow vehicle goes,
i have a mapviewr java applet and the last i must to do is this work, i want to define arrows on every 10 point on the rout
a thing like this
I'm uploading images in a grails app I'm developing and I want to be able to have an environment variable the determines where these images are. So if I'm working locally it can just pull from /home/MyName/images but once it's in production it will pull from http://images.site.com. How would I do that? I'm assuming i can set up my config.groovy with the variables i'm just not sure how i switch between them or use them in code.
Hi All,
I want to set the starting slide manually for the cycle plugin without using pager. It is not working for me.
Code:
$('#divTrac').cycle({
fx: 'scrollHorz',
speed: 1500,
next: '#leftt',
prev: '#rightt',
startingSlide: 2,
timeout: 0, continuous: false,
pause: 1, sync: 1,
nowrap: 1,
slideExpr: '#myTrack'
});
I want to set up a global hotkey* in VB6 that listens to the keyboard shortcut Win + O.
I have found heaps of messy examples, but nothing which involves the Windows key.
What's the ideal way to setup hotkeys and how does one include the Windows key as a modifier?
* I'm after a global shortcut. That means I don't have to have the application in focus for it to work.