I am trying to load a bunch of .NET hosted controls into a page dynamically using JavaScript to inject OBJECT tags into the HTML.
My problem is that the objects do not instantiate, only the static object that is visible on page load will appear. Is there any way to get these objects to load?
<h1>
Visible static</h1>
<div id="st...
Hi there,
I am trying to create a menu using ASP (I have never used ASP before, im a PHP man) using values stored in a database.
basically the html layout i want is as such:
<ul>
<li>
<ul class="sub-menu">
<li class="sub-menu-li">Test</li>
</ul>
</li>
</ul>
I need to loop around the root menu items rs("AD_Level") which is e...
hi,
i'm having this markup:
<div plug=tButton></div>
and wrote a little plugin which makes a button ouf of the div like this:
var cmd = $("[plug]");
cmd.tButton();
my question: when only having the div (and its plug-attribute), how can i apply the corresponding plugin to it (without using eval)?
it should be like:
var plug = div...
Consider this about the up-coming Iron Python implementation.
In theory it would allow monkey patching right? Good or bad, it matters not. Given someone else's non-testable code (at least easily) the dynamic keyword would allow monkey patching would it not? This has great potential for C# and VB if I'm reading it right.
What are the th...
Hi!
I am new to google wave robot programming and for some time I am looking for an answer to my question. Consider example:
(A) - Thirdparty Data Source with Thirdparty API
(B) - Google Robot
(C) - Google Wave
Is there a way to create robot (B), which will periodically interact with (A) updating the (C) even if user is away (doesn...
I have a dynamically generated Dropdown for which I need to change the selected value using Jquery.
<select class="txtfield country" id="ctl00_MainContentAreaPlaceHolder_personalInformation_country" name="ctl00$MainContentAreaPlaceHolder$personalInformation$country">
<option value="FJ">FIDJI</option>
<option value="FI">FINLANDE...
I am a newbie VB.NET 2005 programmer. I would like to develop an application that does not show my real IP Address instead it shows some fake IP Address. There is a commercial Application called "HIDE MY IP" it uses the same functionality.
I don't want to make same software, but i need this aspect of the software for my new application....
Hi!
I want to get my hands on an assembly by saving it to disc or reflect it at runtime. The assembly is generated dynamically in memory by third party.
Does anyone know how to do this?
//Daniel
...
I'm not exactly a C++ newbie, but I have had little serious dealings with it in the past, so my knowledge of its facilities is rather sketchy.
I'm writing a quick proof-of-concept program in C++ and I need a dynamically sizeable buffer of binary data. That is, I'm going to receive data from a network socket and I don't know how much the...
I have a SQL Server that houses Several Databases. I have a Main Database that holds several tables with entities and ID numbers. Then, each one of those entities has a correlating database (not a table, but database) with all of its information. For example, if the an entity in the MAIN database has an ID number of 1, there would be an ...
Here is a mockup of what I want to do:
alist = [1,2,3,4,5] # create a vanilla python list object
replacef (alist) # replace __setitem__, extend,... with custom functions
alist[0]=2 # now the custom __setitem__ is called
This is for a DSL project where the syntax should be as close to normal python as possible, so sub...
how could I declare several js array dynamically?
For example, here is what tried but failed:
<script type="text/javascript">
for (i=0;i<10;i++)
{
var "arr_"+i = new Array();
}
Thanks!
...
I'm writing a simple wrapper to "duck" a dynamic object against a known interface:
interface IFoo { string Bar(int fred); }
class DuckFoo : IFoo
{
private readonly dynamic duck;
public DuckFoo(dynamic duck)
{
this.duck = duck;
}
public string Bar(int fred)
{
return duck.Bar(fred);
}
}
Thi...
I have a large web form application that I want to allow the user to export their data in case they don't want to complete the entire form at once. Then when they return they can import the data and continue where they left off.
The reason for this is part of the requirement for the client is that no database is to be used.
I've gotten...
I am currently writing a module which interfaces with a black box 3rd party DLL for a check scanner. I need to have the DLL functions loaded dynamically, and this is working for all but one function.
The SetScanParameters function has a record structure as a parameter, which I believe is somehow interfering with the methodology I am usin...
Hi
I use dynamic data entities web application.......I want in list.aspx page all the columns of my DB but when I insert new item, I want that in the page insert.aspx aren´t visible the Id and the dateCreated (this 2 value, create in automatic)
Please help me
...
Hi to all,
first i would like to say i am Newbie in C++.
As part of my master thesis i am writing a program in C++ which also get as parameters the variables m and d (both integers). Were d is the power of 2 (this means 2^d elements). Parameter m define the number of possible interactions between one element and the total group (2^d el...
Hi,
As the title says, what I am trying to do is to have jQuery add a number of extra fieldsets based on the value selected in a drop-down box. For example, when the page loads, the drop-down has a default value of 1, and the default fieldset is displayed. Now, if the user selects a different value in that drop-down, the number of field...
Hi,
I am trying to call Max, but am getting and error in CreateQuery saying that expression does not implement IQueryable<int>
What am I doing wrong here.
DataContext dc = new DataContext(Connection.ConnectionString);
typeof(Catalog).AssemblyQualifiedName.Dump();
Dictionary<string, IQueryable> dict = new Dictionary<string, IQueryable>...
On my site, I present a slideshow of content, for which I'm using jquery. So the user will click on an arrow and the next div (which is hidden by default) will display. Within each div, (whether showing or not) there are hidden span tags that contain the title of the content the user is looking at and a summary of the content...
...