CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 How To Hide A Grid

Print topic Send  topic

Author Message
afrausto

Posts: 66
Posted: 11/20/2008, 11:37 AM

Hello,

I know how to preform this in Classic ASP, but I'm not finding the CCS Help section useful using .NET. Can someone please tell me how to hide a Grid using VB.Net. I'm hiding the grid based on the user group of the logged in user.

Thanks for you help.
View profile  Send private message
Tuong Do
Posted: 12/04/2008, 1:58 PM

There are 2 ways to do this

The first way is the easiest

That is on the grid property, select Retricted to 'Yes' and select only the
group that you want to be able to see the grid.


The second way is, say for example the grid name is TASK

On the before show event of the TASK grid

'Grid TASK Event BeforeShow. Action Custom Code @68-73254650
' -------------------------
' Write your own code here.
If Session("GroupID") = "The group ID" Then
TASKRepeater.visible = false
End If
' -------------------------
'End Grid TASK Event BeforeShow. Action Custom Code



"afrausto" <afrausto@forum.codecharge> wrote in message
news:84925bc668c65e@news.codecharge.com...
> Hello,
>
> I know how to preform this in Classic ASP, but I'm not finding the CCS
> Help
> section useful using .NET. Can someone please tell me how to hide a Grid
> using
> VB.Net. I'm hiding the grid based on the user group of the logged in user.
>
> Thanks for you help.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.