hi,
I am working with ManageTimeSheets form in ep, i am able to debug dataset files and classes as well
but I am unable to debug .ascx.cs files Releted to time sheets, debugger is not hitted that files
any one have an idea how to debug .cs files through ep site
Thanks,
suresh
Hi.
Try this: on the breakpoint properties in VS (right click on the breakpoint red bullet), select Location and then check the Allow source code to be different from the original.
Let me know if this helps.
hi lucian,
I have tried this but it is not working may be some problem in my system or Location of break point,
i have one problem,
in ep -.employeeservices->manageTimeSheets->newtimesheet->
here i want code for enable or disable SubmitButton Based on hours and afterpressing
validate buttton where i can find code for this you have any idea
thanks for your knowledge and help
Regards
suresh
How are you debugging the page? Running from VS in Debug mode or attaching to the IIS process?
I have put break point in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\ep in TSTimesheetEdit.ascx.cs file and I have navigate to
create new time sheet through Admin->setup->website->EmployeeServices->manageTimeSheets->createNewTimeSheet
and i have created new line and I have click ProjectIcon I have changed the hours
in this process it is not hitting
can you give me the suggestion reg previous problem ie: code location for that submit button
can you suggest me the easiest way to find out the code location to EP controls like setup in normal ax forms
Thanks
suresh
Hi. In order to make sure I understood right how are you debugging, have you create in VS a Dynamics AX Web Project and running the page from VS with Start Debugging (F5)?
Related to your other two questions I have to look in the code for the first one (submit button - can give you an answer later today);
and to the second one can you please give more details what is it you want?
Iulian.
hi lulian,
still i am still unable to find the code location for submit button in EmployeeServices->ManageTimeSheets
enable or disable submit button after pressing update icon and validate button
after pressing update icon with out entering hours it is enbling → it needs to be disabled
after pressing validate button it is disabling → it needs to be enabled
can you give me the suggestion is it Dataset Level problem or we need to do in .ascx files
thanks
suresh