I'm trying to use rad upload control with ajax but it fails.
Search the telerik support I found that according to xml request limitation I can never use ajax to upload files.
Instead I must cancel the ajax callback and do normal postback.
I used the following code snap to cancel the even
It works perfectly as I need but It damage the GUI of my components [such as a rad grid]
this is a link for the snapshot of the damaged interface.
http://www.4shared.com/file/66858622/cdf7e426/damage.html
and this is the actual snapshot that must appear.
http://www.4shared.com/file/66858614/fb912d0/actual.html
when I removed the line that cancel the ajax it works fine and no interface damage.
Is there any work a round for my problem.
Note:
Search the telerik support I found that according to xml request limitation I can never use ajax to upload files.
Instead I must cancel the ajax callback and do normal postback.
I used the following code snap to cancel the even
//disable ajax in case of uploading files
if(args.EventTarget == "<%=LinkButton_Send.UniqueID%>")
{
args.EnableAjax =
false;
}
It works perfectly as I need but It damage the GUI of my components [such as a rad grid]
this is a link for the snapshot of the damaged interface.
http://www.4shared.com/file/66858622/cdf7e426/damage.html
and this is the actual snapshot that must appear.
http://www.4shared.com/file/66858614/fb912d0/actual.html
when I removed the line that cancel the ajax it works fine and no interface damage.
Is there any work a round for my problem.
Note:
- I'm using radcontrols for asp.net ajax 2008 Q2
- asp.net framework 3.5