Skip to main content

All Questions

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"...
Mlle 116's user avatar
  • 1,179
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. ...
Aaditya Ganapathy's user avatar
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....
Sportalcraft's user avatar
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> ...
anothershrubery's user avatar
0 votes
2 answers
2k views

How to get the style of the element in code behind changed by JavaScript

I have a some ASP.NET table rows that are initially invisible. On a click I am running a Javascript function that is changing the style of the table rows showing it or hiding it. To show it : ...
Patrik's user avatar
  • 1,336
0 votes
1 answer
249 views

How to use DropDown list for Client Side?

I am new to Asp.net I am creating website which have DropDown list and few other controls.. Whenever I change dropdown selected index, if it is equals to one of Item then I want to display controls ...
Radix's user avatar
  • 121
0 votes
1 answer
3k views

How access hidden button using javascript

i have a link button to remove the selected value in the user control. If we are adding value to the control means i have to make this link button visible. so i am passing the client id of the link ...
Geeth's user avatar
  • 5,332
0 votes
2 answers
542 views

JavaScript don't hide text area in asp.net

I have strange problem with Javascript, I am trying to implement system to update some stuff, and when I press button I want to hide everything except 'MainContent_UpdateProgress', but text area is ...
Full_Int's user avatar
  • 429
0 votes
1 answer
1k views

Change Form Field Visibility in ModalPopupExtender

Wanted to know if there's a way to change a form field's visibility within a ModalPopup (from ModalPopupExtender) based upon a DropDownList's change in value. This page's technique doesn't seem to ...
user avatar
1 vote
4 answers
6k views

Enable a ASP hidden label in Javascript

I Have a asp label <asp:Label ID="lblstarUKRollNo" Visible="false" runat="server" Text="*" CssClass="star"></asp:Label> and i want to enable it onchange of another textbox which calls a ...
Ishan's user avatar
  • 4,008
3 votes
4 answers
5k views

Change an object visibility with javascript using a checkbox?

i'm really sorry if this question have been asked before but I couldn't find it. Working on a ASP.NET/C# web application. i am creating a label in the code behind and adding it to the page (all ...
Y2theZ's user avatar
  • 10.3k
0 votes
2 answers
989 views

Creating Repeater that is hidden but remains in the markup for Javascript use

Right now I have two repeaters: 1 will be shown when the page loads, the other one I want to remain hidden until a link "Add Stuff" has been clicked. When this is clicked I would ideally like to use ...
Matt's user avatar
  • 1,265
2 votes
2 answers
12k views

JavaScript - control.style.display = "none"; and control.style.display = "";?

When I created a label I set it's display to none in the designer. <asp:Label ID="label1" runat="server" style="display:none;" Text="LABEL" asp:Label> I use javascript to turn the label ...
Johnrad's user avatar
  • 2,645
1 vote
2 answers
827 views

ASP.NET - server side control & javascript interaction

on a page with textbox control, lets say this textbox is disabled on server side page load. What would happen if a javascript tries to set visibility of the textbox to false ? Edit: Can the textbox ...
SoftwareGeek's user avatar
  • 15.6k
7 votes
3 answers
30k views

ASP.NET control with visible=false cannot be used in javascript?

I have an ASP.NET text control "FromDate" whose visible property is set to false, but I wanted a client side javascript to be able to toggle the visibility property using CSS properties element1....
Nevin Mathai's user avatar
  • 2,346

15 30 50 per page