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
1 answer
Is there another way to filter a grid view?
At the moment i am using this code below to filter my gridview according to what i have selected in the dropdownlist which is calling a SQL statement which populates it.
protected void SetYear(object sender, EventArgs e)
{
DropDownList…

BlahWoo
- 345
- 4
- 9
- 28
0
votes
2 answers
Change the appearance of gridview
I have a News table in DB that contain (id,title,body) fields.
Now I want to display these news into news.aspx page.
I can use grid view to show them, but i want to change the grid view's appearance,like below image.how can do it?or any idea for…

Hamid Talebi
- 1,298
- 2
- 24
- 42
0
votes
1 answer
MVC'ify WebForms Control
Currently, I am passing data from my codebehind into hidden fields like so:
Code behind: HiddenField statusValue.Value = progressPercent.ToString();
.ASCX page:
In MVC, I would pass a…

user1477388
- 20,790
- 32
- 144
- 264
0
votes
2 answers
Ajax provider returns too much html Asp.Net
I am trying to make a partial update of a page in Asp.net.
I call my .aspx page through ajax to build the content i need to append into a specific spot on my page and previously this has worked for me.
My current problem is that I get the full html…

KennO
- 169
- 1
- 11
0
votes
1 answer
How to edit image's property when using Html.TextAreaFor?
I'm using TextAreaFor Html helper for editing content. Now I insert an image into the box and want to modify it's properties such as width, height.. but I dont see any buttons or context menu help me manage this. How can I figure out to enable this…

Khanh Vu
- 53
- 7
0
votes
1 answer
ASP.NET/Jquery Control Design : Where to keep HTML generation engine
This is a design question. I hope you guys will be able to help me with this.
I am developing an autocomplete control. Its basically a service based control, where the responsibility of the service call is to fetch HTML of the suggestion list…

Apurv
- 1
- 1
0
votes
1 answer
Populating asp.net controls using javascript can't be read on server side
I have an ASP.Net dropdown list that is populated using javascript like this:
Dropdown list:
The javascript code that populates the…

ibininja
- 1,209
- 1
- 15
- 29
0
votes
1 answer
ASP.NET 4.0 using Ajax with existing DropDownList control
I need to have an update occur on the backend every time the user changes a value in a ASP.NET DropDownList control. I want to do this using AJAX so the browser does not do a total refresh and reposition the user off of the control they are…

user31673
- 13,245
- 12
- 58
- 96
0
votes
0 answers
ASP.Net Printer Friendly Page
Morning All,
I am trying to make a web page printer friendly. I have managed to complete this for one of my pages perfectly fine by having another style sheet and the referencing this is my master page.

Betty B
- 185
- 1
- 4
- 20
0
votes
4 answers
How would i add this to a repeater?
Morning,
I am writing a simple quiz app. I am getting my questions and answers from the my MS SQL DB. How would i go about getting this and putting it into say a repeater control, so i can display 6 questions, with their answers.
Or... do you know…

thatuxguy
- 2,418
- 7
- 30
- 51
0
votes
2 answers
.Net: code for BtnLock_Click
I have been trying to apply a solution to some functionality that a user requires on their system.
A user requires me to implement a locking system on their system. They have multiple users which may require to access the site, but the user would…

Betty B
- 185
- 1
- 4
- 20
0
votes
1 answer
Cannot FindControl within dynamically generated table
I have a dynamically generated table and for each row in the table there a some form textboxes for the user to complete and then submit the form. The problem i'm having is accessing the values within these fields once submitted.
The table has the…

Jammer
- 2,330
- 11
- 48
- 77
0
votes
1 answer
asp.net (Visual Studio 2010) form validation controls
Afternoon All,
I have a web form that i wish my user to fill out. On the form i have three fields that i wish to set validation on. One of these is a normal textbox, the other a textbox associated with a calendar icon and my last field is a drop…

Betty B
- 185
- 1
- 4
- 20
0
votes
1 answer
Is there any third-party tool for converting the data on any ASP.NET webforms controls to pdf easily?
Is there any third-party tool for converting the data on any ASP.NET webforms controls to pdf easily? I have a page that contains some ListViews and GridViews and I don't want to print the data on all of them. I want to print specific controls. So…

user1395782
- 107
- 3
- 17
0
votes
2 answers
ASP:Net LinkButton control Postback issue
I have an asp.net linkButton (or imageButton) control in my profile.aspx page. I'am checking Request.Querystring("id") in the page below in the code behind.
http: //localhost:42932/profile.aspx?id=1
When I first load the profile page it is not…

Mtok
- 1,600
- 11
- 36
- 62