Hi,
I am having a user control which exposes a template and uses a ListViewDataItem as a container. However in some cases it is only a ListViewItem, and i want to check for that.
Let's say i have another user control with a custom property inside the template than i want to do something like that:
RowID="<%# IsNull(Container) ? -1 : Container.DisplayIndex %>"
Unfortunately i get The name 'IsNull' does not exist in the current context, IIF is also not available.
Must be a solution for that..
Thx!
...
Go to the complete details ...