ASP.NET Web server controls are objects on ASP.NET Web pages that run when the page is requested and that render markup to a browser. Many Web server controls resemble familiar HTML elements, such as buttons and text boxes. Other controls encompass complex behavior, such as a calendar controls, and controls that manage data connections.
Questions tagged [asp.net-controls]
174 questions
0
votes
2 answers
In ASP.NET Web Forms I want to get control inside child Repeater with javascript
I have Parent repeater which contains another child repeater.
For simplicity let's say that the child repeater contains text box and Requiredvalidator.
Simple example of the markup:
....
…

Marzouk
- 2,650
- 3
- 25
- 56
0
votes
2 answers
NHibernate and ASP.NET Binding to a IList of ?
I have recently started to use Nhibernate and i am quite happy with it until i needed to BIND to ASP.NET controls. I was having major issues binding a gridview to a collection of Products (IList). In the end i was forced to right a small routine to…

Martin
- 23,844
- 55
- 201
- 327
0
votes
1 answer
Adding an asp.net label in between the tags of a parent label control when adding from the code-behind
I am adding a parent asp.net label to my page in the code-behind like this:
Label lbl = new Label();
lbl.ID = "lblPrimary";
lbl.Text = "Testing";
placeholder.Controls.Add(lbl);
I need the end output to look as if I did the following in the…

Blake Rivell
- 13,105
- 31
- 115
- 231
0
votes
1 answer
Adding User Control dynamically
I have made a usercontrol to be used on a website. I am trying to add this user control on a click of a button. I was testing it by adding it dynamically to the page but nothing is showing.
my ascx file is
<%@ Control Language="C#"…

Hasan Zubairi
- 1,037
- 4
- 23
- 57
0
votes
0 answers
How to remove
tag when RepeatLayout is Fow in DataList using vb.net?
I want to skip "br" tag in case RepeatLayout property is set to "Flow" in control.
…

Nanji Mange
- 2,155
- 4
- 29
- 63
0
votes
1 answer
Asp.Net/Telerik Controls cannot have same Id in same page. Any alternatives?
Sorry in advance if this is not the right place to ask this.
I have a task of making a asp.net site into responsive. The site consists of various ASP.NET controls as well as Telerik ones. The problem is that the designs that i have for the mobile…

mathew
- 185
- 4
- 20
0
votes
2 answers
control inside Wizard tag isn't available in code-behind?
I put a Literal control in the tag in the Wizard control.
In the codebehind, I can't access that control.
Why is that?

Blankman
- 259,732
- 324
- 769
- 1,199
0
votes
1 answer
asp.net validator control issue
I have a validator that check an input.
i what that the validator displayed "valid" if the value is valid,
and "invalid" if the value is hasnt passed the validation.
can i manage this without adding an addional lable for the valid state(by setting…

CoffeeCode
- 4,296
- 9
- 40
- 55
0
votes
2 answers
asp.net grid color setting
I have a gridview that is bind to the datatable. how to programmaticaly change the color of the 1-st column, after the binding has been done?

CoffeeCode
- 4,296
- 9
- 40
- 55
0
votes
1 answer
How to select the DropDownList/Select that triggered the change event
I'm new to JQuery and I noticed this line $('#DivID [type=checkbox]') and I was wondering if I can also find the select or option tags using the same method.
Update: I have a div that has more than more tag, I'm trying to get the…

e7na online
- 25
- 5
0
votes
1 answer
How to filter the data bound to GridView control by the QueryString?
I am a new ASP.NET Web Forms developer and I am struggling now in with the best way of filtering the data by the value of QueryString before
binding it to the GridView control. I am binding the GridView to the GetData() method, and I would like to…

Technology Lover
- 259
- 1
- 7
- 19
0
votes
1 answer
How to fix this issue with ASP.NET Menu Control?
I am a new ASP.NET Web Forms developer and I am struggling now in hiding and showing ASP.NET Menu Control Items based on the user role. The roles are defined by me in the database and based on the result of checking the role of the user, the system…

Technology Lover
- 259
- 1
- 7
- 19
0
votes
1 answer
how to check a checkbox on the check of one checkbox in asp.net?
i have two checkboxes.
if 1st text box is…

Awais Alvi
- 29
- 1
- 8
0
votes
1 answer
Maintain Added List Item while binding from datasource
I have a drop down list, and I added some items in it as follows
…

Kronass
- 5,266
- 3
- 19
- 25
0
votes
2 answers
How to access a nested MultiView control in ASP.NET
I have an asp.net page with a multiview control nested within another multiview control. In my code behind I'm trying to access the inner most multiview control to set it's ActiveViewIndex. The problem I'm having is that I don't seem to be able to…

Eden
- 523
- 1
- 7
- 21