Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Cineno

    How can you change the style of DetailsView Edit and Delete links?

    Thank you! That's exactly what I needed!
  2. Cineno

    How can you change the style of DetailsView Edit and Delete links?

    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.
  3. Cineno

    DetailsView is setting fields to null on update

    Thanks a lot. I'll look into that. Always good to know the better way. However I still don't understand why this isn't working. It's pretty simple, nothing too detailed and I followed examples I found exactly.
  4. Cineno

    DetailsView is setting fields to null on update

    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...
  5. Cineno

    JQuery: getting values from submitted modal dialog

    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...
  6. Cineno

    Dropdown within a DetailsView: show text based on stored value

    Thanks a lot for you help, that did it! Can you tell me why I shouldn't use a DataSource control? I'm pretty new to this, so I'd like to know why. I have on follow up question if you're able to help. After updating, the <Item Template> field is showing the SupevisorID, but I'd like for it to...
  7. Cineno

    Dropdown within a DetailsView: show text based on stored value

    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...
  8. Cineno

    How to create a GridView from a class

    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...
  9. Cineno

    Gridview sorted header css not loading

    I finally got the RowDataBound to handle it and it's working now. Thanks a lot for the advice, I appreciate it.
  10. Cineno

    Gridview sorted header css not loading

    Yeah the case is correct. I'm really stumped since the "HeaderStyle" is being applied correctly. It's just the "SortedAscendingHeaderStyle" and "SortedDescendingHeaderStyle" that aren't coming through.
  11. Cineno

    Gridview sorted header css not loading

    Thanks for the response! Yes, I want to style the header of a sorted column. My GridView is set up like this in my aspx: <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" EmptyDataText="There are no data records to display."...
  12. Cineno

    Gridview sorted header css not loading

    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...
  13. Cineno

    How can I add links to GridView in codebehind?

    As the page gets further developed the columns that will load will be based on user selection so I wouldnt know them ahead of time and would need them to be dynamic. I was able to get it working
  14. Cineno

    Gridview not maintaining sort after paging

    Thank you both. I got it working now. I appreciate the help!
  15. Cineno

    Gridview not maintaining sort after paging

    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...
  16. Cineno

    How can I add links to GridView in codebehind?

    I got it working. For others needing help with this: You can use insert instead of add: GridView3.Columns.Insert(0, curLastName) Then the code-behind elements will be added first before the columns on the .aspx page.
  17. Cineno

    How can I add links to GridView in codebehind?

    I came up with this solution and I'm getting the links now, but I still need some help displaying them properly. The columns I showed above are being generated in code-behind. I then added a link field to the GridView on the .aspx page: <asp:GridView id="GridView3" runat="server"...
  18. Cineno

    How can I add links to GridView in codebehind?

    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...
  19. Cineno

    Can you add links to a ValidationSummary?

    Great, thanks a lot.
  20. Cineno

    Can you add links to a ValidationSummary?

    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...

Part and Inventory Search

Back
Top