I have different g:textfields throughout my code, and I want to make some of the to only accept numbers or letters, but I don't want to validate for them, I want them to be immediate, like if the textfield does not accept numbers when I try to write one nothing should happen.
Thanks in advance!
FG
...
hi,
In WPF
how to give TAB-header color dynamically- for WPF tab-Controls- Tabitem.?
ThanX .
...
Hello
I've a JavaScript function in my page through which i make some elements in the page as 'JQuery UI droppable'.
function setDroppableTargets()
{
$(.cssDockZone).droppable();
}
But the elements with the class cssDockZone is created dynamically upon user interaction. So in the code behind i create the control first and finally at ...
i'm pretty confused over the following issue and would be grateful for some clarity.
generally, how i work involves designing all of my graphics in Flash Authoring, converting them to Sprite symbols by changing the base class to flash.display.Sprite, give my instances names and finally export them to ActionScript.
the approach actually...
I'm trying to write a data access layer for an AJAX web project. This DAL has to convert data coming in via an AJAX servlet to objects that can be passed to a PreparedStatement for execution.
Data in the AJAX servlet, retrieved by using HttpServletRequest.getParameter(...), come in as strings.
In each data class, I have a known set of ...
Is there anyway I can create a dynamically filled ListView when the class does not extend ListActivity?
I appreciate the help.
...
I'm trying to get a google gadget I created to auto-set it's height, but the gadgets.window.adjustHeight() function call doesn't seem to do anything.
I also tried it like this: gadgets.util.registerOnLoadHandler(function() {gadgets.window.adjustHeight();}); but still the height didn't change.
Here is the full gadget code:
<?xml version...
Hi,
I started off with the tutorial here and added drawing code for a view (covering the entire screen). The scene appears static and not dynamic even though I'm calling world.step(,). How does one make the scene dynamic and is my drawing the right implementation or is there a better way (using jBox2d functions)?
private class Physics...
Hi how do you 301 redirect http:// www.site.com/blog/index.php?id=uu5 to http:// www.newsite.com/ in .htaccess?
Thanks!
...
Hello
Can I dynamically create controls in Silverlight without a postback to the server (even an asynchronous one). Does silverlight drag-n-drop requires postback?
I'm asking this because I've an asp.net application where I dynamically create/delete lots of controls. So after the postback I'm getting error with view state stating that...
Dynamic row generation in GridView.
I have one button called 'Add New Row' and database Fields: First name, Last Name, Location, Status
status --- Working, Suspended, Resigned
If i click the 'Add NewRow' button then i should get new row in gridview and All fields(First Name, Last Name, Location) should be text fields. Status field s...
I'm adding several instances of an MC (bread_mc) into a container MC (wall_mc). wall_mc has been added to a shop class and that is where i'm called the rest of my functions from. Also the wall_mc is scrolled left and right with mouseX & mouseY values. I've set up a function to add the bread_mc to the wall at different x/y positions.
Fu...
I have an arrayCollection with strings in them, is there some way I can databind a RadioButtonGroup to the array collection? As we can do for combo boxes
var cBox:ComboBox = new ComboBox();
cBox.dataProvider = arrayCollection;
There is no RadioButtonGroup.dataprovider property. I know this has to be done manually, what is the most eff...
I have a ObservableCollection<Class1> where Class1 contains x and y positions as properties. The list can be of any size. I have a ViewModel that exposes the collection as a property. In my view, I want to generate a list of elements based on the collection and then set their x and y positions based on the Class1 Object's properties.
Ho...
$('.Editcoupon').click(function() {
var strRef = '';
var strid = '';
var strSelectedval = '';
strRef = $(this).attr('ref');
strid = $(this).attr('id');
strqueryvalue = $(this).attr('ref').match(/Defaultcoupon=([0-9]+)/)[1];
$("#Coupondialog-modal" + stri...
Hi,
I have one question, I have such code
this._engine = Python.CreateEngine();
ScriptSource source = this._engine.CreateScriptSourceFromString(script.SourceCode);
ScriptScope scope = this._engine.CreateScope();
ObjectOperations operations = this._engine.Operations;
source.Execute(scope);
And I am trying to execute IronPython code fr...
I'm a novice user of C language. I have a problem in allocating a dynamic array.
I used to allocate memory outside the loop such as a=(int*)malloc(5* sizeof(int)); and every thing worked fine. Now I want to allocate memory to each element one by one in a loop using malloc(), but the code is not working.
I've tried different options li...
I'm a bit new to OOP, but i've been playing with it for about a month now. Usually, i create a class called Mysql which has a __construct function that connects to a database directly. And after that i have lots of different functions that gets or inserts data into different tables.
On the bus home today, i began thinking and i came up ...
I am using NHibernate in a DAL layer dll. Local config file(app.config) is being used for db connection. This DAL component can be used in 2 different exe's and a NUnit test harness. Business requirement from Client is to have config information reside in exe's app.config file.
Is there a way to configure NHibernate to look for an ap...
I'm trying to remove the link href from an unordered list item.
The menu has been created by wordpress and I'm trying to remove the link from the first item, so that when I user rolls over the item the menu still drops down but the very first item (the one that triggers the drop down) isn't clickable.
Currently I just have href="#" in ...