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

radUpload present in a ajax panel bar

0 Answers 52 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Arun
Top achievements
Rank 1
Arun asked on 26 May 2009, 12:56 PM
Hi i am using a radUpload control in a ajaxify panelbar. I came to know across seeing many forums since there is no post back the upload control always gives the count as "0". Later when i searched across i got a link which said how to used the upload control in the ajaxify panel bar. I tried the way but didn't get any changes. The link is
"http://www.telerik.com/help/aspnet-ajax/upload_uploadingajax.html"

in the topic "Alternative workaround for RadAjaxPanel (and RadGrid classic)"
I have a doubt in this code.. the CodeBehind says to create a click event..

protected void Page_Load(object sender, EventArgs e)
{
 
if (!IsPostback)
 {
   GetPostBackEventReference(
this);
   ButtonSubmit.Attributes.Add(
"onclick",
     
string.Format("realPostBack('{0}', ''); return false;", ButtonSubmit.UniqueID));
 }
}


The script code is

function realPostBack(eventTarget, eventArgument)
 {
   __doPostBack(eventTarget, eventArgument);
 }

Why do we send a single argument. i mean we just send the eventTarget  and get eventArgument  also which is always null. I am not clear in this.. if some one gets this to work please help me out in this as i am stuck in it.. and more over the solution given here is not working for me. :(

thanks in advance
arun.m

No answers yet. Maybe you can help?

Tags
Upload (Obsolete)
Asked by
Arun
Top achievements
Rank 1
Share this question
or