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 wOOdy-Soft 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 TerryDad2

  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

Part and Inventory Search

Back
Top