CellSelectionChanged and RowSelectionChanged both are not working , when i debug on my local it fires at the break point on the event hoe ever the text am writing on to the text box does not display on the page .. what is happeneing , on the server it does not work as well.. what is that am missingn reply asap.
<igtbl:WebDataGrid id="grid" runat="server" EnableDataViewState="true" OnColumnSorted="grid_ColumnSorted"
AutoGenerateColumns="True" AutoPostBackFlags="true" EnableAjaxViewState="true" oncellselectionchanged="grid_CellSelectionChanged"> <Behaviors> <igtbl:Selection Enabled="true" RowSelectType="Single" CellClickAction="Row" CellSelectType="Single"> <%--<AutoPostBackFlags RowSelectionChanged="true" />--%> <AutoPostBackFlags CellSelectionChanged="true" /> </igtbl:Selection> <igtbl:Sorting Enabled ="True" SortingMode ="Single"> </igtbl:Sorting> </Behaviors>
protected void grid_CellSelectionChanged(object sender, SelectedCellEventArgs e)
{ errormessage.Text = "In grid_CellSelectionChanged";
}
Hello Arjun,
I have responded in the other thread:
http://es.infragistics.com/community/forums/p/91681/453140.aspx#453140
is it because the button should also be postback ?
Please respond asap.
I think i know the problem. Its not the performance issue .
I have button outside of webdatagrid(with ajax false), so when grid row is selected on the server side event i am looking to enable/disable the webimagebutton.
Within the rowselectionchanged event i am trying to enable/disable the webimage buttion that's not working not sure why .
performance is fine, its just the webimagebutton functionality thats not working.
Please refer to the post you mentioned, I responded there.
Regarding the grid configuration you have provided, please note that you will not be able to handle both the CellSelectionChanged and RowSelectionChanged events. Only one of these events will be fired depending on the value of the CellClickAction property of the Selectioon behavior (Cell or Row).
This is my issue. Please respond asap.