Quantcast
Browsing all 41 articles
Browse latest View live

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
Browsing all 41 articles
Browse latest View live