Show Hyperlink for Certain Pivot Field Members

R

RAGHAVAN JAYARAMAN

I want to display Hyperlink ,only for Certain Members on Pivot Field. I have
a created a calculated Field based on Field which contains Count. The values
for some of the Count contains "0" ( Zero) and i don't want to enable
hyperlink for this
field. Alternatively if enabled hyperlink on Pivot Field , how can cancel
the Hyperlink
click event. I have handled Click event and attached to OWC component but
eventhough i cancel the event , it still launches the hyperlink.
on the event handler , i tried ( return false ) and also event.returnValue =
false.
Both didn't work , but i can capture and display values and cannot cancel
hyperlink
for count that contains "0".

Thanks
 
A

Alvin Bruney - ASP.NET MVP

one way to do this is to iterate the field list and set the items that are
zero to IsHyperlink = false. That will prevent the hyperlink from showing
up; it will render as text.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top