visible

asp.net visibility of an element in master page

Hi, I need to set visibility for an option called SVN in a navigation bar for a web form as false. this is its code in the master page.... if (page.CurrentUser.Permissions.SVN()) ctrlLinkBar.AddLink("SVN", "SVN.aspx"); how do i do that? ...

Getting the visible rect of a zoomed UIImage on the screen

I have a UIImageView inside a UIScrollView. The UIImageView contains a UIViewContentModeScaleAspectFit content mode. I've also set the content size of the UIScrollview to the frame size (width, height) of my UIImageView and implemented a UIScrollview delegate method (viewForZoomingInScrollView:) to enable the zooming feature of my app. ...

C# Show/hide element on MouseHover/MouseLeave of the parent

In C#, we have the following: A UserControl containing a PictureBox and an invisible FlowPanel. What I want to achieve: When the UserControl is hovered (MouseHover), the invisible FlowPanel will be set to visible = true. When the mouse leaves the UserControl or FlowPanel, the FlowPanel should be set visible = false. Using MouseL...

Why does Visible='<%#false%>' work on a GridView but not label?

I am scratching my head over this, but have no idea what the problem is. My actual code is <asp:Label ID="Label1" runat="server" Text="abc" Visible='<%#Request.QueryString["ListName"] == null %>' /> <asp:GridView ID="gvLists" runat="server" Visible='<%#Request.QueryString["ListName"] == null %>' /> As you can...

WPF MediaElement stops when losing visibility, override

Hey guys, I have a situation where a MediaElement may loose visibility, which cause the video to stop, I want to override this behavior and let it continue in the background. Thoughts? ...

asp label visible false and true in telerik grid depends on combo box selected item

hi depends on the selected telerik combox item i would like to display the label name and text box when im writing the code like this in aspx page <telerik:GridTemplateColumn DataField="DeductionCode" Visible="false" UniqueName="DeductionCode" HeaderText="DeductionCode"> <ItemTemplate> ...

Hidden Window Display on Users Desktop

We have a VB6 application that uses a non-visible window (form) for DDE communication. We have some clients reporting that occasionally they can see this window on their desktop. I did a scan through the code for any visible = true or show's on the form in question, but nothing. This about all we do with it: Load frmDDELink frmDDELin...

Why I can view my php source code online?

I have this weird problem. I purchased a very well-known 3rd-party php-based forum software. Uploaded to my server, run it for few weeks. This morning, when I visit my site, it display ALL the php code, including all the comments etc, like what you will see if you open it with notepad. VERY scary, my database config which is in php file ...

display progress bar user control asp.net

Hi, I have a user control(.ascx page)...which is a progress bar...it has no code in "code behind". Instead a javascript function in .ascx page...which will display a progress bar. I need to display this progress bar(user control) only when user click a button. But the issue is ..it is getting displayed at the starting itself..that is on...

Make container overflow its parent without making the parent bigger in IE 6?

I used the three column layout in A List Apart's "In Search of The Holy Grail" article for a store I'm working on that uses Magento. Inside the middle column, at the top, there's a container that I would like to overflow so it extends outside the middle column and goes over the top of the right column. Like below. _____________________...

How can I scroll on scaled control ?

hi guys, I need a zooming mechanism. So I found one on http://stackoverflow.com/questions/850554/zoom-control-to-wpf-form which seem to be suitable for me. I have made a slider and apply ScaleTransform. My questions is: Is there any way I can wrap this into a scroll viewer so that I could scroll to the enlarged part that is not visi...

C# UserControl Visible Property

Hello, How can I override a UserControl Visible property ? Or how could I determine within a control when it changes its Visible state ? Later edit: I need it to work in .NET CF 3.5. Thanks. ...

Android - how update widget often but only when it is visible?

I'm going to create widget which needs to update its content every minute (it shows time-related data). However, there is no need to update widget if it is currently invisible, which means: screen is turned off another app is running widget is placed on another (invisible) home screen tab What is the best way to update only visible ...

Newline when using asp.net visible=false

Hi, when using asp.net´s visible=false e.g. for a htmlgenericcontrol asp.net renders a newline for a control that is set visible=false. How to prevent this behavior? I just have a <ul> and then <li runat="server" id="x"></li> <li runat="server" id="x"></li> <li runat="server" id="x"></li> So one <li> per line. If I set one o...

Making a Label Visible/Not Visible in Delphi

I would like a button to change a label between being visible and not visible when clicked. I Tried the following code, but it doesnt work: Var: Hidden : Boolean; Begin If Hidden = True Then Begin Label6.Visible := True; Hidden := False; End; If Hidden = False Then Begin Label6.Vi...

Jquery if visible conditional not working

Hey, I have a page going here that uses jQuery: http://treethink.com/services What I am trying to do is, if a slide or sub-page is shown in there, change the background colour and colour of the button. To do this I tried saying, if a certain div is shown, the background colour of a certain button changes. However, you can see there tha...

Hide jButton in Netbeans

Hi, Is there a way to hide a jButton in Netbeans? (similar to button.visible = false in VS) ...

jQuery detect visible but hidden elements

This seems like it should be fairly easy - but I can't find the right selector for it According to the docs (http://api.jquery.com/hidden-selector/ and http://api.jquery.com/visible-selector/)... Elements can be considered hidden for several reasons: An ancestor element is hidden, so the element is not shown on the page. What I want ...

How to check visibility of multiple div's in simpler way?

Currently i'm using below code which works well. $("#topperAtBaseLevel:visible, #lowerAtBaseLevel:visible, #midAtBaseLevel").hide(); any optimised code? (i cant use same class) i mean how to use :visible rightly? ...

jQuery: How can I check if a block in my document is inside the viewport or outside of it?

I am basically trying to trigger a function if the footer is inside the viewport. How can I check whether the footer is currently visible in the viewport? I assume I will have to put it into the $(window).scroll() event so that the listener becomes true once the footer becomes visible but what the function should be I just can't figure...