dynamic

MVC Controller independent of Type of view UpdateModel

I want to use the updateModel in a controller that has no notice of the type of the view. I have different views that have different types but all have an ExternalBase class as inherited type. So in my controller I always have a ExternalBase but the controller doesn't know the correct type. On saving I call a method that gets the co...

Dynamic querystring in JRXML

Hi everyone, I'm trying to build a report that would be smart enough to modify slightly its sql query based on an input parameter of some sort. For example if that special modifying parameter value is "1", it adds a field in the select and adds a group by clause to the query. I've looked into java expressions, but they don't seem to...

How do I create dynamically text in a movie clip using as3?

I would like to create text animated like a comet. I would like to create a gravity effect, accelerate the movie clip on vector, set a starting position on stage and load the text from a xml file. ...

Dynamic LINQ

I have an XML document defined like so XML File <TABLE> <RECORD> <PAGENUMBER> 1 Of 1</PAGENUMBER> <OtherFields1>..</OtherFields1> <OtherFields2>..</OtherFields2> </RECORD> <RECORD> <PAGENUMBER> 1 Of 2</PAGENUMBER> <OtherFields1>..</OtherFields1> <OtherFields2>..</OtherFields2> </RECORD> ...

When I create views from Clearcase explorer, both development and the integration views get created as snapshot.

I do not get the option at all to choose for the views to be snapshot or dynamic. What I would want is the development view to be snapshot and the integration view to be dynamic. Why is it that I am not prompted to let me choose my views to be snapshot/dynamic? ...

How can I get data from dynamic generated controls in ASP .NET MVC?

I want to generate a couple of checkboxes on an ASP .NET MVC page. How can I retrieve their data in a controller after posting the page? ...

Dynamically Set Control Adaptor

In ASP.Net is there a way to dynamically set a control adapter? The standard way to apply a contol adapter is via the ".browser" files. However, I have a situation where I would like to use the control adapter in some circumstances, but not in others - and i can not find a way to achieve this. Any help appreciated. ...

C dynamic string length

There are different ways of creating dynamic strings in C (with length that constantly changes). After some google search, the main way of doing this is to use realloc(). A way I implemented this is using linked lists with 32 bytes chunks for each node. I was wondering if there are better ways of tackling this apart from using realloc...

flex 3 making application height dynamic based on datagrid size

Hi, I need to make my application height dynamic based on the size of a data grid which changes after a user does a search for specific items. Can someone help me with this. Also when im embedding in my html is there a javascript function i can call which can access applicatin height so i can set page accordingly? the javascript needs...

Add Gridview Row AFTER Header

Hi, i'm trying to add a new headerrow to a Gridview. This row should appear below the original headerrow. As far as I know I have two events to choose from: 1.) Gridview_RowDataBound 2.) Gridview_RowCreated Option 1 is not an option as the grid is not binding the data on each postback. Option 2 does not work as expected. I can add th...

Dynamically accessing member of a User-defined objects in PL/SQL

Is there any way to access a dynamically accessing member of a User- defined record, object or reference cursor using a variable? E.g. Something like get_member(my_object, 'member name'); Or maybe my_object.$'member name'; EXECUTE IMMEDIATE won't work as it does not operate within the scope of my procedure. Let me brifly expla...

dynamically assigning datasource to a drop down list

i m trying to create a drop down list that takes values on the basis of previous selection from differnt tables in the database. a table of mine has 3 columns : ID , name and 1st entry date i m provide 3 radiobuttons if 1st radiobutton is checked then the dropdown list should show all the IDs present in the table, if 2nd is checked the...

Linq To Sql Need Dynamic Where Clause over relational tables Help?

I need Help for dynamic where clause over relational tables (one to many) in LinqToSql. User select conditions from page. (there is 4 input that user select the clauses) For example CompanyName and CompanyTitle from Customer table and OrderDate and ShipCity From Order table. But user can select one ore many of them from page interfa...

Jquery Dynamic Form - Quick Question

I have a form and up the top it contains four different radio buttons - the rest of the form changes depending on which of these radio buttons are selected. Currently each 'part' of the form is in its own fieldset and I'm hiding/showing these with Jquery. How can I only submit the data that is relevant to which part of the form is fille...

Dynamic gridview columns event problem

Hi, i have a GridView (selectable) in which I want to generate a dynamic GridView in a new row BELOW the selected row. I can add the row and gridview dynamically in the Gridview1 PreRender event. I need to use this event because: _OnDataBound is not called on every postback (same for _OnRowDataBound) _OnInit is not possible because ...

Is dynamic compilation in a 'ASP.NET Web Application' possible?

Hi, Can I somehow utilize the App_code folder in a web application project to compile code on the fly? It'd be great for plugins. Recently Rob Conery demonstrated its use in his talk at MIX 09 in a ASP.NET MVC app. I tried to do the same in a web app but I can't access the classes under App_Code from anywhere else. But if Rob was able t...

When does a control in a programmatically added TemplateField have its' ID property set?

I have a TemplateField that is dynamically added to a custom GridView. void ITemplate.InstantiateIn(System.Web.UI.Control container) { switch (_templateType) { case ListItemType.Header: if (this.ParentGridView.ShowDeleteHeaderImage) { Image hImg = new I...

Data-driven DUnit testing

The way DUnit normally works is you write some published methods, and DUnit runs them as tests. What I want to do is a little different. I want to create tests at run time based on data. I'm trying to test a particular module that processes input files to creates output files. I have a set of test input files with corresponding known goo...

Dynamic Compiled Plugins in .NET

Hi, Is there a possibility that I can put some of my code in non-compiled form with my application and then make changes to it on the fly and the application can then just use the new version onwards? If it is possible (which i secretly know it is using CodeDOM), are there any issue to watch out for using this approach for pluggability...

Multiple controls with the same ID 'add0' were found. FindControl requires that controls have unique IDs

Previously Called: How to deal with dynamically created controls under load in aspx in response to a question below: the information required to determine which controls to restore is contained in a dedicated viewstate object. I am dynamically creating controls in the codebehind page - these controls are all hooked up to click handler...