Hi,

I try to do a file download, but I always receive "Request Error".

Here is my button definition:

<ext:Button runat="server" Text="Click Me">
            <DirectEvents>
                <Click Url="~/Home/OnClicked" IsUpload="true" />
            </DirectEvents>
        </ext:Button>
and the controller method is equally simple:

public ActionResult OnClicked()
        {
            return new FileContentResult( Encoding.UTF8.GetBytes( "testing" ), MediaTypeNames.Text.Plain );
        }
Is it supported?


Thanks,
Tadeusz