NetTalk Central

Author Topic: Popup validation screws browse control in planner  (Read 2721 times)

sabra

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • Email
Popup validation screws browse control in planner
« on: April 18, 2011, 01:06:49 PM »
Hi Bruce and all,

I attached a modified example of hotdates (12) (c9056/ nt5.22) . It took me some days to find the error because it was in a total different place then i expected.

My planning page consists of three controls: date entry, netwebyear planner control and a browse of orders to be scheduled.

The Sabra example uses updappointment1 . The only difference with updappointment is a validation of the field keu:order.  If i use popup validation, the change button in the bnt_KeuringenUNplanned (updkeuring) does not work anymore: a total different control and table?! Also , the planner is not refreshed (have to press F5) if i validate in popup mode.

The second strange thing is the width of the days. I copied the procedures, they are identical .

Best regards,

Walter

The Netherlands


[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Popup validation screws browse control in planner
« Reply #1 on: April 18, 2011, 09:03:51 PM »
Hi Walter,

Thanks for the example.
First a bug, which you can fix there in the meantime if you like.
In netweb.Tpw search for

packet = p_web.jQuery('#' & lower('CalendarAppointments') & '_cal_div','ntplanner',loc:options)

this line should of course read,

packet = p_web.jQuery('#' & lower('%procedure') & '_cal_div','ntplanner',loc:options)

that's fixed for the 5.23 build.

That's the root of the width problem, and also, I suspect, the popup problem.
But I'm not sure if I completely understood the popup problem - can you give me directions on where to go in the browser to duplicate the effect you're getting?

Cheers
Bruce