Thanks everyone. I can continue with your suggestions
wbeetge
Posts
-
Code behind for ASP tables -
Code behind for ASP tablesYes, I tried this by creating the table in a Web User control, and found that same problem. But though it worked in Dev, I could not build the site with the control - all kinds of errors. So, now I have to resort to a basic dynamic creation of this table.
-
Code behind for ASP tablesThanks J4amieC That is exactly what I am looking for.
-
Code behind for ASP tablesIf anyone can show me how to do that for the example table (left Column cells are merged) using the table, tablerow and tablecell objects, or any other method that will work, I will use that method.
-
Code behind for ASP tablesThanks, sounds easy. I need to load other controls (images, text, hyperlinks etc) into different cells of the table. Can I talk to the cells in the table after setting the string of a literal control or must I build the string with the controls embedded in the string for each record in the query result ?
-
Code behind for ASP tablesCan anyone please show me how to create the following table (given in markup) in code behind ? <div style="text-align: left"> <table border="0" cellpadding="1" style="position: relative"> <tr> <td rowspan="4" style="width: 100px"> </td> <td style="width: 100px"> </td> </tr> <tr> <td style="width: 100px"> </td> </tr> <tr> <td style="width: 100px"> </td> </tr> <tr> <td style="width: 100px"> </td> </tr> </table> </div> As you can see, the cells in the left column are merged. Thanks WBeetge
-
DropdownList problemThank you spanky3 Beautiful.
-
DropdownList problemI have a DropDownlist on my ASPX form. I need to populate another DropDownList when I make a selection from the first one. As soon as the code behind triggers on the SelectedIndexChanged event, the selected item resets to Item(0). Trying to use the value of the selected item in the code then always uses the first listitem, and not the last selected item. How do I stop this from happening when code-behind is executed ?
-
Response.Buffer QuestionsHow do I use Response.BufferOutput = True and Response.Flush in ASP.NET ? Where do I place the 'Response.BufferOutput = True' statement ?
-
ASPX page does not showThanks for that, but it is not the contenet of message itself that is the problem. I am using java to call the page that will display the message (whatever that is). It is this part where I call the page that has a problem. The page does not show until the process is complete.
-
ASPX page does not showI have a .aspx page that does an import and housekeeping when the linkbutton is clicked. This can take up to a minute to complete if successful. For days I have struggled to find the way in which I will let the user know what the status of the import is. Eventually I have managed to load a result page into either an iFrame, or another frame in a frameset. I expected that when that page loads, while the calling page's process is still running, it would load on a different thread and display the status at that time. But, it does not matter what I do, I cannot get the result page to display until the process has not completed in the calling page. When the process is completed, it states that the process has failed or was successful as I want it to work. Yet, when I need to tell the user that the process is busy, it is simply not displayed until the process is done. Here is a piece of code from my .aspx page. My problem lies on the line with comment "'<----- Does not show" --------------------------------------------------------------------------------------- Private Sub LinkButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkButton1.Click Dim url As String Dim FName As String Dim Env As String Dim FYear As Integer FName = txtFile1.PostedFile.FileName Env = cmbEnv.SelectedItem.Value FYear = cmbStartDate.SelectedItem.Text If FName = "" Or Right$(FName, 4) <> ".csv" Then url = "wfResult.aspx?iMessage=Please select a vald file&iImage=Error" frame.Attributes.Item("src") = url '<----- Shows happily because process ends GoTo Finish End If url = "wfResult.aspx?iMessage=Busy processing&iImage=Busy" frame.Attributes.Item("src") = url '<----- Does not show 'Delete temp upload table if it exists Try SQLStr = "drop table " & Env & "F550001_Budgets" ExecSql.ExecAction(SQLStr, CallData.ReturnId.Void) Catch End Try ... --------------------------------------------------------------------------------- ... + import process... + Table cleanup code until done Please tell me if there is a way to force the result page to show asyncronously with the process ?, or if there is a way to halt the process and allow the load of the result page to show or a way like VB's DoEvents to first update the interface. Thanks Graham