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

    Downloading large File function includes the html code of page

    I have followed teh workaround to download a large file documented in Microsoft's KB article 812406. It successfully can download huge file, unfortunatley, it also appends the html code of the web page the function is on. Any ideas?
  2. TerryDad2

    Reference a class defined in one file by a different codebehind page

    I know this should be simple, but I just can't figure it out. I am moving the scripting out of an aspx page into a codebehind page. The aspx page has a reference to a .vb file that has a number of reusable functions. When compiling the codebehind page, I get errors that the custom functions...
  3. TerryDad2

    Value of a cell in a Detail DataGrid

    That worked. I had been spending time converting the entry to a literalcontrol, but that was adding a bunch of spaces that trim function couldn't get rid of. Thanks.
  4. TerryDad2

    Make invisible a datagrid item

    We've completed this functionality by putting the element you would like conditionally hidden in a named asp table, then showing or hiding the table. I've also used the CType function to get at a detail datagrid in a cell to show or hide it as follows: CType(e.Item.Cells(3).Controls(3)...
  5. TerryDad2

    Value of a cell in a Detail DataGrid

    I am working with a detail datagrid trying to the editing functionality that is available with the master datagrid. I've got it all working except for getting the values that are not entered by the user, i.e. just the value of the cell. I can get the values entered by the user in combo and text...
  6. TerryDad2

    DataGrid in a DataGrid

    I saw a posting on this subject, but now I can't find it. Anyone know where it is or how to do such a thing?
  7. TerryDad2

    Value of a template column cell

    Mark's post got me looking at what the control really is and I figured it out. The syntax is CType(e.item.cells(5).controls(0), DataBoundLiteralControl).text Terry
  8. TerryDad2

    Value of a template column cell

    Using that I get a ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index error. This makes me think I am pulling from the wrong column, so I have moved to trying to get the value from cell 0 which I know is a template column. (dim...
  9. TerryDad2

    Value of a template column cell

    I am trying to obtain the value in the datagrid from a template column. e.Item.Cells(5).text returns a null value on template columns, but obtains the displayed text on a databoundcolumn. What is the correct syntax for obtaining the displayed value in a template column? Terry
  10. TerryDad2

    How to upload large files

    The httpRuntime is not all caps, only the R. <configuration> <system.web> <httpRuntime maxRequestLength=&quot;102400&quot; /> <authorization> <deny users=&quot;?&quot;/> </authorization> </system.web> </configuration>
  11. TerryDad2

    How to upload large files

    Thanks for the link. I was working with that parameter yesterday but was having difficulty. I got it to work. The example on the link appears to have the incorrect capitalization though.
  12. TerryDad2

    How to upload large files

    The HttpPostedFile chokes on larger file sizes. Any other ideas to upload large file?
  13. TerryDad2

    Comparing file names

    Looking at it, it would create a hunge number of duplicate names that aren't in the sql. Try a different approach of putting the file name from the directory info in a where clause in the sql and then determining if you get a result out of the sql query. I always find the negative the harder...
  14. TerryDad2

    Comparing file names

    Sorry about the first post. It would help if I read it more closely. You already figured out what I already posted. It looks like your missing a for loop between the dim intcounter and if trim(strmemotoadd)... line and ending between the strmemoname = ... and the strmemotoadd =... lines.
  15. TerryDad2

    Comparing file names

    the DirectoryInfo.GetFiles Method () will return the list of files in a directory, once you've set the DirectoryInfo object. Terry
  16. TerryDad2

    DataGrid Edit does not use entered values

    Finally tracked it down. And it is a simple error. I had forgotten to include the not page.ispostback on the page load and the data was being re-bound before it got to reading the text boxes.
  17. TerryDad2

    DataGrid Edit does not use entered values

    I am working on retrieving the entered values for a DataGrid row using the EditCommandColumn. Functionally, all the events work well (onEdit, onCancel, and onUpdate). The problem I am having is getting the updated values the client enteres. The code is only using the existing values. I have...
  18. TerryDad2

    Conditionally Display edit button in datagrid

    Thanks. That article gave me the info I needed to do what I wanted. Thanks for the direction.
  19. TerryDad2

    Conditionally Display edit button in datagrid

    Thanks. I finally have time to look at what you've sent.
  20. TerryDad2

    Conditionally Display edit button in datagrid

    I have a data grid where I want a button column to show an &quot;edit&quot; button only when the record is &quot;owned&quot; by the user but also show all other records in the table. The owner is a column in the same table the data is pulled from. How does one conditionally have a buttoncolumn...

Part and Inventory Search

Back
Top