Hello Together,
I find a Problem with Infragistics Image Button in a Webpart of Sharepoint 2010 Environment.
On a Page I have this Button for Get Filtering and Search Data, and also I have a UltraWebGrid 10.3 on this Page.
<asp:UpdatePanel ID="upOrderGridFilter" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<igtxt:WebImageButton ID="btnFilter" runat="server" UseBrowserDefaults="False"
OnClick="btnFilter_Click" Text="Filter" Width="80px" ImageTextSpacing="5">
<Alignments VerticalImage="Top" HorizontalAll="Left" />
<Appearance>
<Image Url="~/_layouts/images/Ordering/next_up.gif" />
<ButtonStyle Font-Names="Tahoma" Font-Size="8pt" BorderStyle="Solid" BorderColor="DarkGray" />
</Appearance>
</igtxt:WebImageButton>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="upOrderGrid" runat="server" ChildrenAsTriggers="false"
UpdateMode="Conditional">
<!-- Panel for Grid -->
<igmisc:WebPanel ID="GridPanel" runat="server"
AutoPostBack-ExpandedStateChanged="False"
AutoPostBack-ExpandedStateChanging="False" ExpandEffect="None"
Header-Text="Orders" Header-TextAlignment="Left" Section508Compliant="True"
StyleSetName="Claymation" TabIndex="2" Width="100%">
<Template>
<igtbl:UltraWebGrid ID="OrderGrid" runat="server" Browser="Xml" Height="260px"
onactiverowchange="OrderGrid_ActiveRowChange"
ondatabinding="OrderGrid_DataBinding"
oninitializelayout="OrderGrid_InitializeLayout"
oninitializerow="OrderGrid_InitializeRow"
onpageindexchanged="OrderGrid_PageIndexChanged" StyleSetName="Claymation"
TabIndex="3" Width="100%">
<DisplayLayout AllowSortingDefault="OnClient" AllowColSizingDefault="Free" BorderCollapseDefault="Separate"
CellClickActionDefault="RowSelect" IndentationTypeDefault="Flat"
Name="OrderGrid" RowHeightDefault="21px" Section508Compliant="True"
SelectTypeRowDefault="Single" StationaryMargins="Header" TableLayout="Fixed"
UseFixedHeaders="True" Version="4.00" ViewType="Hierarchical">
<FrameStyle BackColor="White" BorderColor="WhiteSmoke" BorderStyle="Solid"
BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8pt"
Height="260px" HorizontalAlign="Left" Width="100%">
</FrameStyle>
<RowAlternateStyleDefault BackColor="#F9F9F9">
</RowAlternateStyleDefault>
<Pager AllowPaging="True" PageSize="8" StyleMode="CustomLabels">
<PagerStyle Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Bottom" />
</Pager>
<HeaderStyleDefault BackColor="#F2F2F2" BorderStyle="Solid" ForeColor="Black"
HorizontalAlign="Left">
<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px"
WidthTop="1px" />
</HeaderStyleDefault>
<RowStyleDefault BackColor="Window" BorderColor="WhiteSmoke" BorderStyle="None"
BorderWidth="1px">
<Padding Left="3px" />
<BorderDetails ColorLeft="Window" ColorTop="Window" />
</RowStyleDefault>
<SelectedRowStyleDefault BackColor="#B2E0FE" ForeColor="DarkGray">
</SelectedRowStyleDefault>
<ActivationObject BorderColor="168, 167, 191" BorderWidth="">
</ActivationObject>
</DisplayLayout>
<Bands>
<igtbl:UltraGridBand>
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
</igtbl:UltraGridBand>
</Bands>
</igtbl:UltraWebGrid>
</Template>
</igmisc:WebPanel>
<Triggers>
</Triggers>
If I change the Filter Topics and press this Button to bring Data into the Grid, it works good if I have Data found.
But If the result is empty so I see the no Data Message in the Grid. Now I will change Filter Topic and will press the Button again,
I have no Event anymore. The Button will never call his Button_Click event in the Codebehind anymore until I do a Postback.
This is only after the result is no records.
Now I changed this Button to a normal asp:button and I have no problems anymore.
Ralf
Hi vkapm,
It has been a while since your post, however in case you still need assistance I would be glad to help.
I was not able to reproduce your issue, however I would suggest trying the same setup with the columns generated for the UltraWebGrid (i.e. no autoColumnGeneration) in order to observe whether that has bearin on the matter.
Please feel free to contact me if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support