bewilliams.interactiveinfonet.info on SubSonic magic
Pingback from bewilliams.interactiveinfonet.infoBryan carmen interview wendy williams - Wendy williams - Be williams
View Articlealabamaweddings.interactiveinfonet.info on SubSonic magic
Pingback from alabamaweddings.interactiveinfonet.infoAlabama weddings - Alabama reception - Alabama wedding video
View ArticleShelly Saunders on SubSonic magic
Thanks for this article. It achieved exactly what I was looking for and has saved me no end of time.
View ArticleEtienneT on SubSonic magic
When you make your controller class that inherit from SubSonicController, make sure that you override the property SearchFields. In your method called by the ods, add a parameter string search.Here is...
View ArticleMH on SubSonic magic
This is definitely great information, however my issue is that since I am using an ObjectDataSource, I am not instatiating the controller directly, and hence I can't call the AddSearch method on it. Is...
View ArticleJason Kealey on SubSonic magic
Take a look at the following method in the controller. protected Query AddSearch(Query q, string search)It basically adds all the fields you list under the SearchFields property and if you're looking...
View ArticleMH on SubSonic magic
This is a great article, thank you very much. I have read your other articles about SubSonic as well and tried it out on a ListView bound to an ObjectDataSource and the paging and sorting work...
View ArticleJason Kealey on SubSonic magic
I posted a quick update to version 2.1 here:blog.lavablast.com/.../...ing-to-SubSonic-v21.aspx
View ArticleJason Kealey on SubSonic magic
The only thing that changes from above is that we do the following in our controller: public partial class ViewAdminProductListController: SubSonicController<ViewAdminProductList,...
View ArticleReTox on SubSonic magic
Aha. So you guys are adding these classes manually? SubSonic doesn't generate controllers for views - or is there some option I am missing???Anyway, thanks for clarification
View ArticleJason Kealey on SubSonic magic
The exact same code applies to views. SubSonic generates the objects/collections for views as well and we end up using those in most places.
View ArticleReTox on SubSonic magic
Hi, I understand completely the need to extend basic controllers functionality, and I think your code is fine, but...What is the point of having a grid with a data displayed from one single database...
View ArticleJason Kealey on SubSonic magic
I think our implementation should still work if you changed to the RecordBase or whatever base class they have no, as (I think) we use little to no functionality from these classes. Don't hesitate to...
View ArticleSoulis on SubSonic magic
Yeah, (I think I have the most up to date 2.1 from the svn repository) and currently abstract record, and active record are not directly linked(knowing next to nothing about the pattern I was hoping...
View ArticleEtienneT on SubSonic magic
Did you change the code for SubSonicController to be able to use SubSonic 2.1?I think you get this compilation error because you changed SubSonicController<T, C>where T : AbstractRecord<T>,...
View ArticleJason Kealey on SubSonic magic
In 2.0.3, ActiveRecord extends AbstractRecord ... is this still the case in 2.1?
View ArticleSoulis on SubSonic magic
I didnt mean to imply that this change is incompatible with future versions. I did override the templates directory. Here's what happens:I change the CS, ODS controller template to inherit from...
View ArticleEtienneT on SubSonic magic
Hum, we are using SubSonic 2.0.3, I don't know if this could change something, we never tested 2.1 right now, but this should work anyway.It seems like you didn't tell sonic.exe where to go look for...
View ArticleSoulis on SubSonic magic
I am probably misunderstanding the instructions, but if you could be so kind as to bear with me.. SubSonic 2.1, modified the CS/ODS template to inherit from SubSonicController. Code generation happens,...
View ArticleEtienneT on SubSonic magic
Oh yeah, those are the properties you should set in your object data source for better results: SelectMethod="FetchAll"SelectCountMethod="GetCount"SortParameterName="sort"EnablePaging="true"So with...
View ArticleRyan on SubSonic magic
(smacks head)I see what I did...I didn't supply the sort Parameter name on the ODS.The Devil is in the details....sigh.
View Articleblog.wekeroad.com on SubSonic magic
Pingback from blog.wekeroad.comRob Conery » SubSonic: The Collection Data Visualizer And Other Goodies
View ArticleEtienneT on SubSonic magic
You are lucky I had the exact same exception this morning on my project. And I used the Sort method of the gridview which doesn't seem to play well with ODS.gvUsers.Sort("UserName",...
View ArticleRyan on SubSonic magic
Interestingly, I just tried reproducing the demo I did earlier, but now I get "The data source 'ObjectDataSource1' does not support sorting with IEnumerable data. Automatic sorting is only supported...
View ArticleJason Kealey on SubSonic magic
Interesting. They must have built this feature into the SqlDataSource control... We don't use these types of fields, so I'm just guessing here.
View ArticleRyan on SubSonic magic
Hi Jason,Weird, seems as if I can do it with a SQLDataSource controll I ought to be able to do it with the SubSonic controller...unless it is somehow related to SubSonic. Though your workaround would...
View ArticleJason Kealey on SubSonic magic
Hey,These are database limitations - unrelated to subsonic. 1) www.codeplex.com/.../View.aspx?WorkItemId=11557[...] tries to sort columns of text, ntext, and image data types. These cannot be placed in...
View ArticleRyan on SubSonic magic
Great article works like a charm...but....there's always a but right?Is there any reason why a text column wouldn't be sortable following this approach? All my other columns work great (char, int, date...
View Articletechtoolblog.com on SubSonic magic
Pingback from techtoolblog.comThe Daily Find #10 - TechToolBlog
View Articlecode-inside.de on SubSonic magic
Pingback from code-inside.deWöchentliche Rundablage: ASP.NET MVC, Visual Studio 2008, .NET 3.5, Silverlight, SubSonic, WPF… | Code-Inside Blog
View ArticleEtienneT on SubSonic magic
Here is a simple example:[DataObjectMethod(DataObjectMethodType.Select, false)] public ItemGroupCollection FetchByProductAuthority(string pa, string search, string user, string sort, int startRowIndex,...
View Articleranomore on SubSonic magic
Excellent post. I'd be interested to see more detail about the product / user level filters you've built (without asking you to give away any company secrets, of course). ;)
View Articlelazycoder.com on SubSonic magic
Pingback from lazycoder.comlinks for 2007-11-29 | Lazycoder
View ArticleCedric on SubSonic magic
I think you forget a close for your reader in FetchAllFromColumn method!public static List<string> FetchAllFromColumn(string columnName) { Query q = CreateQuery(); List<string> result = new...
View ArticleRay on SubSonic magic
Ah, I just realised that it should be:public partial class <%=tbl.ClassName %>Controller : SubSonicController[<]<%=tbl.ClassName %>, <%=tbl.ClassName %>Collection[>]
View ArticleJason Kealey on SubSonic magic
You wrote Controller instead of Collection in your template. It ends with <%=tbl.ClassName%>Collection>
View ArticleRay on SubSonic magic
Thanks Etienne, great article! I'm getting a funny error when trying to build with the SubSonicController as the base class:Template Change (in CS_ODSController.aspx):public partial class...
View ArticleDotNetKicks.com on SubSonic magic
Trackback from DotNetKicks.comSubSonic ObjectDataSource = less code
View Article