dynamic

WPF - Dynamic Form with events, database interaction.

Friends, I have a WPF requirement... Just like we create the HTML page, someone said we can also create the XAML pages, call them into the form (on Windows Form). My idea is to create a dynamic form at run-time. This form should supports the XAML based controls rendering, events I searched a lot but I did not find anything ready. I my...

bind ip to subdomain

i have a linux client which uses pppoe to connect to the internet and everytime this client comes online I wanna bind his ipadress to a subdomain. dyndns is not an option due to their TTL. It looks like i have to setup my own nameserver on my root server to accomplish this task because I cannot create the keys needed to run an nsupdate o...

Reporting Services Dynamic Parameter Contents Based on Other Parameter Settings

Is it possible in reporting services to populate a parameter based on a value selected in another parameter? We are looking at replacing a set of existing reports in a legacy reporting platform that does this a lot. ...

C# dynamic operator

Is it possible to have a dynamic operator in c#? string aString = "5"; int a = 5; int b = 6; string op = "<"; //want to do something like dynamically without checking the value of op if( a op b) ...

Is dynamically loading CSS and Javascript Hackish or Good Practice?

I don't want to start a flame war, but I'm curious what people think. The benefits I can think of for dynamically loading: Load files as you need them. Faster load times You can create widgets that hook into your page with just linking to the widget and the widget loads all its files Some (possible) negatives: Loading stuff in th...

c# .NET dynamic object name

I haven't worked with Reflection since the last time I touched Java and I'm a little rusty. I've created a Windows service that uses timers and for some of the classes I need the object name to be dynamic (pulled from a sql table). The scope of the objects' creation is within a while loop and I need to be able to save each object's prope...

Object type determined at runtime - Javascript (ExtJS)

Hi All, This may not be possible (or might be dead easy! :) ) so here it is... I want to be able to create objects of a type that is dependant on a variable set, without the need for a big switch statement. I think it is possible in PHP to do something like... $objectType = "myNewClass"; $newObject = new $objectType(); where the $n...

Managing input focus on an MFC SDI multiple view application

Hi all, We have a relatively large MFC application that uses an SDI to host a number of dynamically created CView- based views. The basic structure of the application is somewhat like Outlook (tree view on the left, dynamic view(s) on the right). I've been puzzling over the correct way to handle focus changing in the app. For example...

Rails Dynamic Validation

How can I dynamically configure a validation in rails? For EXAMPLE if I have validates_length_of :name, within => dynamic The variable "dynamic" will be set by the user. On save, the validation should use the value of the variable "dynamic" to configure the within configuration. ...

AS3 Rounded Text Field

Does anyone know how to create a dynamic textfield with a visible border and rounded corners in AS3? I think I might have to create a rounded movieclip, resize and place it behind the text. I tried this, but I don't see any changes. var styleRound:StyleSheet = new StyleSheet(); styleRound.parseCSS("h4{cornerRadius:10;borderStyle: soli...

load js file in runtime checking whether it is not loaded

hi all how it can be implemented that- load jquery file dynamically whether it is not loaded??? or if loaded then ignore further load.,.?? thanks ...

Multiple jQuery UI Sliders on dynamic pages

I'm generating jQuery UI slider elements in a Rails helper: def add_link(form_builder, method) link_to_function 'Add' do |page| page << "$(\"div#range\"+new_id+\"\").slider({ range: true, min: 1, max: 7, values: [parseInt($(\"#lecture_events_attributes_\"+new_id+\"_from_block\").val()), parseInt($(\"#lect...

Dynamic Table CheckBoxes not having a "Checked" true value

I have been working on a web app using ASP.NET with the code base as C#. I have a dynamic table that resizes based on a return from a SQL query; with a check box added in the third cell of each row. The checkbox is assigned an ID according to an index and the date. When users hit the submit button, the code is supposed to get a value ...

C# - Loading .NET Assembly into Seperate AppDomain So You Can Unload It

What is the proper way to load a .NET assembly into a seperate AppDomain so you can have access to its Types/Classes but still be able to unload it (and reload it). This is a tangent of this previous discussion: http://stackoverflow.com/questions/1137781/c-correct-way-to-load-assembly-find-class-and-call-run-method ...

How to use JQuery, select element by ID and ASP.NET without putting ctl00_ everywhere in the code

I have about 600+ references of code similar to the following... $("#ctl00_ContentMainPane_eliteUser").html And changed the master template, only to find all the code had broken, due to the control hierarchy changing. All javascript is included in separate files, so I cannot use code such as this... $("#<%= eliteUser.clientID%>").ht...

Dynamically include template elements from other apps in Django

App_1 has a view and a template for this view. It would like to "aggregate" information into this view from other sources (i.e. other apps), without having to add or change anything itself. Perhaps App_2 wants to put "hello world" into this designated area in App_1's view. What is the best way of achieving this? Signals come to mind nat...

How do generate screen elements dynamically in the OutSystems platform?

I am using the OutSystems platform and I am having trouble implementing something like a dynamic questionnaire. Admin users should be able to login and add new questions(no limit to number of questions), modify existing questions/answers and delete existing questions. Answer Choices can be of various types like radio buttons, dropdowns, ...

Javascript: "Cancelling" a dynamic script tag?

I use dynamic script tags to request javascript from external domains. Sometimes the request takes too long; is it possible to stop the request or timeout if the requests takes too long? I do not want to use xmlhttprequest because I'd like to avoid having to use a server side proxy. Thanks! ...

Creating <rich:modalPanel> dynamically

How to create a rich:modalPanel dynamically? I need to click one button and generate a floating panel. The catch is, if I click the button, there should be created a second panel, and the first one should remain on its place. I've tried using ui:repeat and reRender, but this overwrites the first panel when I generate a second one. ...

Integrating Dynamic Text into a Video

Hi All, Not sure if this is possible... Basically I have a video of someone holding a white board that I would like to add a message onto, based on what a user wants. So for instance someone could enter their name "Dave" and then the it would automatically generate a video with the words "Hi Dave" on the white board. The board curren...