Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8998921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:06:20+00:00 2026-06-16T00:06:20+00:00

By using the example from http://examples.ext.net/#/Chart/Column/Basic/,i bind the my data to chart from my

  • 0

By using the example from http://examples.ext.net/#/Chart/Column/Basic/,i bind the my data to chart from my sqldatasource ,
but ,on this example ,there is a button called “ReloadData” that refresh the data,

like this way,

<script runat="server">
    protected void ReloadData(object sender, DirectEventArgs e)
    {
        Store store = this.Chart1.GetStore();

        store.DataSource = Ext.Net.Examples.ChartData.GenerateData();
        store.DataBind();
    }
</script> 

how can i bind again my sqldatasource inside the ReloadData method.

my simplified codes are here ;

chart.aspx

           <ext:Panel ID="Panel1" 
                runat="server"
                Layout="FitLayout" Flex="1">
                <TopBar>
                    <ext:Toolbar ID="Toolbar1" runat="server" Flex="1">
                        <Items>
                            <ext:Button ID="Button1" 
                                runat="server" 
                                Text="" 
                                Icon="ArrowRefresh" 
                                OnDirectClick="ReloadData" />
                            ......
                            ......

                        </Items>
                    </ext:Toolbar>
                </TopBar>
                <Items>                                                     
    <ext:Chart ID="Chart1" runat="server" Shadow="true"  StyleSpec="background:#fff" Animate="true" ColumnWidth="0.5" Flex="1">
        <HtmlBin>
            <asp:SqlDataSource ID="datasource1"
 runat="server" ConnectionString="<%$ ConnectionStrings:AProjeConnectionString %>"
                SelectCommand="SELECT COUNT(*)
                ....
                ....
                ">
            </asp:SqlDataSource>
        </HtmlBin>

                            <Store>
                            <ext:Store ID="Store1" 
                                runat="server" 
                                DataSourceID="datasource1"
                                AutoDataBind="true">                           
                                <Model>
                                 .....
                             .....
                                </Model>
                            </ext:Store>
                        </Store>
       <Axes>
                            <ext:NumericAxis                             
                                Fields="O"                            
                                Grid="true"
                                Title="S"
                                Minimum="0">
                                <Label>
                        <Renderer Handler="return 
Ext.util.Format.number(value, '0,0');" />
                                </Label>
                            </ext:NumericAxis>                            

                            <ext:CategoryAxis 
                                Position="Bottom"
                                Fields="Ad"
                                Title=""
                                Width="75"
                                />                            
                        </Axes>
              <Series>
                            <ext:ColumnSeries 

                        ......
                        ......
                        ......
                            </ext:ColumnSeries>
                        </Series>
                        </ext:Chart>
    ......
    ......

thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:06:21+00:00Added an answer on June 16, 2026 at 12:06 am

    Calling just

    Store1.DataBind();
    

    should help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've attempted to use this example and add basic CRUD to a tree. http://dev.sencha.com/deploy/ext-4.0.0/examples/tree/treegrid.html
I am using an example program from this code http://sicktoolbox.sourceforge.net/ > http://sourceforge.net/projects/sicktoolbox/files/ . It's
From this example http://www.senchafiddle.com/#dPZn0 This displays a first panel, then a second one... using
I follow example from here using section listview http://lalit3686.blogspot.com/2012/05/sectionadapter.html But how can I implement
from this site there is header compress.h http://www.fredosaurus.com/notes-cpp/examples/compress/compress.html i am using visual c++ 2010
I used this example (http://reecon.wordpress.com/2010/04/25/uploading-files-to-http-server-using-post-android-sdk/) to upload file from android device to server, it
I'm using a Carousel example from this website. For one single carousel on the
I've learned how to add custom headers to Ext-JS requests from this question: HTTP
The example I'm trying to compile is from: http://www.boost.org/doc/libs/1_46_1/doc/html/boost_asio/examples.html (the chat example) Here is
I am using the python code examples from http://www.quickfixengine.org and have a question. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.