asp.net-controls Questions

2

Solved

I uses asp.net listview control to display the details. Each item has the group details. For demo purposes group is hard coded. I want to display the listview as shown below Right now, I have t...
Julio asked 21/3, 2018 at 21:55

1

Solved

How do you obtain a strongly typed header class from the namespace System.Net.Http.Headers from an ASP.NET Core controller? In a controller derived from Controller, Request.Headers is available, bu...
Involution asked 4/10, 2016 at 11:46

5

Solved

I have a Master Page that have a asp:Panel control and the code that sets Visible = False in it's code behind. Now i want to change Visible = True in one of content page. How do it? Master page c...
Token asked 7/5, 2013 at 11:29

6

Solved

The Label control in ASP.NET seems to render <span> tags, but is there a server control to render HTML within a <div>? Sure, I could set display: block and it might look the same, but ...
Jandy asked 15/4, 2011 at 9:57

9

Solved

I have multiple dropdownlist in a page and would like to disable all if user selects a checkbox which reads disable all. So far I have this code and it is not working. Any suggestions? foreach (Co...
Emmalineemmalyn asked 2/2, 2009 at 23:1

7

Solved

Is it possible to set the ClientID of any asp.net server control? How can I do this?
Kantian asked 15/9, 2009 at 17:34

4

Solved

I have a project and I am trying to register a custom server control (there is no .ascx file) on the page. I am currently using Class Declaration namespace MyApp.Controls{ public class CustomCo...

2

Solved

This question points out Literal vs Label while this question points out Panel VS. PlaceHolder but just today I was debating with my colleague on using PlacHolder vs Literal for adding HTML markup ...

2

To my mind the advantage of implicit localization over explicit localization is that if you have more than one property to localize for a given control, it's a more economical syntax. In the case ...

5

Solved

I want to create a Repeater that displays the header/footer based on properties, only if the DataSource is empty. public class Repeater : System.Web.UI.WebControls.Repeater { public bool ShowHead...
Heartfelt asked 17/9, 2010 at 14:51

10

This is the IF -Else ladder which I have created to focus first visible control on my form.According to the requirement any control can be hidden on the form.So i had to find first visible control ...
Jareb asked 8/4, 2010 at 13:48

3

Solved

I want to do something like (Updated example): <uc:Tabs> <Tab Name="A handy tab"> <Node Url="~/Default.aspx" /> <Node Url="~/Node2.aspx" /> </Tab> <Tab Name=...
British asked 3/3, 2009 at 0:15
1

© 2022 - 2024 — McMap. All rights reserved.