swilson
Posts: 84
|
Posted: 01/09/2006, 6:04 AM |
|
I want to modify the insert of my editable grid by adding additional rows programmatically, upon submit.
For example, I want my Editable Grid to have only one row to add data. The first column of the grid is ListboxModel (a kind of aircraft): ALL, 172R, 172S, 182S, 182T, T182T, 206H, T206H. If the user selects, ALL, I want to programmatically insert a record for each model, so the user does not have to do this one-at-a-time.
I do not understand how to go about this. Please offer your suggestion and examples if possible.
VB .net SQL
THANKS!
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple. |
|
|
dragoon
Posts: 173
|
Posted: 01/09/2006, 6:21 AM |
|
//event BeforeExecuteInsert
if (item.ListboxModel.value = "All")
CmdExecution = false;
... and continue with your own custom insert code
|
|
|
dragoon
Posts: 173
|
Posted: 01/09/2006, 6:22 AM |
|
sorry, i didn't see VB.NET....
|
|
|
swilson
Posts: 84
|
Posted: 01/09/2006, 10:03 AM |
|
It's...
If item.model.value = "All" then
CmdExecution = false
blah blah blah
End If
Thanks for the tip!
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple. |
|
|
|