Click here to Skip to main content
15,891,871 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how can i send parameters by post method in asp.net? Pin
Sandeep Mewara27-May-10 21:33
mveSandeep Mewara27-May-10 21:33 
AnswerRe: how can i send parameters by post method in asp.net? Pin
Peace ON27-May-10 21:37
Peace ON27-May-10 21:37 
QuestionWeb applications impacted due to upgradation of IE 6 to IE 8 Pin
Rajiya27-May-10 18:40
Rajiya27-May-10 18:40 
AnswerRe: Web applications impacted due to upgradation of IE 6 to IE 8 Pin
Anurag Gandhi27-May-10 20:26
professionalAnurag Gandhi27-May-10 20:26 
AnswerRe: Web applications impacted due to upgradation of IE 6 to IE 8 Pin
Peace ON28-May-10 0:42
Peace ON28-May-10 0:42 
Questiontransfer datas from a table into an Object [modified] Pin
nstk27-May-10 10:56
nstk27-May-10 10:56 
AnswerRe: transfer datas from a table into an Onject Pin
Not Active27-May-10 14:38
mentorNot Active27-May-10 14:38 
QuestionJavascript calendar control for first time not openning in Mozilla Pin
attalurisubbu27-May-10 5:09
attalurisubbu27-May-10 5:09 
Dear all,

In my application i have first Datecontrol(using javascript) next followed by 2 dropdowns and finally uploader control from CuteWebUI.AjaxUploader.dll(its works like user control)

I am CuteWebUI.AjaxUploader.dll for uploader control which will show progress bar + time elapse while uploading a file it is showing postback

In IE it is working .(First i need to select date from Datecontrol followed by 2 dropdowns then need to select uploader button (like browse) and save finally)

But if the same page if i executed in Mozilla i am unable to open Datecontrol.But here i am facing one problem after selecting a file through uploader button showing postback then if i click datecontrol again now it is opening datecontrol.I am having doubt y datecontrol is not opening for first time.

Can any one help on these?Here is code for your reference.

uploadDocumentPopUp.aspx
------------------------
<%@ Register Assembly="CuteWebUI.AjaxUploader" Namespace="CuteWebUI" TagPrefix="cc2" %>

<cc2:Uploader ID="Uploader1" runat="server" InsertText="Upload File (Max 10M)" OnFileUploaded="Uploader_FileUploaded">
<ValidateOption MaxSizeKB="10240" AllowedFileExtensions="jpg,jpeg,tiff,txt,doc,pdf,xls,rtf"/>
</cc2:Uploader>
uploadDocumentPopUp.aspx.cs
---------------------------
protected void Uploader_FileUploaded(object sender, UploaderEventArgs args)
{

Uploader uploader = (Uploader)sender;
fileName = args.FileName;
string fileNameWithOutExt = Path.GetFileNameWithoutExtension(fileName);
string fileExtension = Path.GetExtension(fileName);
fileNameWithOutExt += DateTime.Now + fileExtension;

fileNameWithOutExt = fileNameWithOutExt.Replace("/", "");
fileNameWithOutExt = fileNameWithOutExt.Replace(":", "");
fileNameWithOutExt = fileNameWithOutExt.Replace(" ", "");
ViewState["fileName"]=fileNameWithOutExt;
args.CopyTo(Server.MapPath(@"..\Documents\" + fileNameWithOutExt));
//alertMessage.Alert.Show("Document got uploaded please click upload button");
Response.Write("<script>alert('Document got uploaded successfully please click upload button!');</script>");
}

thanks in advance,
Subbu.
QuestionHow to get configuration file's path Pin
Eric Vonjacson27-May-10 2:07
Eric Vonjacson27-May-10 2:07 
AnswerRe: How to get configuration file's path Pin
Andreas X27-May-10 2:16
professionalAndreas X27-May-10 2:16 
QuestionWhere is the appropriate lifecycle step we can introduce JavaScript execution in the page Pin
yadlaprasad27-May-10 1:57
yadlaprasad27-May-10 1:57 
QuestionGridView Edit Pin
Member 322226427-May-10 1:08
Member 322226427-May-10 1:08 
AnswerRe: GridView Edit Pin
Sandeep Mewara27-May-10 1:35
mveSandeep Mewara27-May-10 1:35 
AnswerRe: GridView Edit Pin
Andreas X27-May-10 2:06
professionalAndreas X27-May-10 2:06 
QuestionSimple DropdownList with javascript Ajax Pin
garfield18526-May-10 22:06
garfield18526-May-10 22:06 
Questionhow to remove browse text and decrease the size browse button of fileupload control in asp.net Pin
developerit26-May-10 22:02
developerit26-May-10 22:02 
AnswerRe: how to remove browse text and decrease the size browse button of fileupload control in asp.net Pin
Sandeep Mewara26-May-10 23:26
mveSandeep Mewara26-May-10 23:26 
QuestionOpen Save as dialog in ultrawebgrid hyperlink cell onclick Pin
priyagee26-May-10 21:41
priyagee26-May-10 21:41 
QuestionVS 2005 takes much time to load Pin
reogeo200826-May-10 20:17
reogeo200826-May-10 20:17 
Questionheight Pin
siva45526-May-10 10:56
siva45526-May-10 10:56 
AnswerRe: height Pin
Not Active26-May-10 14:19
mentorNot Active26-May-10 14:19 
AnswerRe: height Pin
Sandeep Mewara26-May-10 19:22
mveSandeep Mewara26-May-10 19:22 
Questioniframe Pin
siva45526-May-10 8:35
siva45526-May-10 8:35 
AnswerRe: iframe Pin
T M Gray26-May-10 9:33
T M Gray26-May-10 9:33 
GeneralRe: iframe Pin
siva45526-May-10 9:56
siva45526-May-10 9:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.