-
[quote user="psyber"]I hope i can get some answers.[/quote] http://code.google.com/p/subsonicproject/source/browse/trunk/SubSonic/Controls/Scaffold.cs This is the source for the Scaffold Control. I think you want to take a look at / step through the GetEditControl method.
-
I've created a scaffold generator, which is using the same code as SubSonic Central. Using Windows Forms, because sonic.exe does not process the /editor command correctly, and I don't want to load the web app up every time I want to generate scaffolds. Download it below. http://www.activeaspsoftware...
-
Hi Guys, I'm Trying to use Scaffold where I have a table product that has a foreing key to category. The Scaffold should place a dropdownlist in the product edit page. Am I right? But here is showing only a text box and not a dropdownlist, what should I do? Thanks
-
I'm putting together a scaffold for a client. They should be able to edit data but not add new rows. Any way to hide the Add option? TIA, HE
-
I dont know if this might be something added to the eventual release but all that is needed to add initial sorting based on a single column is to add the following property to the Scaffold class. One can then set the property at Design time and affect the initial sort. Note: This will also allow you...
-
Hi Buxjr, Could you provide some simple snippet or attachment? I have followed your instruction above but it doesn't work. Thanks
-
Is it possible to have a WYSIWYG control (ex. TinyMCE/Telerik) to open for ntext db fields in edit/add mode? Thanks
-
I have table names that don't make for good caption names. For example, tblProducts produced the caption "Tbl Products". I have added a new property in the subsonic:Scaffold control to set the caption text. Here is the code in C:\Program Files\SubSonic\SubSonic 2.0.3\src\SubSonic\Controls...
-
Hi Guys, I've been using the scaffold control and have come across the following problem: I have 2 tables setup both contain ProductID as primary key ProductionInformation ProductID PK Description Company ProductLatestPrices ProductID PK FK CurrentPrice Qty Basically I have 2 tables that map 1 to...
-
Hi there, Update: I think my problem has to do with a database table that I have which has composite keys. I just tried using the scaffold control in 2.1 latest svn, I found that for many tables in my database this works fine, but for one particular table I have a GUID as foreign key and I noticed that...