radUpload present in a ajax panel bar

Thread is closed for posting
1 posts, 0 answers
  1. Arun
    Arun avatar
    15 posts
    Member since:
    Apr 2009

    Posted 26 May 2009 Link to this post

    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
Back to Top