How to refresh Dataview

  1. #1

    How to refresh Dataview

    Hi i've got DataView which is binded with Store. And fileupload control which uploads file.
    After upload i want to refresh dataview to show upload image.

    Please help
  2. #2

    RE: How to refresh Dataview

    Hi,

    Just call 'reload' for Store (please note that Store should has OnRefreshData handler where you need to bind new data) 


  3. #3

    RE: How to refresh Dataview

    hi

    Am using this uploadControl

    
    
    
    
    <ux:FileUploadDialog ID="FileUploadDialog1" runat="server" 
    
    
    Title="Upload Files" Draggable="true" Modal="true"
    
    
    Floating="true" ShowOnLoad="True" MinWidth="450" MinHeight="300">
    
    
    <Listeners>
    
    
    <UploadError Handler="alert(data.error);" />
    
    
    </Listeners>
    
    
    </ux:FileUploadDialog>
    So when i close this dialog it doesnt go to next line in CodeBehind.
    Am opening this dialog on button click
    
    
    
    
    protected void btnUpload_Click(object sender, AjaxEventArgs e)
    
    
    {
    
    
    FileUploadDialog1.Show(); 
    
    
    
    .....Next Line
    
    }

Similar Threads

  1. [CLOSED] DataView to DataView Drag and Drop
    By paulc in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2012, 8:19 PM
  2. Replies: 2
    Last Post: Jan 22, 2012, 2:00 PM
  3. Replies: 2
    Last Post: Jul 30, 2010, 12:37 AM
  4. DataView
    By syed2uk in forum 1.x Help
    Replies: 1
    Last Post: Dec 18, 2009, 3:48 AM
  5. DataView. Need help
    By Dgsoft.ru in forum 1.x Help
    Replies: 2
    Last Post: Jul 16, 2009, 11:14 AM

Posting Permissions