Quantcast
Browsing latest articles
Browse All 41 View Live

bewilliams.interactiveinfonet.info on SubSonic magic

Pingback from bewilliams.interactiveinfonet.infoBryan carmen interview wendy williams - Wendy williams - Be williams

View Article


alabamaweddings.interactiveinfonet.info on SubSonic magic

Pingback from alabamaweddings.interactiveinfonet.infoAlabama weddings - Alabama reception - Alabama wedding video

View Article


Shelly 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 Article

MH on SubSonic magic

OK, got it. Thank you very much!

View Article

EtienneT 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 Article


MH 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 Article

Jason 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 Article

MH 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 Article


Jason Kealey on SubSonic magic

I posted a quick update to version 2.1 here:blog.lavablast.com/.../...ing-to-SubSonic-v21.aspx

View Article


Jason 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 Article

Image may be NSFW.
Clik here to view.

ReTox 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 Article

Jason 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 Article

ReTox 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 Article


Jason 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 Article

Soulis 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 Article


EtienneT 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 Article

Jason Kealey on SubSonic magic

In 2.0.3, ActiveRecord extends AbstractRecord ... is this still the case in 2.1?

View Article


Soulis 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 Article

EtienneT 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 Article

Image may be NSFW.
Clik here to view.

Soulis 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 Article

EtienneT 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 Article


Ryan 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 Article


blog.wekeroad.com on SubSonic magic

Pingback from blog.wekeroad.comRob Conery » SubSonic: The Collection Data Visualizer And Other Goodies

View Article

EtienneT 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 Article

Ryan 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 Article


Jason 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 Article

Ryan 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 Article

Jason 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 Article

Ryan 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 Article



techtoolblog.com on SubSonic magic

Pingback from techtoolblog.comThe Daily Find #10 - TechToolBlog

View Article

code-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 Article

EtienneT 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 Article

ranomore 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 Article


lazycoder.com on SubSonic magic

Pingback from lazycoder.comlinks for 2007-11-29 | Lazycoder

View Article

EtienneT on SubSonic magic

Indeed! Thanks for the catch!

View Article

Cedric 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 Article


Ray on SubSonic magic

Thanks Jason, didn't see your message before replying earlier.

View Article


Ray on SubSonic magic

Ah, I just realised that it should be:public partial class <%=tbl.ClassName %>Controller : SubSonicController[<]<%=tbl.ClassName %>, <%=tbl.ClassName %>Collection[>]

View Article

Jason Kealey on SubSonic magic

You wrote Controller instead of Collection in your template. It ends with <%=tbl.ClassName%>Collection>

View Article

Ray 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 Article

DotNetKicks.com on SubSonic magic

Trackback from DotNetKicks.comSubSonic ObjectDataSource = less code

View Article

Browsing latest articles
Browse All 41 View Live