Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
Events of UltraWebGrid not raised inside WARP
posted

 Hi,

 I have a little testpage (which is using a masterpage), with an UltraWebGrid and a WARP. The grid is not inside of the warp. So in the Page_Load I do a "_webAsyncRefreshPanel.AddLinkedRequestTrigger(_productGrid);" to hook my grid to the warp "_webAsyncRefreshPanel" is the ID of my WARP while "_productGrid" is the ID of my grid :) - obviously! ). I further register the double-click event of the grid using "_productGrid.DblClick += _productGrid_DblClick;".

OK ... but the event-handler is never raised :(

If I comment out "_webAsyncRefreshPanel.AddLinkedRequestTrigger(_productGrid);" the event get's raised alright ...

 

I'm running VS 2008 SP1, .Net 3.5SP1, Infragistics 2008 Vol 1

Parents
  • 24497
    Verified Answer
    posted

    Hi,

    I tested following and could not reproduce. Postback was async and grid handler was hit.

    protected void Page_Load(object sender, EventArgs e)
    {
     
    this.UltraWebGrid1.DblClick += new ClickEventHandler(this.UltraWebGrid1_DblClick);
     
    this.WebAsyncRefreshPanel1.AddLinkedRequestTrigger(this.UltraWebGrid1);
    }
    protected void UltraWebGrid1_DblClick(object sender, ClickEventArgs e)
    {
     
    this.TextBox1.Text += "G";
    }

    <igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel1" runat="server">
     
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    </igmisc:WebAsyncRefreshPanel>
    <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Height="163px" Width="310px">
     
    <Rows>
     
    <igtbl:UltraGridRow>
      
    <Cells>
       
    <igtbl:UltraGridCell Text="abc"></igtbl:UltraGridCell>
       
    <igtbl:UltraGridCell Text="abc"></igtbl:UltraGridCell>
      
    </Cells>
     
    </igtbl:UltraGridRow>
     
    </Rows>
     
    <Bands>
     
    <igtbl:UltraGridBand>
     
    <Columns>
       
    <igtbl:UltraGridColumn />
       
    <igtbl:UltraGridColumn />
      
    </Columns>
     
    </igtbl:UltraGridBand>
     
    </Bands>
     
    <DisplayLayout>
     
    <FrameStyle Height="163px" Width="310px"></FrameStyle>
     
    </DisplayLayout>
    </igtbl:UltraWebGrid>

Reply Children
No Data