dynamic

dynamically inserting tooltip in javascript

It is possible dynamically insert tooltip? I was trying to do that but it isnt working. Thank you for answers. I was testing jQuery tooltip and prototype(prototip). Here is a code: www.web-tvorba.webz.cz/code.html ...

How to use "contains" or "like" in a dynamic linq query?

The help file that came with Dynamic Linq in the CSharpSamples.zip does not show any examples of using contains or like. Are there any simple workarounds for doing this? i.e where (col like @col) doesn't work. ...

Dynamic controls lost when postback

Hi I load my self-made webuser controls dynamically. A user chooses a template and depending on that template I load some self-made webuser controls (.ascx) that are defined in a sql server database. When the user fills in the TextBoxes and clicks on the submit button, the entries in the TextBoxes should be saved in my database. The pro...

Javascript onclick stops working, multiple dynamically created divs.

I have run into a strange problem, i am creating a lot of dynamically divs. And i recently found out that some of my divs doesn't fire the onclick event? All the divs are created using the same template, so why are some not working? Most of the time, its the 4-5 from the bottom. If you click on one of the others and then try again, you ...

Change size of 2D dynamic array in C

I create a 2D dynamic array: a = (int**)calloc(n-1, sizeof(int)); for(i = 0; i < (n-1); i++) a[i] = (int*)calloc(n, sizeof(int)); Then I need to change its size (add new line): a = (int**)realloc(a, n); a[n] = (int*)calloc(n, sizeof(int)); But when i want to print my array, void Print(void){ int i, j; for(i = 0; i < (...

Flex: Failing gracefully on ReferenceError: Error #1056:

Hi I have a text field which I would like to bind to a dynamic object. <mx:TextInput id="ti4" text="{selectedObj['someProp']}" valueCommit="{selectedObj['someProp'] = ti4.text}" x="1011.5" y="835"/> If the property doesn't exist I get a reference error - Is there any way to fail a little more gracefully? Any ideas much appreciated. ...

Adding code to the beginning / end of methods in runtime dynamically

I know instrumentation is a technique to add trace code dynamically into the methods to enable tracing and debugging. I was wondering if this is only a "Trace" option, hard coded into the CLR to add only trace code, or is there the ability to add any code to the methods? For example, I want to check for a condition in the beginning of ...

Getting the DirectShow VideoRender filter to respond to MediaType changes on its Input Pin?

Below is the code extract from my decoder transform filter which takes in data from my source filter which is taking RTP network data from an IP camera. The source filter, decode filter can dynamically respond to changes in the camera image dimensions since I need to handle resolution changes in the decode library. I've used the 'Rec...

Telerik ASP.NET AJAX - Ajax Update Label with dynamic created Docks

Hi, i try to Update a simple Label on Close Event of dynamic created RadDock. Works fine so far, Label gets the correct values but doesnt updates it. RadDock dock = new RadDock(); dock.DockMode = DockMode.Docked; dock.UniqueName = Guid.NewGuid().ToString(); dock.ID = string.Format("RadDock{0}", do...

How can I execute an insert with data from a repeater-generated form whose data source is SQL?

I'm storing multilingual data in a database whose model is language normalized (like this). For this particular problem the key for the table in question consists of a value entered by the user and a language from the language table. I'd like to dynamically generate a form with input fields for all available languages. The user inputs...

Dynamic List<T> type

Hi all, Is it possible to create a new List<T> where the T is dynamically set at runtime? Cheers ...

C# 4.0 'dynamic' doesn't set ref/out arguments

I'm experimenting with DynamicObject. One of the things I try to do is setting the values of ref/out arguments, as shown in the code below. However, I am not able to have the values of i and j in Main() set properly (even though they are set correctly in TryInvokeMember()). Does anyone know how to call a DynamicObject object with ref...

How to create dynamic tables/fields in asp.net similar to phpMyAdmin

I just wanna ask if there's a way in C#/ASP.NET to create 'dynamic' tables/fields similar to phpMyAdmin: Any suggestions/comments? ...

finding numbers of days between two date to make a dynamic columns [closed]

Dear all, I have a select query that currently produces the following results: DoctorName Team 1 2 3 4 5 6 7 ... 31 Visited dr. As   A                             x    x ...      2 times dr. Sc   A                          x          ...      1 times dr. Gh...

Dynamic expression tree how to

Hello everybody! Implemented a generic repository with several Methods. One of those is this: public IEnumerable<T> Find(Expression<Func<T, bool>> where) { return _objectSet.Where(where); } Given <T> to be <Culture> it is easy to call this like this: Expression<Func<Culture, bool>> whereClause = c => c.Cu...

asp.net dynamic checkboxes

OK, I hope this hasn't been asked anywhere before (my searching suggests not - but I know thats not a guarentee!!), if it has, please point me to it etc?? My problem is basically this... I have an asp.net page which a user types in a "search" box, the code behind functions/subs etc produce a list of users matching the search criteria. ...

Groovy Mixin on Instance (Dynamic Mixin)

I'm trying to achieve following: class A { def foo() { "foo" } } class B { def bar() { "bar" } } A.mixin B def a = new A() a.foo() + a.bar() with one significant difference - I would like to do the mixin on the instance: a.mixin B but this results in groovy.lang.MissingMethodException: No signature of method: A.mixin() is ...

Populate Dynamically created ASPX Page

Well The title might be a lil confusing, what I am currently doing is creating an aspx form dynamically and saving its data by using Server.Transfer("PrssPage.aspx"). On ProcessPage.aspx I am using the Previous Page property to save the data entered by the user using the dynamically created form. Each Dynamic Form is provided an ID for...

Using Build Manager Class to Load ASPX Files and Populate its Controls

I am using BuildManager Class to Load a dynamically generated ASPX File, please note that it does not have a corresponding .cs file. Using Following code I am able to load the aspx file, I am even able to loop through the control collection of the dynamically created aspx file, but when I am assigning values to controls they are not sho...

dynamic video streaming in flash

Hello, Is there any way to do dynamic video streaming in flash without using Flash Media Server (FMS) 3.5 as it's a very expensive software but using some open-source software or in any other way. It will be really helpful if you can provide me the solution as quickly as possible. It's really very urgent. ...