locked
Expression editor of LINQDataSource RRS feed

  • Question

  • User-1631673752 posted

    Hi

    I'm trying to find attribute usage of expression editor, what I'm trying to do is a developing composite control which includes LINQDataSource control properties like "Select", "ContextTypeName",

    When you click "Select" property of LINQDataSource control VS pops up an expression editor with parameter editor, i couldn't able to find attribute lists/usage of this property so i can't utilize this editor.

    I'll appriciate if someone help for this editor attribute lists/usage, I've searched system.web.ui.design.webcontrols namespace (also MSDN) but couldn't find anything.

    Best Regards

    Hayri

    Wednesday, April 30, 2008 11:14 PM

Answers

All replies

  • User-60428002 posted

    try the following article

    http://www.codeguru.com/vb/controls/vbnet_controls/article.php/c3977/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 5, 2008 4:01 AM
  • User-182899352 posted

    The LinqDataSource designer has a editor that allows you to edit the expressions and associated parameters from the property grid.  The EditorAttribute that specifies this can be found on the LinqDataSourceDesigner's Where, OrderBy, GroupBy and Select properties.  The designer is overriding the ControlDesigner.PreFilterProperties method in order to control what properties are seen in the property grid.

     Is this what you were looking for?

    Monday, May 12, 2008 1:17 PM