Mar 18, 2014, 6:03 PM
[OPEN] [#456] DirectEvents and FileUploadField
Hello,
I have a lot of direct events and methods on the page in my project but after I added the file upload field on the page I had found that all directevents sends untypical posts.
I know about specific posts when we use this type of field and I have seen similar problem in the post below
http://forums.ext.net/showthread.php...leUpload-Issue
But can I disable unusual ajax functionality for all direct events where it's unnecessary (OnChangeText event in example below) and enable it only for requests where I send file (OnPostFile)?
I tried to set IsUpload to false for OnChangeText but it didn't affect on requests.
Rough example
I have a lot of direct events and methods on the page in my project but after I added the file upload field on the page I had found that all directevents sends untypical posts.
I know about specific posts when we use this type of field and I have seen similar problem in the post below
http://forums.ext.net/showthread.php...leUpload-Issue
But can I disable unusual ajax functionality for all direct events where it's unnecessary (OnChangeText event in example below) and enable it only for requests where I send file (OnPostFile)?
I tried to set IsUpload to false for OnChangeText but it didn't affect on requests.
Rough example
<ext:TextField>
<DirectEvents>
<Change OnEvent="OnChangeText" />
</DirectEvents>
</ext:TextField>
<ext:FormPanel>
<Items>
<ext:FileUploadField>
</ext:FileUploadField>
</Items>
<Buttons>
<ext:Button Text="Send">
<DirectEvents>
<Click OnEvent="OnPostFile" />
</DirectEvents>
</ext:Button>
</Buttons>
</ext:FormPanel>
-Thanks
Last edited by Daniil; Mar 19, 2014 at 11:16 AM.
Reason: [OPEN] [#456]