Questions tagged [dynamic]

Dynamic is a widely used term that, in general, describes a decision made by the program at run-time rather than at compile time.

Programs that perform some common tasks based on program inputs in contrast with programs that predetermine the task beforehand. Dynamic is often used to mean:

  • The dynamic keyword
  • using JavaScript to manipulate web pages in the browser.
  • have features that allow the of a variable to be bound at run-time.
  • Program generated content, especially content in contrast with web pages created by a person and stored on disk, ready to serve.
27209 questions
6
votes
2 answers

Using dynamic type instead of none-possible generic properties

Consider the following code: public dynamic DataGrid { get; private set; } public DataGridForm GridConfig() where TData : class { return DataGrid = new DataGridForm(); } I'm trying…
Saber Amani
  • 6,409
  • 12
  • 53
  • 88
6
votes
3 answers

Dynamic method calling in VB without reflection

I want to format any numeric type using a method call like so: Option Infer On Option Strict Off Imports System.Runtime.CompilerServices Namespace GPR Module GPRExtensions Public Function…
Pat
  • 16,515
  • 15
  • 95
  • 114
6
votes
1 answer

Javascript pass value to asp.net

$(document).ready(function () { $("#MainContent_ddlFieldName").live("change", function () { var id = $(this).val(); var name = $(this + "option:selected").text(); $('#<%= lblValue.ClientID…
user2530833
  • 1,008
  • 1
  • 10
  • 25
6
votes
1 answer

Dynamic header and footer liferay

I am searching the way to use a jsp file in the web content, because i do a dynamic load of dates to show on a navigation bar. Also, I want set this web content as header and footer. Actually my page is this, http://pachonweb.no-ip.org. I want to…
Juan
  • 83
  • 1
  • 8
6
votes
3 answers

video.js - update video source when clicking on a link

I am trying to have a page with embedded video that dynamically will change the source when a link below the video frame is clicked. The source videos are on my host server. i.e. this pic illustrates it: ![sample of page][1] I came across this page,…
user2397591
  • 81
  • 1
  • 1
  • 3
6
votes
3 answers

convert from dynamic xml to c# object

I need inputs in converting an dynamic xml to defined c# object model My sample xml is as below : 10 Dino Esposito…
KRP
  • 131
  • 1
  • 3
  • 15
6
votes
3 answers

How to create dynamic external javascript files?

I am thinking about how some online services create dynamic JavaScript files. These files have the .js extension, but their content is not static. I found a sample file here. It seems that this script is generated with a higher level programming…
Patartics Milán
  • 4,858
  • 4
  • 26
  • 32
6
votes
2 answers

RDLC, Dynamic Picture based on parameter, c#

Is it possible to add a dynamic picture to a parameter in rdlc report? for example: =SWITCH(Parameters!picture.Value="1","picture1.jpg", Parameters!picture.Value="2","picture2.png") or something similar? or any other way to use the…
C.H
  • 73
  • 1
  • 4
6
votes
1 answer

Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda

I'm Using Dynamic Linq library and there is Source code and basic docu and the Nuget version PM> Install-Package DynamicLINQ I'm trying to construct a where clause that involves Guids I have tried with the string "Id == @0". The parameter array…
phil soady
  • 11,043
  • 5
  • 50
  • 95
6
votes
1 answer

Static vs. dynamic content in docpad system - how to create dynamic content?

DocPad is described as being comparable to other static site generators, but it is also described as being "not limited to static site generation". I've been browsing the DocPad website and other documentation and haven't yet been able to find…
songololo
  • 4,724
  • 5
  • 35
  • 49
6
votes
2 answers

How to send dynamic key and value both in jQuery Ajax?

I want to send both the key and value to be dynamic(and the key is dynamic like coming from user input). Then how to send the request. I want something like this: var requestString; if(something) requestString = "something"; else …
soham
  • 1,508
  • 6
  • 30
  • 47
6
votes
1 answer

Why do I have to explicitly cast JValue to a target type before using it?

I have some code like this: var jsonSerializer = new JsonSerializer(); var json = @"{ ""LastModifiedTime"": ""2013-04-19T18:18:09+03:00"" }"; var result = jsonSerializer.Deserialize(new JsonTextReader(new…
Per Lundberg
  • 3,837
  • 1
  • 36
  • 46
6
votes
4 answers

Passing Static arrays as parameters for Dynamic arrays in Delphi

I have this array: const / var _Data : array [0..4] of array [0..3] of Double = ((0,0,0,0), (0,0,1,1), (1,0,1,0), (1,1,0,0), (1,1,1,1)); I wanna pass it as param value for this procedure: procedure NN.NetTraining(Data:…
6
votes
6 answers

Dynamically change endpoint address in WSO2 ESB

How can I set the endpoint address dynamically? I set endpoint address in a property at runtime, and need to replace the URI of endpoint address with its value. How can I set the URI value of address with this value?
Ramtin Ramtin
  • 173
  • 3
  • 12
6
votes
3 answers

Wicket Dynamic Image URL

Short question: I need to turn a dynamic image pulled from a database into a URL without adding a component to the displaying page (such as using a NonCachingImage) using Wicket. The perfect solution (that I've implemented in other Frameworks) is…
Michael Krauklis
  • 3,914
  • 2
  • 28
  • 28