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

    Updating data in a Column in a DataView

    I am trying to override data in a column of a DataView that will be used in a datagrid. So far all I can find is that you can add a column to a DataView but I am not finding a way to modify the data in the column. Ex: dataView.Table.Columns.Add( datacolumn ); works fine but there is...
  2. DLLHell

    Images in datgrid

    Then the only 3 lines that need to be in VB.NET would be these: HyperLink objyourimage = null; objyourimage = (HyperLink)e.Item.FindControl("Your_Image"); if (objyourimage != null) { These could be converted to VB.NET with a little looking around. The ImageURL & NavigateURL code would be the...
  3. DLLHell

    Images in datgrid

    This might be useful for you if you need to use a link on your images. If you don't use it as a hyperlink, there probably are other alternatives, or you can 'protect' your image so that it does not function as a hyperlink and not need a NavigateURL. ImageURL below can be dynamically defined in...
  4. DLLHell

    SqlConnection object stored in Session ? Wise move or not ?

    Also, session variables = no load balancing servers in ASP.NET?
  5. DLLHell

    SqlConnection object stored in Session ? Wise move or not ?

    Just out of curiosity, why would people want to use session variables and have a web app that times out every 20 minutes? Even if you change the IIS default to 60 minutes, that impacts the server. Pros/Cons of using session variables?
  6. DLLHell

    Improving HTML performance of DataGrids

    Thanks, JZelhart & link9. I'll find out what I can about overriding the Render method to minimize the size of the HTML tags but link9 is likely right. Maybe I can remove what hidden variables, controls etc I can but I suspect I'll get nada out of this. It would seem that for read-only grids...
  7. DLLHell

    Improving HTML performance of DataGrids

    I'm looking for ways to improve the HTML performance of ASP.NET webpages using scrollable DataGrids... The larger the datagrid, the longer it takes for the webpage to display with the grid. That blank white page displaying for a few seconds between displays of the webpages can be annoying...
  8. DLLHell

    VB 6.0 Closes when trying to Make EXE

    What are the usual causes of VB shutting down immediately when trying to make an executable or trying to step into the first line in Debug mode?
  9. DLLHell

    commas in a textbox??

    Grin and bear it :^)
  10. DLLHell

    Sorting by Header Columns in a Datagrid stops working

    Correction, 2nd paragraph should have said Allowpaging=false. Here is a corrected post. I have a DataGrid with AllowPaging=TRUE where the 1st column in the header is an Icon. Prior to that column being an icon (used to be text), the Sort by header columns worked fine. Now with the Icon in that...
  11. DLLHell

    Sorting by Header Columns in a Datagrid stops working

    I have a DataGrid with AllowPaging=true where the 1st column in the header is an Icon. Prior to that column being an icon (used to be text), the Sort by header columns worked fine. Now with the Icon in that column, the SortEventHander_OnClick's e.SortExpression value always is the 1st column's...
  12. DLLHell

    Question about setting up Paging Header

    I have this method to build the Paging numbers for a datagrid since for some reason the collection containing the page numbers is not in perfect sequence e.g. 1 2 3 4 5 6 7 8 9 10 11 12 13 32 33 34 35 36 14 15 16 .... - debugging showed that the ItemCreated event for Pagers is being invoked...
  13. DLLHell

    Javascript parser/Find command?

    Many Thanks, Jeff! I used your info to find out more about JS Match at http://www.devguru.com/Technologies/ecmascript/quickref/string_match.html (Regular Expression) and combined info from both examples. I really thought I was going to have to code a loop and wasn't looking forward to debugging...
  14. DLLHell

    Javascript parser/Find command?

    Is there a Javascript command that will do a "find" of a variable within a text field? ex: find "lnkEdit" in a field that has "grid_lnkEdit" and return "lnkEdit" ?
  15. DLLHell

    Deleting last row in a datagrid cause an Error

    Hi - FWIW - I had this problem before and spent too much time on this - I think I tried some of the above solutions, to no avail. My solution was to put the DataBind in a Try-Catch block and when the error occurred, I just repeated the DataBind - that worked out fine. But you might want to try...
  16. DLLHell

    HyperLinks in Datagrid (visited link & unvisited link colors)

    Hi - yes, that is how I did it. I was surprised to see that I could obtain the "visited link" color at ItemDataBound time, so everything worked out fine - no cookies or txt file logic needed.
  17. DLLHell

    Javascript: Identifying a Link when Enter Key pressed

    I have a HTML link - I am using an onkeypress to check for an Enter key (value 13). Problem is the event is valid if certain links are clicked or if one of the links had focus (tabbed to) when the Enter key was pressed. Is there a way to know in JS that the focus was on one of the links (and...
  18. DLLHell

    HyperLinks in Datagrid (visited link & unvisited link colors)

    If I wanted a grid where the longevity of the Visited & Unvisited colors of the hyperlinks were good only for the life of the grid until a new search were made... is there an Event that is triggered whenever a link is clicked in ASP.NET? I am thinking of modifying the HyperLink.ForeColor...
  19. DLLHell

    Problem with using - dashes in Datagrid

    This is bizarre. I put a datagrid in a DIV area and have the scrollbar on the right side of the DIV area (because another above DIV area contains Header columns. The move from the scrollbar from the traditional right side to the left side (it is wanted) required me to re-adjust my grid columns...
  20. DLLHell

    Best way to retain scroll position in Datagrids?

    I have the grid's EnableViewState=false and I am using <%@ Page SmartNavigation=&quot;true&quot; %> That works well in the Update event however when the Edit event finishes it will not show the Edit textboxes unless I repopulate the datagrid. Any idea how to force it to show the textboxes...

Part and Inventory Search

Back
Top