CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Modify Insert of Editable Grid

Print topic Send  topic

Author Message
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.
View profile  Send private message
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

View profile  Send private message
dragoon


Posts: 173
Posted: 01/09/2006, 6:22 AM

sorry, i didn't see VB.NET....
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.