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 strongm 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: *

  • Users: Ankor
  • Order by date
  1. Ankor

    Select row in datagrid and pass a value

    Because I want to be able to select a row without moving to the edit page. I might have multiple functions: edit or delete selected row.
  2. Ankor

    Select row in datagrid and pass a value

    Hi Alan6895, That's my problem. I don't know what I am doing wrong in the routine. I was trying to put code for ItemCreated: Private Sub dgList_ItemCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles dgList.ItemCreated If...
  3. Ankor

    Select row in datagrid and pass a value

    I would like to be able to select a row in the datagrid without having a select button. Then, when I click "Edit" button on the form, one of the values from this row should be pulled into the querystring on another page created for editing. I understand I should somehow mimic...
  4. Ankor

    Adjust space size around datagrid borders

    I created a simple HTML page and pasted only this part of code into it. I also had to add six more generic columns to make the table bigger than the screen on my PC, and I got the same problem - right border is not visible. I am using IE 6.0.2900.2180. I cannot understand why it is happening...
  5. Ankor

    Adjust space size around datagrid borders

    I can only show it without data: <table cellspacing="0" rules="all" bordercolor="#8080FF" border="1" id="dgList" style="border-color:#8080FF;border-style:Solid;font-family:Arial;font-size:XX-Small;width:100%;border-collapse:collapse;Z-INDEX: 103; LEFT: 8px; POSITION: absolute; TOP: 104px"> <tr...
  6. Ankor

    Adjust space size around datagrid borders

    What is rendered HTML? Code I see in view/source?
  7. Ankor

    Adjust space size around datagrid borders

    <asp:datagrid id="dgList" ShowFooter="True" OnItemDataBound="spanfooter" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute; TOP: 104px" runat="server" Width="100%" Font-Names="Arial" Font-Size="XX-Small" BorderColor="#8080FF" BorderStyle="Solid" AutoGenerateColumns="False"> <HeaderStyle...
  8. Ankor

    Adjust space size around datagrid borders

    It's a normal regular datagrid where right and bottom borders are not visible as if they were behind PC screen.
  9. Ankor

    Adjust space size around datagrid borders

    I have a datagrid that is bigger than screen size, so I have vertical and horizontal scroll bars. My problem that the screen "eats" right and bottom datagrid borders. Is there any easy way to solve this problem?
  10. Ankor

    Add a footer with a link to the datagrid

    This worked. Thank you very much!
  11. Ankor

    Add a footer with a link to the datagrid

    You were right, cell count returns 8, but now I cannot understand why it does it in the 16 field datagrid. Is it a problem with data binding?
  12. Ankor

    Add a footer with a link to the datagrid

    I have 16 fields in the table. I can remove first 8. What will be the reason why I cannot remove 9th or 10th?
  13. Ankor

    Add a footer with a link to the datagrid

    Sub SpanFooter(ByVal sender As Object, ByVal e As DataGridItemEventArgs) If e.Item.ItemType = ListItemType.Footer Then e.Item.Cells(0).ColumnSpan = 16 e.Item.Cells(0).Text = "Back to Top" e.Item.Cells.RemoveAt(1) e.Item.Cells.RemoveAt(2) e.Item.Cells.RemoveAt(3)...
  14. Ankor

    Add a footer with a link to the datagrid

    System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
  15. Ankor

    Add a footer with a link to the datagrid

    It's a good one, but for whatever reason I get an error when I try to RemoveAt(...) more than 8 columns. My code looks like this: Sub SpanFooter(ByVal sender As Object, ByVal e As DataGridItemEventArgs) If e.Item.ItemType = ListItemType.Footer Then e.Item.Cells(0).ColumnSpan = 16...
  16. Ankor

    Add a footer with a link to the datagrid

    I'd like to add a footer to the datagrid, span all columns in it, and then add a link that would lead to the top of the page. Is it possible to do that? Thank you.
  17. Ankor

    working with sql server 2000 - and sql server 2005

    Yes, you can run your SQL 2000 DTS from SQL 2005 client - just install DTS Designer 2000.
  18. Ankor

    Terminal Services Manager

    Does it have to be Terminal Services Manager? Can it be done in Windows NetMeeting?
  19. Ankor

    Add attachment to the email

    It sometimes happens to me :). Thank you for the great code.
  20. Ankor

    Add attachment to the email

    Dear SkipVought, There is something called "CDONTS.NewMail" that perfectly works from ASP page and does the same job as CDO. Tell me a little more about DONUTS, maybe I'll test it for you :). Yes, I used my own settings except of port that I did not know. After I fixed this issue the code...

Part and Inventory Search

Back
Top