This is a migrated thread and some comments may be shown as answers.

Incorrect Decompile Syntax

1 Answer 23 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Russ
Top achievements
Rank 1
Russ asked on 06 Jul 2012, 03:51 PM
The following is generated for the Function FindChildByText in ControlItemContainer of Telerik.Web.UI:
Protected Friend Function FindChildByText(Of TControlItem)(ByVal text As String, ByVal ignoreCase As Boolean) As RadMenuItem
    Return Me.FindChild(Of TControlItem)(Function(Dim item As TControlItem)
    String.Compare(item.Text, text, ignoreCase) = 0End Function
    )
End Function

Should be:

Protected Friend Function FindChildByText(Of TControlItem)(ByVal text As String, ByVal ignoreCase As Boolean) As RadMenuItem
    Return Me.FindChild(Of TControlItem)(Function(item As TControlItem) String.Compare(item.Text, text, ignoreCase) = 0)
End Function

1 Answer, 1 is accepted

Sort by
0
Nikolay G Rusev
Telerik team
answered on 10 Jul 2012, 08:51 AM
Hi Russ,

 Thanks for pointing out this problem. We've logged it, so it should be fixed in some of our forthcoming releases.

Regards,
Nikolay G Rusev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Russ
Top achievements
Rank 1
Answers by
Nikolay G Rusev
Telerik team
Share this question
or