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?
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...
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.
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)...
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...
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
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...
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
The httpRuntime is not all caps, only the R.
<configuration>
<system.web>
<httpRuntime maxRequestLength="102400" />
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</configuration>
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.
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...
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.
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.
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...
I have a data grid where I want a button column to show an "edit" button only when the record is "owned" 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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.