Hello, I just started poking around with the ASP.net controls as a trial and I can't seem to get the active cell changed event to fire. I've gone through the documentation and found an example that should work and i've mimicked it as much as possible but I found that the example was calling a javascript function which was doing a PostBack event to get into the VB.net that would actually do what I need it to do. The starting tag and the columns are basically verbatim from the example so I'm assuming they are correct.
Hi obrienm,
Are you asking about the server side active cell changed event? This only fires when a postback occurs (either ajax or full). You can set an autopostback flag for the active cell changed client event in the activation behavior. Then whether it is a grid (ajax) or full postback is determined by the EnableAjax property of the grid. If ajax is true, it is not possible to modify other controls on the server in the event and have them come back refreshed.
regards,
David Young
Yes thats basically what I was asking but right after I made this post I figured it out but I was unable to find a way to delete the thread. But you also gave me an idea for another problem I was having which was the entire page refreshing instead of just the control so thanks for the response.
So i've run into another hiccup,
Is it possible to refesh the contents of a Div section with information from a database as a reaction to when the user changes the selected cell of a datagridview?
Right now I have a datagridview that displays different user information and I want to make it so a user can selct a user from the datagridview and it will display the corresponding information in textboxes below the DGV. I've looked into using the Datagridview to handle the updates but it doesn't quite work for this application because I want to be able to edit more than just the information that will be displayed in the DGV.
My DGV currently has an event tied to it that looks like:
<ig:Selection RowSelectType="Single" Enabled="True" CellSelectType="Single" ColumnSelectType="None" >
function ActiveCellChanged(webDataGrid, evntArgs) {
__doPostBack(
This looks like it is refreshing the entire page which isn't really what I want. Is there a better way to refresh only the <div> section below the datagridview?