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
Hmm, really strange. Coming back to my test-project after your post - and it works. I must have done something stupid ... but I did try this more than once, and it never work.
Thanx anyway!
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>