Skip to main content

All Questions

Tagged with
0 votes
2 answers
8k views

Problem with setting visibility of div in aspx page

I have a div in checkout.aspx page. The contents of div are as follows: <div id="PaymentDetails" runat="server" style="text-align:center" visible="true"> <asp:Label ID="PaymentDetailsLbl"...
Sreedhar Danturthi's user avatar
0 votes
1 answer
3k views

How to set the div tag visible on post back ASP.NET

I have a textbox that is used for searching. upon clicking the ok button and posting back, the function is called, and gets matching results by using sql query in the aspx.cs file this information ...
user478636's user avatar
  • 3,394
5 votes
1 answer
8k views

Gridview's footer is not visible

I have put some controls in Gridview's footer template, but at run time they are not visible why
Student's user avatar
  • 3,499
1 vote
2 answers
2k views

Retrieve value of TextBox from another class

I have a C# class from which I would like to access a string contained within a TextBox. The TextBox is defined in a an .ascx file. What headers should I put in the class to be able to access this ...
kay's user avatar
  • 11
0 votes
1 answer
885 views

DetailsView resetting visibility on bind?

I am using entity framework 4.0 to bind a database object to a DetailsView on an ascx control. Within the DetailsView, I have a number of asp:panels that I'd like to show/hide depending on what's ...
Chad's user avatar
  • 561
1 vote
2 answers
741 views

controls that have visible set to false

If I have a grid, and it is binded to some data, but the visible=false for the grid, will it consume any resources for initializations or for retrieving data to perform the bindings? How about if the ...
Ryan's user avatar
  • 5,506
2 votes
2 answers
2k views

my invisible dropdownlist does not become visible again at visual studio

I am using Visual Studio 2010, and I created a site (.aspx). I have 2 radiobuttons, and a DropDownList. I want to have an invisible dropdownlist and whenever I click on the one radiobutton then the ...
celticharp's user avatar
0 votes
1 answer
830 views

after xml data bind, the text box visibility does not work

hi i want to set my textbox and button visibility to true when i select "Others" from the dropdownlist. How do i do that? my code behind using System; using System.Data; using System....
jeremychan's user avatar
  • 4,399
0 votes
4 answers
10k views

jquery asp.net button visibility

There is some code like this : if ( bValid ) { $( this ).dialog( "close" ); $("#btnExcel").show(); } and .aspx look like : <form id="form1" runat="server"> <...
Pratik's user avatar
  • 11.7k
0 votes
1 answer
1k views

ASP.net Ajax UpdatePanel Child Control's Visibility Issue

I want to change the visibility of two asp.net image controls (runat="server") at the beginning and the end of the method call duration. I mean, I want the first image displayed and second one remains ...
Farshid's user avatar
  • 5,284
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
0 votes
1 answer
2k views

ASP.NET/VB: changing visibilty of panel inside formview

I have a panel inside a formview that is supposed to become visible when a checkbox (also inside the formview) is checked. I am able to access the controls, but I'm not sure how to actually make it ...
Sara's user avatar
  • 185
0 votes
3 answers
3k views

I cannot change control's visibility on C# code

I want to change controls visibility on c#, but nothing happens. The controls are in an AspxPopupControl and 3 of them are hidden in design time, 1 of them is visible. I use this code to visible them ...
mehmetserif's user avatar
  • 1,207
0 votes
3 answers
785 views

Need debugging hints: Visibility change on Postback works on one page but not another

I have a webform containing a user control. On that user control is a set of radio buttons. When the radio button is changed, a panel and a text box is shown or hidden depending on which radio button ...
y0mbo's user avatar
  • 4,602
7 votes
1 answer
7k views

DetailsView is not visible when there is no data in DataSource

What to do to show DetailsView even when there is no data in underlying datasource? The problem is that when DetailsView is not visible, the command buttons are also not visible. So I can not insert ...
Wodzu's user avatar
  • 6,959

15 30 50 per page