This is a migrated thread and some comments may be shown as answers.

File Upload problem in RadWindow

1 Answer 86 Views
Window
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 1
Eugene asked on 25 May 2010, 11:05 PM
Greetings,
    There is a page with a RadMultiPage control with two views, where each view contain code to upload a file, like the following:

 

<iframe src='EditPage.aspx' name='hFinderUpload' id='Iframe2' style="width:0;height:0;border:0px solid #fff;" ></iframe>

 

 

<form action="<%=Url.Action("UploadAttachment", "PageContent")%>" method="post" enctype="multipart/form-data" target='hFinderUpload'>

 

 

<fieldset>

 

 

<div>

 

 

<label for='hFinderUploadFile'>File:</label>

 

 

<input type='file' name='hFinderUploadFile'id='File1' size='40' />

 

 

</div>

 

 

<div>

 

 

<input type='submit' id='Submit1' name='hFinderButton' value='Upload File' />

 

 

</div>

 

 

</fieldset>

 

 

</form>

 


When the mouse is passed over the submit button, the browser displays the correct controller/action url at the bottom of the browser windows for only one of the submit buttons.  The other one displays Edit?rwndrnd=some number, where some number is a number that varies with the execution of the application.  In that case the action in the controller is never called.

Is this something that cannot be done, having two iframes and forms in separate views within the RadMultiPage control, or could this be an issue with RadWindow and/or RadMultiPage?

Thanks in advance,
Eugene

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 28 May 2010, 03:14 PM
Hi Eugene,

I have already answered your question in this thread. Both threads have identical questions, so I am going to close this one.

Sincerely yours,
Fiko
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
Eugene
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or