In a
previous post I’ve shown how to cascade filter an autocomplete's
datasource. The code looked really ugly,
so I promised to take a look at the NRapid's code and see if I can do something
about it. As it turns out, I can, so now you have a neat way to work with
cascade filtering.
This is how
it works before:
This is how
it works now:
The mayor
change from the client code perspective is that now you get the whole view data
in the method call responsible for filtering, instead of the object id, as it
was in the previous version.
And of course, you don't have to write those cryptic functions ;)
And of course, you don't have to write those cryptic functions ;)
You can get the source code of NRapid from here
And the sample app from here
The Northwind database is available from download at http://www.microsoft.com/en-us/download/details.aspx?id=23654
Comments
Post a Comment