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
|
|
|
cvboucher
Posts: 191
|
Posted: 04/02/2012, 8:53 AM |
|
This might help.
http://forums.codecharge.com/posts.php?post_id=117563
Craig
|
|
|
|