I am using ASP.NET dynamic data. In Insert.aspx page, I have a couple of dropdowns to be selected. The fields represented by Dropdown are Required fields in database. So dropdown does not show 'Select' as default option in dropdown. I want to add 'Select' option at top of other records from database shown in dropdown. Note that field is ...
I am using an integer field in the DB to represent collection of booleans in order to save some space. the integer is used in my Business logic and transformed into collection Boolean attributes.
i'v now decided to add "Admin" section to the site using Dynamic data feature, and i am wondering whether there is an option to show the Boolea...
I'm finally digging into Dynamic Data (long overdue). I notice that when I'm viewing the web site, on the main table lists, the primary key field is not displayed.
For example, I have a table that holds Status Codes, with two fields.
StatusCode int identity Primary Key
StatusCodeDescription varchar(25)
On my web site's StatusCodes...
I have a page with an image. I want the client to be able to upload a new image into the database and then be able to switch out the image from within the CMS. Once they switch it in the CMS, I want PHP to edit the background image in the external css file.
Is it possible to do that? I know how to have PHP switch out an image tag in th...
Using the default Microsoft Dynamic Data List grid, is it possible to filter the grid with the null / not null value of a nullable DateTime field?
...
Horrors, I'm stuckk with only 3G access to the net, so I would like to download some solid references to Entity Framework and Dynamic Data that I can get by with while offline, as I'm no expert on these.
...
I feel like this should be easy, but I don't see any way to do it.
I'm using ASP.NET Dynamic Data with Linq to SQL. I've got a table with an Association to the Technician table. The Parent Property is TechAssignment, and on the web form I'm using a DynamicField to display it.
This works fine really, it correctly sees it as a For...
Where can I intercept reads and updates for scaffolded tables? I need to make certain records or fields read only to certain people and or after a certain date? I also have a Departments list, where clicking a department brings up a list of Categories for that department. I need to block access to the Department list to normal users, ...
I have just meticulously followed MS instructions for customising a dynamic data page template for one table. Create the folder CustomPages/MyTable/List.aspx, and copy PageTemplates/List.aspx into that folder, but I now get compiler error because I have duplicated methods in both List.aspx files.
What am I doing wrong?
Just in: I f...
In a scaffolded page in ASP.NET Dynamic Data, if the entity has a foreign key field, and the value you seek is not in the the primary key table, i.e. is not in the drop-down, you have to abandon your edits to the entity, add the sought foreign key value to its table, and return to your original entity.
How could I go about adding a 'New...
I have an ASP.NET Dynamic Data application (using Entity Framework) in which I have just discovered a duplicate key error when attempting a database insert. However, I had to use SQL Profiler to find the error. The insert template page just silently did nothing.
How can I trap errors like this and log them and maybe display a message?...
I have 5 different entities for which dynamic data(with LINQTOSQL) was generated.
On Insert(Insert.aspx) of any of these entities, if there is an error, I would like to notify user that error happened and possibly show some generic error message.
1) I am not talking about regular required field errors but something like "Unique constra...
I want to know about the availability of Forms APIs for ASP.NET, either for MVC or WebForms. I am learning about Django right now, and I really love their forms APIs. Having a similar thing in .net will be very interesting as most of my time is wasted on UI issues.
Microsoft Dynamic Data gives me similar features, but it's not mature en...
Im just starting with localization today and need some information.
I have a project running in ASP.net MVC using .resx (global / local) files to place text based on the chosen language on the page. But this is premade/static content. How to do this for, for instance, new posts if you have a blog? Do you have to do it by loading differe...
Hello all ,
I am developing an iPhone application in which I am fetching data from a web service currently located on a local server in LAN.
Now I am fetching my data located on a local server with url something like this :
http:\192.168.0.150\service\service.asmx\dataFetchingMethod
But In future if my url changes i.e server somethin...
Is it advisable or even possible to have a dynamically growing array of structs fed and read by different concurrently running posix threads? Where do I have to look for best practices for applications of that sort - are there any which are "common wisdom"? I am new to this area and would need some initial pointers for where to start and...
I have a Dynamic Data website and while inserting a record into a table, the foreign key relationship shown as a drop-down uses the wrong field for it's select item text value.
How can I change the drop-down such that when working with this one table, it will use a different column as the value in the drop-down?
thank you
...
Hi,
I was just playing around with ckeditor and can't get the darn thing to work for me. I somehow need to "data bind" the text box just before or at the same time of post back. How do I do that?
Loading the data is fine but when I click update I need to somehow retrieve the new value of the text box. It's not as easy as to call the cl...
I have a small dynamic data application, and have just spend several minutes on a wild goose chase because VS 2008 kept highlighting a line in my List.aspx page template, telling me the tag was badly formed, while the error was in my Edit.aspx page template. I had edited the Edit template and broken a tag, but VS kept highlighting the ...
I am trying to implement a find feature on a list.
In the action script method to implement the find, I'm trying to loop over the contents of the list.dataProvider and get the contents of the labelField which is dynamic. Is there a way to use the contents of a variable to get the field out of a ObjectProxy. I see that ObjectProxy ha...