Guys,
I have a dynamic HTML table which gets populated by coldfusion and displayed, I have a column called performace which holds numeric values. I need to select the top 3 best performace value in the column and then highlight the entire rows in different colours. Can any one help me in doing it?
My server can run only Javascript and ...
Hi,
I'm currently working on a very simple aplication, and I intended to make it change the visual aspect depending on the screen size. The application just has 6 buttons like this:
I'm using the AbsoluteLayout, and changing the x and y of the buttons with the methods offsetLeftAndRight and offsetTopAndBottom. I'm not changing the l...
I'm try jQuery for dynamic Add/Remove row function, but I meet some question in IE8 , it's clone() objcet cannot modify element name and cannot use javascript form (prhIndexed[i].prhSrc).functionKey, but in FF it works very well, source code as attachment, please give me a favor to solve the problem.
<script type="text/javascript" src=...
I have this upsert function that allows me to modify the fill_rate column of a row.
CREATE FUNCTION upsert_fillrate_alarming(integer, boolean) RETURNS VOID AS '
DECLARE
num ALIAS FOR $1;
dat ALIAS FOR $2;
BEGIN
LOOP
-- First try to update.
UPDATE alarming SET fill_rate = dat WHERE equipid = num;
IF FOUND TH...
The code below works great. If the Get and Use methods are in different assemblies, the code fails with a RuntimeBinderException. This is because the .Net runtime system only guarantees commonality of anonymous types (<string, int> in this case) within assemblies.
Is there any way to fool the runtime system to overcome this? I can expe...
Scenario is very simple
somewhere in the code I have this
dynamic myVariable = GetDataThatLooksVerySimilarButNotTheSame();
//how to do this?
if (myVariable.MyProperty.Exists)
//Do stuff
So basically the question is how to check (avoiding exceptions) that a certain property is available in my dynamic variable.
I could do GetType...
I have written a nifty function that will accept a system.object, reflect on its properties and serialize the object into a JSON string. It looks like this:
public class JSONSerializer
{
public string Serialize(object obj)
Now, I want to be able to do this to serialize a dynamic/ExpandoObject, but because my serializer uses refle...
Hello,
I would like to build a dynamic form builder using asp.net with jquery and a sqlserver as backend.
The approach I wish to use is to modify the table structure based on user request so I have a database which is structured as one would normally store data in sqlserver i.e. mostly a single table (barring consideration of sub-table...
Hi
I need to compare 2 sets of musical pieces (i.e. a playing-taken in MIDI format-note details extracted and saved in a database table, against sheet music-taken into XML format). When evaluating playing against sheet music (i.e.note details-pitch, duration, rhythm), note alignment needs to be done - to identify missed/extra/incorrect/...
Hi everyone,
i was asked this question in an interview.
late binding is dynamically identifying the symbol during the runtime as far as my knowledge is concerned.please correct me if i am wrong.
i was asked a question like what are some of the problem that we would face when we use late binding in c++. i was actually out of my own ide...
I have seen how you can hide a column by scaffolding. But how about hiding it from the gridview only and showing it on the details screen.
Thanks!
...
Hi,
I'm working on coloring a map according to the four-color theorem (http://en.wikipedia.org/wiki/Four_color_theorem) with SWI-Prolog. So far my program looks like this:
colour(red).
colour(blue).
map_color(A,B,C) :- colour(A),
colour(B),
colour(C),
C \= B,
C \= A.
(the actual progam would be mo...
I'm looking for a way to modify properties on a dynamic C# 4.0 object with the name of the property known only at runtime.
Is there a way to do something like (ExpandoObject is just used as an example, this could be any class that implements IDynamicMetaObjectProvider):
string key = "TestKey";
dynamic e = new ExpandoObject();
e[key] = ...
Hi all,
Does anyone know a tool or better an API to track my dynamic IP address?
Thanks so much for your help.
Yours,
Ling
...
I have a main.php page
the following code is hardcoded in main form
<form action="test.php" method="POST">
the following is the code generated dynamically using AJAX
<input type="checkbox" value="test" name="test[]"/>
<input type="checkbox" value="test1" name="test[]"/>
<input type="submit" value="go">
ideally speaking on clicki...
Is there any reason to NOT have a webpage retrieve it's main content on the fly?
For example, I have a page that has a header and a footer, and in the middle of this page is an empty div. When you click on one of the buttons in the header, an http GET is done behind the scenes and the .innerHTML() of the empty div is replaced with th...
<form action="">
<input type="text" value="" class="card-num" />
<input type="text" value="" class="card-cvv2"/>
</form>
<div class="description">
<p class="card-num">Enter your 16 digit card number</p>
<p class="card-cvv2">Enter the 3 digit number at the back of your card</p>
</div>
All descriptions are hidden initial...
Hi
I Have a class which implement IDynamicMetaObjectProvider
I implement the BindGetMember Method from DynamicMetaObject.
Now when i Generate a dynamic Object and Access a property every call gets implicit passed through the BindGetMember Method.
I want that at first the language Binder get his chance before my code comes in.
It is s...
I have a ItemsControl in a ScrollViewer, and when the items exceed the width of the ScrollViewer they are put into a ContextMenu and shown as a DropDown instead. My problem is that when the Context Menu is first loaded, it saves the saves the size of the Menu and does not redraw when more commands get added/removed.
For example, a panel...
I am working in Flash Builder 4 with Google Map's ActionScript API. I have created a map, loaded some custom markers onto it and added some MouseEvent listeners to each marker.
The trouble comes when I load an InfoWindow panel. I want to dynamically set the htmlContent based off of information stored in a database. The trouble is tha...