Okay so here is "in a nutshell" what I'm trying to accomplish...
Users of my application can go and create a new group. They can specify criteria about other users which they will allow/deny to determine who is allowed to join the group.
Example:
Age: 12 - 16 yrs old
Height: 5 - 6 feet
The data table that stores the rules would be li...
I'm working on an ASP.NET page, which basically is a quick hack around a database. It's used for an internal project and the site is set up in a way to provide several people read/write access to the data. Once a week, we collect a bunch of data from it, add it to an XML file and send it as part of an application update to our customers....
I have come to the conclusion that the very nifty ASP.NET Dynamic Data framework would be even more nifty if one only had to implement model changes from one side, model or DB. Right now, if I add a column or table, I must refresh my EF model, and then the scaffolding does the dirty work.
I would much prefer a mechanism where I can upd...
I have found an adapted RadGrid from Telerik, with some overrides, for use in the ListDetails.aspx page template in dynamic data projects, but a cursory experiment yielded only a vast list of compiler errors. I was wondering if anyone has enjoyed any success here?
I only need the list aspect of the grid, not edit, but I'm trying to ski...
When a particular property on my model is attributed with UIHint("MultilineText_Edit") it renders the multiline text edit in the Details view, but not in the Edit view. In the Edit view it's a tiny little textbox. Any idea how to persuage DD to render that as a multiline in the Edit view as well?
...
Let me start off by saying that I've got very little experience with web-development.
My question is simple, (taking SO as an example), how does the following work?
http://stackoverflow.com/tags/foo
http://stackoverflow.com/tags/bar
I've seen a lot of sites that do this, but I still don't know how this is accomplished (I'll be workin...
I've got a dynamic data app, and I want to sort based on multiple fields like so..
<DisplayColumn("FieldName", "Field1, Field2")> _
DisplayColumn doesn't seem to support more than one field?
...
I have an ASP.NET Dynamic Data application that includes two tables, Departments and KPI's. When I capture KPI's, on the 'List' view, I set the Department field of the dynamic filter to e.g. 'Plant 1', but when I add a new KPI, I still have to select 'Plant 1' in a dropdown.
Is there any way I can cause the dropdown in the 'Insert' vie...
Hello,
I have an array of tags that I'm pulling from a database, I am exporting the tags out into a tag cloud. I'm stuck on getting only the first instance of the word. For example:
$string = "test,test,tag,tag2,tag3";
$getTags = explode("," , $string);
foreach ($getTags as $tag ){
echo($tag);
}
This would output the test...
Hi,
Problem: The urls created between tables with one-to-many relationships are incorrect. How can I fix this?
I'm using LINQ to SQL with Dynamic Data.
I have two tables: Users and Addresses:
* There is a one-to-many from Users TO Addresses ie: A user may have one or more addresses.
* The two tables are NOT linked using their prim...
i want to make a webproject with Subsonic and Dynamic Data...
But when i go register the ContextData a don't have it in subsonic with LINQ...
in Global.asax.cs a have to do something like this
model.RegisterContext(SubSonicRepo, new ContextConfiguration() { ScaffoldAllTables = true });
how can i make it work?
have some way to make ...
I have the following jquery.
$(function() {
$('div#slideshow').append('<img src="images/forsiden/grans_julebrus.jpg" /><img src="images/forsiden/cappelen_hippo.jpg" /><img src="images/forsiden/capplen_grandmarap.jpg" /><img src="images/forsiden/agm_peace.jpg" /><img src="images/forsiden/cappelein_aboriginee.jpg" />');
...
...
I want t...
Hi all
I have the following code:
@profile.update_attributes(params[:xxxx_profile])
where xxxx stands for either male or female. Basically the form submit passes either a set of female_profile[foo] or a male_profile[foo] and i want to change it accordingly. Assuming I have a string that can be inserted in lieu of xxxx, how do I dyn...
I use Entity Framework 4.0 and need to prefilter all queries using TennantId. I modified T4 template to add pre-filter to all ObjectSets like so and it works for "regular" part of the application.
public ObjectSet<Category> Categories
{
get
{
if ((_Categories == null))
{
_Categories = base.CreateObjec...
I need to disable delete button GLOBALLY based on some condition?
The following solutions will not work for me:
http://csharpbits.notaclue.net/2009/07/securing-dynamic-data-preview-4-refresh.html
http://csharpbits.notaclue.net/2008/05/dynamicdata-miscellaneous-bits-part-6.html
Again, I do not want to go into every list and detail page ...
Howdy folks..
I'm trying to design a table in HTML which can add a row when I click "add row" button & the same for deleting an added row if i intend to delete it. I have written a javascript for adding checkbox and text. But I want even combo-boxes in it and I m stuck in the middle. Could you guys just figure it out and let me know ho...
hi all
i have select box where on change i need to grab the value and via remote function get some field names from db and then generate those field further down the form depwning on whatoption from the select box is chosen.
The problem is is that the fields are in a f.form_for so are using the formbuilder f that has the select box in...
Scenario: I have the following structure; Group (parent) -> Item (child).
A Group can have many items.
both group and item only have one editable field (string)
In other parent/child table data I have used a partial view to display both the parent and child data - with the child data being a standard MVC index (i.e. list of items wit...
Hi! let's say i have a few different structure definitions (in fact, i have arround 50 such definitions):
struct Type1{
int i;
float f;
};
struct Type2{
bool b1;
bool b2;
double d;
};
they are all POD, but can contain completely different data.
now, at runtime, i want to decide what type of those i need and then ...
I have a process that builds a list from a database table and runs real time. Every now and then new data gets added to the database table. Querying data from the table every now and then is cumbersome, and time consuming, and this need to be as real time as possible.What is the right way to approach the problem?
The process is as follo...