TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dorian ZEYSSOLFF
NA
55
433
Debug close itself with Edge and FileUpload
Dec 10 2020 9:35 AM
Hi,
In advance, sorry if my english isn't right, i'll try my best to explain myself.
I'm working with VS 17 Pro on Win10 Pro with an ASPX page using a fileupload :
<asp:FileUpload ID=
"fupl1"
runat=
"server"
/>
My problem is : When i'm trying to get a file, the debug in VS is closing itself without warning and the current page in Edge is still waiting for an action. The file i'm using for my test is a text file named "Test_File.txt" with a single sentece insinde : "This is a test"
funfact : I don't even need to take a file, just opening the explorer and closing it stop the debug.
I tried to ad a script manager and to use a update panel with button to trigger it, but the same issue is found at the end.
<asp:ScriptManager ID=
"ScriptManager1"
runat=
"server"
/>
<asp:UpdatePanel ID=
"upd1"
runat=
"server"
>
<ContentTemplate>
<asp:Button ID=
"btn1"
runat=
"server"
/>
<asp:FileUpload ID=
"fupl1"
runat=
"server"
/>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID=
"btn1"
/>
</Triggers>
</asp:UpdatePanel>
I also tried the "IsPostBack" in my script with a stop point on it, but the closing debug doesn't seems to be when the post back come out.
If any of you already occured this issue and now how to bypass it, it would be usefull !
Reply
Answers (
2
)
Display PDF (path location is from server's column)
how to extract json object in .net (business central to .net)