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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Silo4

  1. Silo4

    Session Variables Timeout - Possible Solution?

    Thanks for all you advice on this. I've just discovered that my code doesn't work when you hit refresh in the browser!! When you do so, it doesn't save the viewstate information. Presumably this is by design, but it has scuppered my plans. I think saving the Session vars in the database is...
  2. Silo4

    Session Variables Timeout - Possible Solution?

    It would, but where do you draw the line. I could set it to 12 hours, but then i'm not clearing the server memory and enough users could cause out of memory issues Silo4
  3. Silo4

    Session Variables Timeout - Possible Solution?

    Hi ca8msm, My application does a lot of work client side and only saves to database at the end of a specific task, which could take an hour or so to complete. I want users to be able to leave the PC and come back to it without my application loosing their data and them having to log back in...
  4. Silo4

    Session Variables Timeout - Possible Solution?

    Hi, I want to store data in session variables available to all pages in my application, after 20 minutes though they are lost in the trash. I've been playing with a way of retaining session variables beyond session timeout. I was wondering if someone had any thoughts on a possible solution...
  5. Silo4

    Absolute/Relative URLs in user controls

    Cheers again for the suggestions, i have tried for another hour to figure something out but nothing works both remotely and local. I give up, I'll have to do it manually. Thanks for your help. I can't believe no-one else seems to have this problem!
  6. Silo4

    Absolute/Relative URLs in user controls

    Cheers for that, but the problem is that the ASCX control thinks of itself as being located in the same folder as the page it is attached to. So if I use a relative url it will work for any pages in the same folder but not for pages in other folders. For Example... "../Folder1/MyPage.aspx"...
  7. Silo4

    Absolute/Relative URLs in user controls

    Hi, I have an ASP.NET 1.1 website with as ASCX control for the header which includes a link to a page. Why is it that when i upload my site, i have to manually change the absolute URL paths? After much messing i've discovered that locally they have to be... /MyWeb/MyPage.aspx but on the web...
  8. Silo4

    2 listboxes one problem

    Excellent, thanks very much for your help jebenson. After a little tweaking it works like a dream! Ah shall well be preparin' m'self fer talkin' like a massively bearded pirate! Arrr!
  9. Silo4

    2 listboxes one problem

    Hi, I have 2 listboxes on a windows form (lstStatements & lstChoices). I databind the first list from a table dataset and then when I change the selection in this list i databind the second list from a second table in the dataset which is filtered by the selection in the first list. My...
  10. Silo4

    Datagrid: Return to Row with Focus After Refresh

    You could save the state of each row, run the update and then reload each row's state, i don't have exact code but i did something similar with a treeview, maybe it'll help. I checked each node was expanded and/or selected and stored the info in a hashtable. Note that you need to uniquely...
  11. Silo4

    Move Cursor to End of Textbox

    It's taken a while but i've finally figured it out. I've built it into a VB.NET function for use in ASP.NET. Cut and paste below and simply call the function. Silo4 Sub SetCaretPosToEnd(ByVal ctrl As Control) Dim sb As New System.Text.StringBuilder("") With sb...
  12. Silo4

    Move Cursor to End of Textbox

    It's taken a while but i've finally figured it out. I've built it into a VB.NET function for use in ASP.NET. Cut and paste below and simply call the function. Silo4 Sub SetCaretPosToEnd(ByVal ctrl As Control) Dim sb As New System.Text.StringBuilder("") With sb...
  13. Silo4

    Move Cursor to End of Textbox

    Hi, I've been pointed in the direction of the Javascript forum to answer a question i posted on the ASP.NET forum. I found a similar post in this forum titled "Set cursor to the end of a textbox ?????" and i think the solution could work, but I have absolutely no experience with Javascript and...
  14. Silo4

    Move Cursor to End of Textbox

    Hi, I am using a button to insert a string into a textbox on my webform. I want the cursor position to be set to the end of the inserted text so the user can continue typing without having to manually reposition the cursor. In a VB.NET windows form i'd use... TextBox1.Text = "Hello...
  15. Silo4

    New Parent/Child relationships in Datagrid

    I have a two tables stored in an Access DB and linked by a DataRelation. I load the tables into a dataset and display them in a Datagrid. I don't save changes to the Access DB until i leave the datagrid. Using the datagrid, when i add a new entry into the parent table and then immediately...

Part and Inventory Search

Back
Top