Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
form element input type=file has input text box greyed out by default
i cann't type, edit or paste in textbox,this is for ie8 and ie9 only

Is there any way to allow text to be entered into this box again?
is there any other method to post a file ,bçoz i need option to edit in my project
i used to link folders like this
K:\SP Files\SP-000501 - SP-001000\SP-000501 - SP-000600\SP-000507

if i browse using input type=file or file upload method it will stop at end of file
like this
K:\SP Files\SP-000501 - SP-001000\SP-000501 - SP-000600\SP-000507\written opinion 13.11.01.doc

so i need to delete written oipnion 13.11.01.doc

is there any other upload methods available

can any one help me please,

here is my coding,

<asp:Literal runat="server" id="DocLocationLabel" Text="E-Document Location">
														
            <td class="dfv" colspan="3" nowrap=""> 
            <input id="DocLoc"  type="file" style="width: 620px;"  runat="server" />
            <asp:TextBox runat="server" ID="DocLocation" Columns="50" MaxLength="50" CssClass="field_input" RichTextEditorType="ASP Multi-line" Height="0" Width="0" TextMode="MultiLine" >   
                                                        
		    <BaseClasses:TextBoxMaxLengthValidator  runat="server" id="DocLocationTextBoxMaxLengthValidator" ControlToValidate="DocLocation" ErrorMessage="<%# GetResourceValue("Val:ValueTooLong", "CaseMS").Replace("{FieldName}", "E-Document Location") %>">														</BaseClasses:TextBoxMaxLengthValidator><br /><asp:Literal runat="server" id="LblDocLocation">
            
</td>


VB
If Me.DocLoc.PostedFile.FileName.Length <> 0 Then
                Me.DocLocation.Text = System.IO.Path.GetFullPath(Me.DocLoc.PostedFile.FileName)
End If
Posted
Updated 21-Jun-11 19:28pm
v3
Comments
Venkatesh Mookkan 21-Jun-11 23:14pm    
Post your ASPX code in your question. It would be helpful for us to understand your problem easily.
Prerak Patel 22-Jun-11 1:31am    
Are you trying to upload a folder?
Tarun Mangukiya 22-Jun-11 2:02am    
Is there any error message or not?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900