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
3 answers
How to update the GridView after checking the checkbox and clicking the save button?
I need to set these GridViews for updating by the admin. So since I have
a lot of employees and a lot of courses in each GridView, I think the best
way to update the GridView is to show the blank fields as checkboxes and when
the Admin wants to…

Mohammed Al-Ali
- 75
- 2
- 10
0
votes
1 answer
How to display different data from the same table in Repeater that exists in many pages of the website?
I have a Repeater that shows safety messages from the Safety Messages Table in the database. Since I will put this Repeater in many pages of the Website, I want to this Repeater to show different messages in each page. For example, if it shows…

Mohammed Al-Ali
- 75
- 2
- 10
0
votes
0 answers
Intermittent ASP.NET Errors in Safari Browser on OSX
I have an application that is using ASP.NET 4.0 Webforms on IIS 6.0 that has been operational for multiple years. A recent deployment to the app has caused some very random (to us) intermittent issues in the Safari browser (not any other…

S.Kiers
- 4,086
- 3
- 32
- 38
0
votes
1 answer
How to write the columns header of the GridView in two or three lines instead of long one line?
I have a GridView with a lot of information and columns. The Header of each column is so long, so I want to write it in two or three lines instead of one line. How to do that?

Mohammed Al-Ali
- 75
- 2
- 10
0
votes
1 answer
ASP.NET: How to user the UploadFile Control inside ListView Control for uploading document in the web application?
I am developing a web application using ASP.NET. Now, I am working on the administrative tasks and I want to give the admin the ability to upload newsletter which will be displayed on one of the web application pages. I am trying to use a ListView…

user976711
- 115
- 5
- 16
0
votes
3 answers
Visual Studio User Control ASP, C#, Code Behind issue
Okay this is probably a shot in the dark as it would be very difficult to guess what is going on here. But I am running out of options here.
So I have this code behind for a page that a user is able to fill out the input fields that are on the page…

yaegerbomb
- 1,154
- 4
- 22
- 37
0
votes
3 answers
How to edit the GridView programmatically?
I have a big table that I need to develop it as a part of an ASP.NET web application. The data will be retrieved from the database. instead of viewing the data directly. I want through the C# to determine each cell in GridView and determine the what…

user730077
- 199
- 1
- 13
0
votes
1 answer
Better performance: OnDataBound or iterate on PreRender
I have a menu where I am setting the selected value dynamically.
Will I have better performance doing setting the value on a DataBound event or iterating over the menu in the PreRender event?
Would the performance characteristics be generalizable…

Even Mien
- 44,393
- 43
- 115
- 119
0
votes
1 answer
How to display ASP.NET Charts (Framework 4.0) on Visual Studio 2010?
I am developing a web application and now I am trying to develop a dashboard using ASP.NET charts. I am trying now to develop a chart that shows the number of users who uses the system. I have a table in my database that keeps the username of the…

user976711
- 115
- 5
- 16
0
votes
1 answer
How to change the width of ASP.NET ListView?
I am developing a web application and using the ASP.NET ListView control. I am having now a large ListView and I want to minimize the width of it since there are large spaces between the columns. Also, I would like to change the style of it. How to…

user976711
- 115
- 5
- 16
0
votes
2 answers
Inserting data to GridView using CheckBox
I have a GridView and I put checkboxes inside all its cells. I want to do the following:
if the checkbox checked by the user, this means Yes which will be stored in the database
else, if the checkbox unchecked by the user, this means No and no need…

user976711
- 115
- 5
- 16
0
votes
1 answer
asp.net onClick event for Button
I have a button on a web page that when clicked connects to my SQL server and runs a stored procedure. The buttons works fine (It simply pushes data into a database table).
I’m new to .NET programming and I’m having trouble finding the right code…

Betty
- 621
- 1
- 12
- 24
0
votes
2 answers
Run a Stored Procedure via a click of a button in .Net web page
Afternoon All,
I have a stored procedure in an SQL 2005 database named GasNominationsRawData_Insert.
When executed this simply extracts some data from another database and inserts the result into a table. This query works fine.
What i need to do is…

Betty
- 621
- 1
- 12
- 24
0
votes
1 answer
ASP.NET Pivot Table: How to use it with just two tables in the database
I have an Excel sheet that list all the employees in the company with some required training courses. The list is very big and long and I need to incorporate it within the company website. therefore, I am thinking to use the pivot table with the…

user976711
- 115
- 5
- 16
0
votes
1 answer
ASP.NET ListView Control: how to style it and retrieve data from database in specific columns
I am trying to use the ListView control to show a list of data from the database as following:
Employee Name: xxxxxxxxx ID: 111111
Job Title: yyyyyxxxx Organization: uuuuuu
which means I want to list…

user976711
- 115
- 5
- 16