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
1
vote
0 answers
changing the asp:Image ImageUrl attribute Depending on Condition in Asp.net
i'm building a simple reporting applications , in which user has notifications i want to check if the notification is unRead i'll display a read image icon
and if it was read , i'll display Read Icon
ive created a TicketIsUnRead() function to…

Hady Elsahar
- 2,121
- 4
- 29
- 47
1
vote
1 answer
How do I display data in asp.net that has follows a specific pattern/ format?
I have this table
and what I want to is have something like this on the browser.
The table has 8 rows and 3 columns
Here's my sql query: "SELECT q.QuestionID, q.QuestionText, q.GroupNo FROM question q ORDER BY GroupNo asc"
I have already stored…

Randel Ramirez
- 3,671
- 20
- 49
- 63
1
vote
1 answer
How do I group rows in asp.net's datalist control?
For example in my database there are 96 rows and what I want to happen is to group rows by four(the resulting table will have 3 columns with 8 rows). ex

Randel Ramirez
- 3,671
- 20
- 49
- 63
1
vote
2 answers
Clear Textboxes
Morning All,
I would like to have a cancel button on my web page that essentially i would like to clear form field and themn redirect users to the home page.
I have 7 txt boxes that i will need to clear before the page redirects. I have done some…

Betty
- 621
- 1
- 12
- 24
1
vote
2 answers
ASP.Net Details List 'Edit' function
Afternoon All,
I am used to using gridviews but i am using a a details view for the first time. I am using Visual Studio 2010 with VB code.
I have a grid view that displays items from a database table and uses the 'ShowSelectButton="true"' function…

Betty
- 621
- 1
- 12
- 24
1
vote
2 answers
'NewPageIndex' is not a member of 'System.Event.Args'
Afternoon All,
I have a simple gridview with list items items that have been uploaded to file. I had an issue with paging on my gridview. As i selected page two the webpage would fail.
After looking aroud on the internet, i have seem that i need…

Betty
- 621
- 1
- 12
- 24
1
vote
2 answers
tag to open excel file
I am currently using Visual Studio 2010 and wanted to have a link on my page that opened in a new window a simple excel sheet that is on a local drive.
I have used a simple tag to open this file.

Betty
- 621
- 1
- 12
- 24
1
vote
0 answers
how to get the value of the control loaded dynamically in asp.net
In my page,I load some control dynamically.
In Page
In Page.aspx:
public void onchanged(object…

hguser
- 35,079
- 54
- 159
- 293
1
vote
3 answers
Input string was not in a correct format
Afternoon All,
I have a dropdown list which extracts data from my SQL database and gives the users two options to choose from (Weekly / Monthly). The database has an ID for each of these. Weekly is set to 1 and Monthly is set to 2. This drop down…

Betty
- 621
- 1
- 12
- 24
0
votes
2 answers
IF SelectedItem.Equals ??? Then redirect Statement
I have a gridview in my website in am building in Visiual studio 2010. IM new to programming and have a query in reference to redirecting the user to another page based on the results of the gridview.
My gridview works perfectly fine and pulls…

Betty
- 621
- 1
- 12
- 24
0
votes
1 answer
DNN How to create a complex module with multiple controls
My goal are to create a module that holds a listview with entries of xml files. The xml files are just serialized arrays of some object. Country{Code,Name,URL} as an example.
When an entry is clicked another control should show all the items in some…

Poul K. Sørensen
- 16,950
- 21
- 126
- 283
0
votes
1 answer
How to set TotalRowCount property for data pager control in paging of ListView?
I work in listView with datapager control and create paging for list view as follows:
…

Anas Jaber
- 583
- 1
- 7
- 20
0
votes
2 answers
Dynamic Controls not Displaying
I am creating controls on some input XML.
The controls are then added to the different PlaceHolder Control which is places in a table. Here is the code for reference
private void RenderFactorControls(string xml)
{
XmlDocument xmlDoc =…

Tabish Sarwar
- 1,505
- 1
- 11
- 18
0
votes
1 answer
0
votes
2 answers
ASP.Net FAQ library control
Can someone advise if there is an ASP.NET control that i can use to create an FAQ section on my existing website.
I can build it myself but i was hoping there's an existing library i can just plug in.

Khalid Rahaman
- 2,292
- 3
- 28
- 40