I am working in monoX CMS and trying to upload file.But file-upload's hasFile is always false.I am using server script in .aspx page.Below is my code.\[code\] <script runat="server"> protected void btn_click_me(object sender, EventArgs e) { dbOperations dbObj = new dbOperations(); if (selected_file.HasFile) { string title = txt_file_title.Value.ToString(); int f_type = Convert.ToInt32(dd_file_type.Value); dbObj.CreateSubmission(title, f_type, selected_file.PostedFile); } } </script>\[/code\]My Html code is:\[code\] <MonoX:StyledButton ID="btnSubmit" CommandName="submit" OnClick="btn_click_me" runat="server" CausesValidation="true" ValidationGroup="validate_submission" Text='Submit'> </MonoX:StyledButton>\[/code\]Form tag seen in firebug is:\[code\]<form id="aspnetForm" enctype="multipart/form-data" style="height: 100%" onsubmit="javascript:return WebForm_OnSubmit();" action="/MyFolder/Submissions.aspx" method="post" name="aspnetForm">\[/code\]Rendered File tag is:\[code\]<input type="file" id="ctl00_ctl00_ctl01_ctl00_cp_cp_cp_cp_selected_file" name="ctl00$ctl00$ctl01$ctl00$cp$cp$cp$cp$selected_file">\[/code\]