Questions tagged [dynamic-data]

Dynamic data denotes information that is asynchronously changed as further updates to the information become available.

966 questions
69
votes
16 answers

Dynamic Database Schema

What is a recommended architecture for providing storage for a dynamic logical database schema? To clarify: Where a system is required to provide storage for a model whose schema may be extended or altered by its users once in production, what are…
Fake Jim
  • 1,122
  • 2
  • 10
  • 10
40
votes
8 answers

App_Code folder is missing in VS 2010

I was trying to create a Dynamic Data Website using VS 2010 RC. An attempt to create an App_Code folder where I would put a LINQ to SQL class, failed. When I selected 'Add ASP.NET Folder' to add the folder, I had options to create only the…
Vadim
  • 19,585
  • 14
  • 61
  • 100
33
votes
13 answers

Why does jQuery UI's datepicker break with a dynamic DOM?

I'm working with a dynamic DOM here, and have called the jQuery UI datepicker to all inputs with a specific class name, in this case .date It works great with the first, static, construct but when I clone it the event handlers don't seem to want to…
Will Morgan
  • 4,285
  • 5
  • 26
  • 40
28
votes
5 answers

go to link on button click - jQuery

I have a script as below $('.button1').click(function() { document.location.href=$(this).attr('id'); }); the button1 has variable unique ids. on click, the page must redirect to url "www.example.com/index.php?id=buttonid" but now the page is…
Alfred
  • 19,306
  • 58
  • 155
  • 232
28
votes
3 answers

AngularJS dynamic form from json data (different types)

I try to create a dynamic form in AngularJS using the data from a JSON. I have this working: HTML

Enrique Aparicio
  • 797
  • 1
  • 6
  • 18
25
votes
8 answers

How do I invoke a validation attribute for testing?

I am using the RegularExpressionAttribute from DataAnnotations for validation and would like to test my regex. Is there a way to invoke the attribute directly in a unit test? I would like to be able to do something similar to this: public class…
CobraGeek
  • 513
  • 1
  • 4
  • 10
24
votes
6 answers

Dynamic (Runtime Generated) Forms in ASP.NET MVC

This is a general design question: How would you implement a dynamic (runtime generated) form in ASP.NET MVC? Here's the situation: A site admin can define form parameters (fields, type of fields, validation) with a GUI (MVC view). As needed, the…
Robert Claypool
  • 4,083
  • 9
  • 47
  • 59
24
votes
7 answers

Why no variable size array in stack?

I don't really understand why I can't have a variable size array on the stack, so something like foo(int n) { int a[n]; } As I understand the stack(-segment) of part of the data-segment and thus it is not of "constant size".
user695652
  • 3,725
  • 3
  • 32
  • 52
24
votes
5 answers

How to give dynamic file name in the appender in log4j.xml

I am using log4j to log information. I have used a log4j.xml file for creating log files. I have given the absolute path for each log file as a param tag value. E.g.:
Bittu
  • 241
  • 1
  • 2
  • 4
24
votes
11 answers

How do you dynamically allocate a matrix?

How do you dynamically allocate a 2D matrix in C++? I have tried based on what I already know: #include int main(){ int rows; int cols; int * arr; arr = new int[rows][cols]; } It works for one parameter, but now for…
chustar
  • 11,327
  • 23
  • 74
  • 113
21
votes
2 answers

how to change timespan variable to a integer type?

I'm trying to convert timespan variable into an integer variable using 'parse'. I get an error that says: Format exception was unhandled: Input string was not in correct format This is the code is have : private void…
Aman Mehrotra
  • 293
  • 2
  • 6
  • 15
17
votes
4 answers

Dynamically call Class with variable number of parameters in the constructor

I know that it is possible to call a function with a variable number of parameters with call_user_func_array() found here -> http://php.net/manual/en/function.call-user-func-array.php . What I want to do is nearly identical, but instead of a…
bmarti44
  • 1,177
  • 2
  • 13
  • 22
15
votes
1 answer

how to dynamically create SQLAlchemy columns

I have a csv file with first line as fields and remaining lines as data. With this file I would like to create a table. Since the fields are quite long and may vary, I want to dynamically create it. After several tries and searches, I figured I…
Nicolas
  • 153
  • 1
  • 1
  • 4
15
votes
4 answers

ASP.NET dynamically created controls and Postback

I know this question has been asked thousands of times, and I've struggled with it before, but for some reason, I can't accomplish what I want to accomplish... I have a dynamically added LinkButton that when clicked will dynamically add a control…
Honus Wagner
  • 2,680
  • 11
  • 41
  • 61
15
votes
2 answers

getElementsByClassName not working

I coded a php page that displays information from a mysql database neatly into tables. I would like to hide empty table rows with an onLoad event handler. Here is a sample table with code that hides a when it has no content. but i can only get…
new star
  • 187
  • 1
  • 1
  • 7
1
2 3
64 65