All Questions
Tagged with asp.net visibility
75
questions
0
votes
2
answers
70
views
VB.NET Button Method not setting Visibility to True
In VB.NET Button click event I am unable to set Visible = true. In all examples in the code below the Control visible property is set to False although the code is setting it to True? Does anyone ...
0
votes
1
answer
1k
views
Panel visibility asp.net
Forgive me as this is my first post and I am far from being IT savvy but I have been working on a project for my new job...
I am using Visual Studio 2017 and a asp.net Web form template.
I have ...
1
vote
1
answer
115
views
Making Elements not possible to manipulate Visibility
I have a ASP-WebForm-Application with several User-Rights.
In CodeBehind I am hiding some Elements if the specific Rights aren't given. But with F12 the User could manipulate the Code the get some ...
0
votes
1
answer
62
views
asp.net visibility of button depended on DataTable row value
I would like to add button to ListView only for some of rows. I have something like "online chat" and I want to add delete option only for one user. It is complicated because I would like to have "...
0
votes
1
answer
94
views
Show / Hide Panel with 1 imagebutton
I'm new to asp.net and C#. Right now, I'm creating a small webpage with panels etc.
Situation:
I got a Panel (let's say Panel1). And an Imagebutton (Button1).
I can Show the Panel (onclick event) in ...
1
vote
1
answer
4k
views
asp:Content still visible when using Visible="False"
I have a master page with couple ContentPlaceHolder inside it and added some content page of this master page.
I would like to set Visible="False" on one asp:Content in some page but it's not ...
0
votes
1
answer
1k
views
Setting display none of an asp panel in client side is re-showing it on any linkButtonclick
I am facing a weird issue with visibility of an asp-panel. I have a small form which contains a button inside a panel that makes a div visible.
<div id="myModal" class="modal" style="display: none"...
0
votes
1
answer
1k
views
Pass variable used in aspx page to user control
We are in ASP.Net Webforms. I come from a LAMP Stack mindset...
ASPX Code (part of it)
<asp:Content runat="server" ContentPlaceHolderID="PH_MainContent">
<h3 class="fleft">
&...
0
votes
1
answer
100
views
Button inside content panel in content page can not call div from master page to be displayed
In my Master Page I have a div "ErrorDiv" that I want to call from my content pages to display my error. The problem is that if a button was included inside an Update Panel, div is not shown when I ...
1
vote
4
answers
2k
views
Enable/Disable Controls on selection of Radio using jquery
I am trying to Enable/Disable certain controls depending upon the selection of Radio. it doesn't seem to be working.
I want the disabled text and radio fields to be enabled when yes radio is selected.
...
4
votes
3
answers
4k
views
How to change image visibility in JavaScript?
I tried this, with no success :
JS :
function Hide() {
alert('Hide');
document.getElementById('I').style.visibility = 'none';
}
function show() {
alert('Show');
document....
0
votes
0
answers
104
views
Asp.net visible button when 2 parameters match
Hello I want to make a button visibile when UserId stored in database match with current UserId.
string clientId = Context.User.Identity.GetUserId();
JobDescriptions job = ...
0
votes
1
answer
2k
views
How to change visibility of FooterRow and Columns on Button Click - C#
I have a GridView with about 16 columns, for aesthetic reasons I only want to display certain columns, however if a user wants to insert a row (which uses the footer row) I would need to make the ...
0
votes
2
answers
329
views
Hidden control seen as visible by jQuery
I have a table as such:
<table class="RepaymentTable">
<thead>
<tr>
<td style="width: 200px;">
</td>
<td>
...
1
vote
1
answer
1k
views
How to hide a column inside a repeater when checkbox is checked?
What I am trying to do is access a column (which has the header title "Add to Shopping List") inside a repeater (areaRepeater) that is inside another repeater (locationRepeater). I want to hide it if ...