Hide Insert/Edit/Delete link Based on Permission in Dataview webpart

Hi Guys,
I have Dataview Webpart which will talk to Sql Server and i also have link for Insert/Edit/Delete items in DVWP.Today one of My user said they want to hide link for users who have only Read Permission.Ok No Problem
For Users With Full Control DVWP looks Like Below,Now for Users with Other permission want to hide those icon for Edit/Insert.Click on the Edit Icon and Click on TaskPane-Conditional Formatting and set Condition show content when ddwrt:IfHasRights(9223372036854775807) and u all set.

After Applying Filter Users cant see Link for Edit same way you can do for Insert/Delete link

Thanks
Ron

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s