I have DW 8 code using this:
Pageview.User.SecondaryUserID.ToString()
What's the DW 9 equivalent? Would this work?
Pageview.User.CurrentSecondaryUser != null ? Pageview.User.CurrentSecondaryUser.ID.ToString() : ""
Imar
I have DW 8 code using this:
Pageview.User.SecondaryUserID.ToString()
What's the DW 9 equivalent? Would this work?
Pageview.User.CurrentSecondaryUser != null ? Pageview.User.CurrentSecondaryUser.ID.ToString() : ""
Imar
Yes, except your PageView.User can also be null
Thanks, yeah, ran into that already ;-)
You must be logged in to post in the forum