I'm a beginner to this control, having just replaced an UltraWebGrid with one. In general it's much cleaner and easier to use, but I am stuck because I can't figure out how to accomplish this basic feat:
1) User clicks a row on the WebDataGrid
2) I load new content into a tab control that lives in a WARP panel.
Basically, it's not obvious to me how exactly the new grid causes server-side events to occur. I have the following code in the page code-behind:
protected void gridSearch_RowSelectionChanged(object sender, Infragistics.Web.UI.GridControls.SelectedRowEventArgs e) { string s = "foo"; }
with a breakpoint on the test string assignment. If I click a row on the client, this never gets called. What am I missing? Do I have to handle the client-side event and then call the server? I've been trying stuff for a full day and Googling and all that good stuff, but I'm stuck.
Help is appreciated :-)
I'm going to try that, but I'm not sure what I'm trying to do exactly. I've created a Javascript function to catch the RowSelectionChanged event and am trying to figure out how to get the value of the ID cell in the row. Mostly trial and error since I can't seem to find docs for the Javascript events. Once I have that, I somehow want to call a server function(passing that id) which will I hope populate several controls on a Tab control, including an UltraWebGrid.
I'm just a bit confused as to how to get there.
The RowSelectionChanged event will only occur after a post back and right now there is no AutoPostBack option.
If you are using an update panel though could you do it using the client-size RowSelectionChanged event?