dynamic

Creating Dynamic URLs (#####.example.com)

Is there a way of creating dynamic URLs so when someone access my site with ####.example.com the #### would be a key of where to go. I know Elance does it with usernames, instead of www.elance.com its username.elance.com ...

Selecting and building a Control from a control library dynamically, using the control name from a table.

I have a custom DDL that lives in my Server control library. Currently I add this control to a table by strongly typing the name of the control, the customary way. Control_Library.Report_NumberDDL newDDL = new Control_Library.Report_NumberDDL(); What I want to be able to do is dynamically create that control by pulling the control ...

LINQ to Stored Procedure. Can I call the SP with a dynamic list of parameters instead of strongly typing them?

I'm trying to make my code more dynamic. So I currently call the a stored procedure, with some strongly typed parameters like this var results = datacontext.spReturnUsers(txtUserId.Text, txtUserFirstName.Text, txtUserLastName.Text); Now what I would like to be able to do is loop through and add the parameters dynamically. So if tomo...

Dynamic load data on scroll

Hi, I am working on a web application, where we need to show more than 20,000 rows in a single page. What is the best way to achieve this? As per requirements, we cant use pagination. We are looking at options like Live Scrolling in Adobe Flex..is there any other framework that helps in doing this job efficient and easy??? Thanks in ad...

"dynamic addons" is this the right term?

i'm assigned to research something about how to use “addons” on building a program. Basically, I have one main program that checks for the available components (ocx, dll, etc). Depending on what components there are, it will dynamically create the menus and load the components. is this possible using .net Framework 2.0 or later ...

How to create a matrix with dynamic rows and columns in ASP.NET?

Hello everyone! I have to make a control in ASP.NET that allows me to create a matrix. I have a list of strings (obtained from a method) that will be the rows (each string is one row), and I have another list of strings (obtained from other method) that will be the columns (each string is one column). After that, depending on the row-cl...

Dynamically creating a member ID card as pdf using PHP?

I need to code a PHP script that would let me generate a pdf file which displays a member ID card (something like a credit card used to identify oneself) at a certain resolution. Let me explain: I do have the basic blueprint of the card in png file format. The script needs to drop in a member's name and birthday along with a serial. So ...

Dynamic table partitioning in Oracle

I'm in the process of building a database storage for my app consisting on a single table with a huge data volume (hundreds of millions of records). I'm planning on having an index on the date field, since I'll be doing a batch recovery of all the records in a given period of time every now and then (for example, retrieving all records f...

jQuery reinitialize/refresh draggable/sortable elements dynamically

I have a few functions which I load in the ready() event. These basically make a list draggable, and other areas droppable/sortable. Eg. You can drag a clone into multiple areas (lists in divs), and within these multiple areas, you can sort/reorder them (but only within each area). This works perfectly. I have a button which dynamically...

Best way to implement an ASP.NET MVC list (C#)

I'd like to have a section of my page where, lets say, some basic contact fields can be entered. Without having to hit the "Save" submit button, the user can add more contacts by hitting a "+" button, which adds more fields to the page. This would be fairly easy in standard web forms, but I'm a little lost as to how it should work in MV...

How do I echo dynamic session variables in PHP?

Order Page: On this page, customers can choose to add business card orders with different foreign languages and other options. When the user clicks on a button to add an additional card, javaScript adds a series of form fields and in order to give them unique name attributes, I am simply adding a counter variable at the end of the name ...

Creating Flex components from XML

I have a XML and it has an attribute option or combo box, parsing that i need to create components in my flex dynamically. Viatropos has given a wonderful code, but i am not able to execute it... can anyone produce it... thanks ...

SQL code inside SQL Scalar-value function - want to generalize - optimize

I got this code, I would like to optimize. I basically can add new columns to "Disp" table later on, and I don't want to come back modify this function. I cannot use dynamic SQL. Right? Is there anything else that would work in my case? This is the function: ALTER FUNCTION [GetDate] (@hdrnumber INT, @DateColName VARCHAR(50)) RETURNS D...

Dynamic Curves in silverlight

I am writing a graphic editor kind of thing in silverlight 3 to customize tee shirts. there is a functionality to create curved lines i.e. user draws a straight line and then there is a slider to control the radius of curve and as user changes the radius the curve should be update accordingly. I am really unable to find any link on the ...

how to create a factory that dynamicly extend a class so its type changes but it inherents parent methods.

What I would like to do is have a static factory function that you give it a series of attributes and it returns an object that is of a previously undeclared class that extends a known class. Basically: <?php class foo{ public $a; function increment($b = 1){ $this->a += $b; } } function factory($name, $a){ //returns an ob...

Rhino JavaScript and dynamic scope var creation

I am trying to define a dynamic variable within a function in Rhino JavaScript (specifically what is embedded in Java 6), but I don't want to resort to eval, and I don't want to have to reference it via this. Basically, I want to take an object, and turn every property into a var within the scope of a function... something like: var ab...

how to add whole records of a field in DropDownList from database in asp.net with coding

Hi i want to add the particular field in dropdownlist by coding so hows that's possible ...

java code to create dynamic methods at runtime

I have a dynamic list of variables for which I need to create getter and setter on the fly i.e. during runtime. ...

WPF & Linq to Entities: How can I dynamically display data where it is changed by another user?

Hi, apologies in advance for the noob question, I've only been using WPF for a few weeks and SQL Server for a few days, but I can't find out how to do this anywhere on the web so far. I have a database on SQL Server with one table in it 'User', and have an application that can display data (Username) from that table in a ListView using ...

DynamicJasper font encoding problem

Hello All, I'm new to DynamicJasper, I think it's a great project but for a few days I cannot run simple example which will display polish fonts properly. Details sections is generated without any problems automatically displaying polish letters like 'ć ż ź ą' etc. where title and column headers contain strange letters instead. I was try...