I know that you can change the style of the DetailsView CommandRowStyle, but what if I want to change the style of the actual Edit and Delete links? Can you access those?
I'd rather not use images, and I'd like to have my Edit and Delete links match the linkbutton CSS I've already created.
I have a DetailsView that shows a record from my database based on a queryString value "curEmp", for example "EmployeeProfile.aspx?curEmp=2"
This is showing the records ok, but when I click Edit, after changing a value I hit "Update" and everything except the primary key is set to null.
What...
I'm just starting to use JQuery, and I'm editing the modal popup example within a classic asp page. I've gotten the form to work, and added a submit line, but after the submit I try to get the submitted values with asp using request.form("email") but it's coming up blank.
Is this a problem with...
0 down vote favorite
share [g+] share [fb] share [tw]
I have a database table called Employees that has an ID number, First Name, Last Name, and SupervisorID for each employee. The SupervisorID stored for an employee equals the ID number of that employee's supervisor.
I want to have a...
I'm new to asp.net and have recently been working with creating a GridView from codebehind to make it more flexible so that I can eventually have it created based on user specifications.
Now I'm exploring classes, and I thought it would be cool to create a GridView class so that whenever I need...
I have a GridView that has its columns loaded from codebehind. The header CSS class I specified in the aspx page, but it wasn't loading for these columns. So I added: GridView1.HeaderRow.CssClass = "HeaderStyle" in the codebehind after binding and then it loaded. I can't figure out how to do...
All the help I've been able to find from similar posts regarding this issue isn't working for how I set up my GridView.
I've gotten my Gridview to have dynamically created columns, and was able to get sorting to work on it. My paging works also, but if I sort first and then go to another page...
I have a search box that takes an employee's last name and goes to a results page.
The results page takes the employee's last name from a query string and creates a GridView in code-behind to show all matches.
The GridView is working fine to show all matching employee's last names and first...
I have a login page that has a "if you forgot your password, click here" link button that opens a ModalPopup for the user to retrieve their password.
What I would like to do is when a user enters an invalid login, the ValidationSummary tells them it's invalid, and also contains another "if you...
I have a search box where users can enter a last name or a last name and first name in the format "lastname, firstname"
When the search is made, the search button's click event checks for the comma to determine if it's searching a whole name or just a last name.
It should then go to a results...
I have an ASP.net grid view that I've styled with CSS. The style works fine, but now I'm trying to get a row's background color to change when the user rolls over it.
I've tried little things here and there, but I'm still learning CSS so it's taking a while. I've gotten a cell's background to...
Hello, I'm new to CSS and ASP.net and I've been trying to figure out how I can use CSS to show sorting arrows on the headers of my GridView control.
I've been able to get them to show on a sorted column, but I'd like them to show before the user sorts so that the user knows that they're...
I'm new to Asp.net and I'm currently working with GridViews. I've looked around this site and others and have seen tips for how to add sorting arrows to column headers.
So far I've got arrows to show on a sorted column by doing this:
Set these GridView properties...
Hello. I'm very new to ASP.Net, and have recently begun learning about the validations controls. I've been able to properly use the validation controls to validate required fields, and email addresses. I had it show the error message next to the control it was validating.
I have a login page...
Hello,
My workplace has a site on one server with an SQL database. They have another site on a different server, which they now want to have content generated from the 1st site's database.
Pages hosted on the first site's hosting account were connecting to the database through this:
set...
Hello, sorry if this question has been asked before, if so please direct me to it, i didn't see anything.
I have a page that I want to allow users to have the ability to upload files to a folder on our server.
I've tried using the simple ASPUpload as shown below:
Upload.html:
________________...
I'm new to ASP.Net and keep seeing that it greatly simplifies the form validation process.
I really like how ESPN.com has their validations performed while the user is entering data, without having to click submit run a validation script.
An example...
I have some text box forms in a Word document that repeat across a couple of pages. I would like to enter the information on the 1st page, and then have the values populate on the other pages, so that I don't have to enter it multiple times. Is there an easy way to do this?
Thanks for any help!
I really like the way the login form works for SurveyMonkey.com and would like to do something similar with dimming out the background page. (You can see it by clicking "Member login" on surveymonkey.com)
I was told it's done with CSS and Javascript. I've looked around and couldn't see any...
I really like the way the login form works for SurveyMonkey.com and would like to do something similar with dimming out the background page. (You can see it by clicking "Member login" on surveymonkey.com)
I've looked around and couldn't see any example scripts of this, do you guys know of any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.