Ok - we got a file upload control
It's got EnableViewState as true.Code:<div style="text-align:center; vertical-align:middle"><asp:FileUpload ID="SourceFileUpload" EnableViewState="true" runat="server" /></div>
And then this checkbox
And then this subCode:<asp:CheckBox ID="StandardCheckBox" AutoPostBack="true" Text="Yes" EnableViewState="true" runat="server" /></div>
If you browse for a filename prior to click this check box then when you click the check box the filename gets cleared.Code:Protected Sub CheckBox1_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles StandardCheckBox.CheckedChanged 'FindControl("TransDead").Visible = False If StandardCheckBox.Checked Then TranslationDeadline.Text = "Standard Turnaround" Else If TranslationDeadline.Text = "Standard Turnaround" Then TranslationDeadline.Text = "" End If End If End Sub
What is causing that?




Reply With Quote