>Thanks for the code. I see this is what I need:
>
>
<SelectParameters>
> <asp:ProfileParameter Name="sortData" PropertyName="SiteID" Type="String" />
> <asp:Parameter DefaultValue="MasterAdmin" Name="ExcludeRole" Type="String" />
> <asp:ProfileParameter Name="SiteID" PropertyName="SiteID" Type="Int32" />
> </SelectParameters>
>
>So I'll have to change it like this, I think:
>
>
<SelectParameters>
> <asp:ProfileParameter Name="planPK" PropertyName="????" Type="Guid" />
> </SelectParameters>
>
>But I don't know how to define the PropertyName. Where is that set/created?
See my second reply. I think in your case you can not use QueryParameter, ControlParameter, FormParameter or ProfileParameter. That leaves you only to generic parameter and setting its value in code behind. In my blog in the very end I gave a link to the parameter's definition. Check, if any of parameter's types may be applied in your case...
If it's not broken, fix it until it is.
My Blog