mackay dating qld - Aspxgridview rowupdating combobox

Sub my Sub(By Val sender as Object, By Val e As Event Args) Handles Grid View1. I have to go through client click with javascript, which I don't mind to but all my attempts to pass the click event from the client to the server code behind failed. In my case, I want to get contents of a field ('ID') from ASPx Grid View when the user clicks on the row...

Selected Index Changed Dim id as String = Grid View1. Create the Client Side Event for row click and put "Row Click(s, e);" in the function.

Obviosly, there is no built in Event that can be handled directly from code behind.

Create the actual function the event will call as shown below - and here is the tricky part; do not use Get Focused Row Index() to get the index because it is the FOCUSED index.

One is the master grid, the other ones are detail grid connected with primary/foreign key.

When I click the new button in a detail grid, the columns in the form comes totally blank.

But I want some columns which have Parent ID to be automatically selected because I already selected that in its master grid.

Here is a specific example: I have a master grid which shows companies.

This grid has a detail grid which shows departments belonging to these companies.I chose one of the companies and departments which blongs to it appeared in the detail grid.Then I cliked new button to create a new department data.But in the form, company combobox column is blank while it should be automatically selected.I have to choose the same company in this combobox again.I couldn't find anything in Dev Express forums about this problem.

Tags: , ,