.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

how to Set rectangle hight if it hide

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :Sql Server

Hi All,

I have a Report in these report i want to hide on Rectangle but if the rectangle is hide then it take a space between them.

for ex.  

i have 

Rect A

Rect B

Rect C

and i want to hide Rect B

 but it showing me like this 

Rect A


Rect C


i want 

Rect A

Rect C

i am using SSRS 2008


Please Help me,

Thanks alot

View Complete Post

More Related Resource Links

Hide a repeater in ASP.NET C# if the DataSource contains no items?

I have an ASP.NET page that uses a repeater nested within another repeater to generate a listing of data. It's to the effect of the following:
In the (C#) code-behind I'm basically using LINQ to pull a listing of information from an XML document and bind that information to the first repeater.

Searching for the answer to this, it seems the method is to determine whether the data for the nested repeater is empty. If it is, then you set the visibility of the repeater to false.

CLR Profiler: No Code Can Hide from the Profiling API in the .NET Framework 2.0


The common language runtime (CLR) profiling API makes available information about the application domains, assemblies, and classes that are loaded and used in a process, just-in-time (JIT) compiler notifications, memory usage tracking, tracing of events, exception tracking, managed to unmanaged code transitions, and the state of the runtime. And if that weren't enough, you will find a nicely enhanced profiling API in the .NET Framework 2.0. Find out what's coming up in this next version.

Jay Hilyard

MSDN Magazine January 2005

RDLC Report Hide Export Option

The article RDLC Report Hide Export Option was added by mandandeo on Sunday, August 15, 2010.

protected void ReportViewer1_PreRender(object sender, EventArgs e) {DisableFormat(ReportViewer1, "Pdf"); }protected void DisableFormat(ReportViewer viewer, string formatName) {const System.Reflection.BindingFlags Flags =System.Reflection.BindingFlags

KeepTogether=false on table not working within rectangle


I have an rdlc report that has a table contained within a rectangle. Since I have multiple data sections within the BODY of the report, I am using rectangles to keep them separated.

Anyway, the problem is that <KeepTogether> set to false on the table is not working when the table is contained within the rectangle, causing unwanted page breaks and acting as though KeepToghther is always true. The rectangle does not have <KeepTogether>.  When the table is outside the rectangle everything works fine.

Any ideas?



Hide documents from being access by unauthorized users.


Hi experts,

I would like to know how to hide certain documents (eg. Word, Excel, PPT, PDF) in a document libraries from unauthorized users? I tried implement Target Audience, but it doesn't work. If anyone know, i really appreciate for the guidance.

p/s: If my posting is not relevnt to the thread, please kindly move it to the appropriate places. Thanks!

Can you hide the "Form Template Conflict" message?


We have 100s of Infopath 2003 forms published on our Sharepoint site (MOSS 2007).  These forms are updated constantly.  The problem we have is that anytime we change the form's design (ex. change wording on the form), the user will get the "Form Template Conflict" message when they click on the form.  This is very confusing to them, and although we've asked them to click on "Replace form", they still get confused.

This message is very confusing to anyone, not just a user.  We would like to suppress this message so that every single time we update a form, they don't have to see this.  I'm not sure why it even saves a copy locally on their machines, anyway.  The fact is that in 100% of all cases, they will need to replace the form on their computer.  Renaming the forms every time we edit them is not an option - there are too many and links would all be broken. 

Can anyone tell us how to "hide" or "suppress" this error for our users?  Or design a form on the back-end that won't show this?  Could possibly changing security settings prevent this?  Any suggestions would be appreciated on how to prevent this message from popping every time we update a form.

How to hide 'no actions' on BDC toolbar


On my BDC list web part, I want the pager feature on the toolbar, but not the 'actions' drop down on the toolbar itself, since it never has any actions in it.

Follow up bonus question, why does that 'Actions' option appear there anyway?  It never has any actions that I can find.

Can you actually assign some sort of action there (as opposed to the line items actions in the web part).



wss2.0 update/delete/hide lookup column that does not display any values


Hi All,

I have a document library that contains a Category column that is a lookup field. This is a default column that is a required field when uploading documents to the document library. The Category column is empty and I am unable to amend, hide, make it not required or delete it.

I have gone to Modify settings and columns -> clicked on the Category field to edit, but there is no option to amend the content or delete it. I am only able to amend the Column name and Description.

Since then, I have amended the column name to eg. Category1 and created a new Category field as a lookup and linked it to the correct list.

The problem I am facing now, is that I cannot hide, delete or make the Category1 (old Category) field NOT required. Either I would like to update the original field to display the correct values or alternately hide, delete or make the column not required.

Please help.

Hide li of Ul in menu??



   is it possible to hide certain Li of an Ul and show them at certain page???


<ul class="ProfileMenu">
                                    <li><a class="linkbutton" href="<%=ResolveUrl("~/")%>Home.aspx">Home</a></li>
                                    <li><a class="linkbutton" href="<%=ResolveUrl("~/")%>RegCustomers/CEditProfile.aspx">
                                        Edit Profile</a></li>
                                    <li><a class="linkbutton" href="<%=ResolveUrl("~/")%>RegCustomers/CChangePassword.aspx">
                                        Change Password</a></li>
                                    <li><a class="linkbutton" href="<%=ResolveUrl("~/")%>RegCustomers/CChangePassword.aspx">
                                        View Purchase Detail</a></li>    

suppose i have this(above) in master page.

now when user navigate to certain page then i want to show all LI otherwise just First LI to be visible???

plz guide me..

How to dynamically hide stock edit/display form?


How can I dynamically hide/show the stock edit or display form of a list item?

how to hide/display controls in NewForm.aspx based on dropdown value in SharePoint list



I have 1 dropdown in my sharepoint list with other columns. If dropdown value equal to 'xyz' i need to display some other controls, otherwise these controls should be hidden.

I know we can achieve this with javascript. If any one can provide code or sample then it will be appreciated. or is there any other alternative methods to do this ........

Thanks & Regards, Neerubee

How do I conditionally hide 2 LinkButtons in a Grigview?


Hello Forum,

I'm trying to conditionally hide 2 link buttons within a Gridview(gvPosts), ModifyButton and DeleteButton.  I want the two buttons to hide in every row where the currently logged on Username is not the same as the Username in gvPosts' lbEmpID, a LinkButton control in the same row.  Unfortunately the code is hiding the buttons in every row, including the one where lbEmpID.text = Profile.Username.  My code is below, what am I doing wrong?

Thank you


        Dim lbtn As LinkButton
        For Each rowItem As GridViewRow In gvPosts.Rows
            lbtn = DirectCast(rowItem.Cells(0).FindControl("lbEmpID"), LinkButton)

            If lbtn.Text <> Profile.UserName Then
                Dim Modify As LinkButton
                Dim Remove As LinkButton

                For Each rowItem1 As GridViewRow In gvPosts.Rows


Show/hide dashboard items Sharepoint



I'm having a problem with trying to filter the appearence of items on a sharepoint site by having a dropdown list and filter according to the current value, The method i am using atm is by having javascript and by looping through all the <td> on page. This works for list views, But not for Performance point dashboard objects/web parts, +

Is there a way to somehow get the title of all performance point objects on a page, fill the dropdownbox show/hide depending on the selected item in the box?



Hide link in quick launch

Hello all,

I need help in order to hide a link in wss3.0
of course this link should be visible to some users and hiddden for users who do not have access permission to the link.
currently when the users who do not have the right to the page when they click on the link they get access denied but I want to remove/hide the link so that they don't click on the link to get the access denied message!!
The link I'm trying to hide is located in quick launch.

I have be trying to do it wih-in the wss3.0 platform but seems that there is no solution for it with-in the platform.
 could you please tell me it it has to be done programatically or there is any way which can be done from the platform itself.

has anyone done this before??

please guide me

Programmatically Hide Master Pages from Site Master Page Settings page?



I know there is a field you can check when you edit the properties of a Master Page in the Master Page Gallery to set a Master Page to hidden but ... can anyone think of a way to programmatically hide specific Master Pages from the Site Master Page Settings page?

Maybe this should be two questions:

  1. How do I programmatically access a Master Page in a Master Page Gallery?
  2. Is there a property that can be set that will hide the page from the Site Master Page Settings page?

Issues with dynamically created TabContainer (Hide/Show TabPanel)


I have a web page that contains an UpdatePanel. In that panel, there is a TabContainer control that has 5 TabPanels, only the first one "Tab 1" will be displayed during initial page load. There is an Add button in "Tab 1", whenever it gets clicked, I will add (show) the next TabPanel (Tab 2, Tab 3, etc., all the way to Tab 5). "Tab 2" thru "Tab 5" contains a Close button that will close (hide) the current tab when clicked.

I'm doing all of these from code behind (dynamically create controls in Page_Init event and re-generate them during postback, track each TabPanel's content in a session variable, etc.), and everything seems to work just fine IF after adding several TabPanels, I remove  them in order (i.e. remove Tab 5 first, then Tab 4, Tab 3, etc.). It will NOT work whenever I try to remove a tab in the middle, then I will get all kinds of strange results.

I've attached the sample codes here for reviewing and testing. Any help is greatly appreciated.


==================== demo.aspx page ====================

<%@ Page

Hide data for specific column from a user

Greetings, I have a problem. I would like to restrict showing specific users (or roles or schemas) data in a column. First I thought DENY option will do it but figured out that it won't. DENY denies the column being in the SELECT query. I would still like to call the column but if access to the data in that column is restricted it would show only null values and not the real ones. So... I would like call the next query from user TestUser: SELECT ID,Name,Address FROM Employee But if access to Address is restricted for TestUser I would get results like: ID Name Address 1 John Smith NULL 2 Rick Ross NULL ... Is it possible to do something like that in SQL Server 2005/2008? I was thinking of storing that kind of information in a table (for which tables, which columns for which users access is restricted) and then manipulate it on the application site but my programmers tell me that they use components which always call the full table (like SELECT *).  Thank you for your answer.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend