Skip to main content

Microsoft Silverlight

Answered Question How to hide data from a client?RSS Feed

(0)

FFire
FFire

Member

Member

3 points

6 Posts

How to hide data from a client?

I trying to hide some columns data of my table.

I using [ScaffoldColumn(false)] attribute in MyDomainService.metadata.cs.

 But when I debuging by fiddler, I see that scaffolded data is recived by client anyway.

What I need to do to prevent sending some columns of my table to the clients?

sapientcoder
sapientc...

Member

Member

222 points

69 Posts

Answered Question

Re: How to hide data from a client?

If you want to completely prevent RIA services from generating the field on the client and populating it, you can use the [Exclude] attribute. Then it won't exist on the client at all.

-------------------
Bart McDonough
www.inclinetechnical.com

(Please remember to select Mark as Answer on a post that answers your question so others can benefit from the solution.)

FFire
FFire

Member

Member

3 points

6 Posts

Re: Re: How to hide data from a client?

Thank you very much!

 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities