CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP.NET - InMotion Framework

 Editable Grid Hidden Fields and BeforeBuildInsert issues

Print topic Send  topic

Author Message
thenetguy

Posts: 7
Posted: 03/28/2012, 11:01 AM

Reading On forums for solution but i amd missing something.



Net c# inmotion 3.5
Editable grid with 1 new row visable on one table


Objective:
Pass URL varible to newly row inserts on editble grid for EmpID,ProjectID, and Weekend.
But this is not working... Am i missing somethign here for more steps.
Sorry for my inexperience.

Is there a better way to do this? aka create hidden control and use before show event to populate, Then custom code to Insert the Value from The hidden control to the select SQL ?

Any help would be greatly appriciate


Tried:
Added BeforeBuildInsert 'retrieve value for Control


//EditableGrid TimeSheet Event Before Build Insert. Action Retrieve Value for Control @224-71988F27
TimeSheet.GetControl<InMotion.Web.Controls.MTHidden>("WTS_EmpId").Value = Request.QueryString["EmpID"];
//End EditableGrid TimeSheet Event Before Build Insert. Action Retrieve Value for Control

//EditableGrid TimeSheet Event Before Build Insert. Action Retrieve Value for Control @225-DE317CCC
TimeSheet.GetControl<InMotion.Web.Controls.MTHidden>("WTS_ProjectID").Value = Request.QueryString["ProjectID"];
//End EditableGrid TimeSheet Event Before Build Insert. Action Retrieve Value for Control

//EditableGrid TimeSheet Event Before Build Insert. Action Retrieve Value for Control @226-7448A665
TimeSheet.GetControl<InMotion.Web.Controls.MTHidden>("WTS_WeekEnd").Value = Request.QueryString["weekend"];
//End EditableGrid TimeSheet Event Before Build Insert. Action Retrieve Value for Control
View profile  Send private message
cvboucher

Posts: 191
Posted: 04/02/2012, 8:53 AM

This might help.

http://forums.codecharge.com/posts.php?post_id=117563

Craig
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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