loading image in webgrid

1 reply. Last post: January 13, 2011 11:54 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
caMember

hi,

 

I am using Webgrid (2009 R2).

Here in my webgrid, i am using one column as button. The code is as below

 

<ISWebGrid:WebGrid ID="WebGrid2" Visible="False" runat="server" Height="530px" UseDefaultStyle="True"
                        Width="770px" OnInitializeLayout="WebGrid1_InitializeLayout" oninitializedatasource="WebGrid1_InitializeDataSource"  DefaultStyleMode="Win7" onbuttonclick="WebGrid1_ButtonClick">
                        <RootTable>
                            <Columns>
                                <ISWebGrid:WebGridColumn ButtonAutoPostback="True" ButtonImage="Images/select.png"
                                    ButtonText="Select" Caption="Select" ColumnType="ButtonImage" DataMember="CUST_CODE"
                                    EditInfoImage="images/login1.png" EditType="NoEdit" Name="WebGridColumn7" Width="60px">
                                </ISWebGrid:WebGridColumn>
                               
                            </Columns>
                        </RootTable>
                        <LayoutSettings AllowColumnMove="Yes" AllowExport="Default" AllowFilter="Yes" AllowGrouping="Yes"
                            AllowMultipleSelection="Default" AllowSelectColumns="Yes" AllowSorting="Yes" AutoFitColumns="True" PagingSize="10" AlwaysShowHelpButton="False" StatusBarVisible="False" GroupByBoxVisible="True">
                           <ButtonStyle BackColor="Transparent" Width="200px" BorderWidth="0px">
            </ButtonStyle>
                            </LayoutSettings>
</ISWebGrid:WebGrid>

 

When i click on the button, i am doing something lengthy operation in the backend. Here i want to use "loading" indication on the page, when some one click the button.

 

I tried th use Ajax updateprogress and ajax upadepanel to implement the loading effect by putting grid inside the updatepanel. But it is not working.

 

Is there any way to do it in your webgrid control

 

 

thanks and regards

 

ismail

All times are GMT -5. The time now is 3:06 AM.
Previous Next