custom load RRS feed

  • Question

  • User-1233944992 posted

    how to customize the loading that the dynamic data does? all is nice, but i dont want it to load all the data from the table, but i want to add some filters on it (just to add a where in the sql query, or a where in linq query, to load a subset of data from table)?

    i am using linq to sql, and i tried overriding oncreated event of it, but with no success

    Thursday, October 9, 2008 5:19 PM

All replies

  • User-330204900 posted

    Hi Nedim.saric, DD always loads by default 10 rows in list.aspx page and also this page has filters in place to filter the data already. to add your own filter in code you will need to add a where parameter to the LinqDataSource on the page.

    Hope this helps [:D]

    Friday, October 10, 2008 2:51 AM
  • User-1233944992 posted

     Yes, but is it possible to this from the declaration of the metaclass, or do i have to make the custom list page (I take it thats the way to customize the generated pages)?

    Friday, October 10, 2008 12:09 PM
  • User-1005219520 posted

    A couple alternatives to creating a dedicated page:

    Friday, October 10, 2008 12:41 PM