User Profile & Activity

Mark Dragom Member
Page
of 4
Posted: September 22, 2011 11:36 AM

Hi Yudi,

I’m able to run your sample without getting any errors. Please indicate which parts of your sample are essential to be  included in my code to address the issue.  Our data backend is SQL  and data access is via Stored Procedures only.

Thank you

Posted: September 20, 2011 3:58 PM

Thanks Yudi for your replay.

I'm running version 5.0.7200.3 of WebCombo. It was a fresh install of WebUI Studio 2011 R1 SP1.

There is really nothing specific about that sample. The exception is thrown before _InitializeDataSource is called. As I have mentioned this is intermittent problem and sometimes it takes like 20 attempts to surface. Error is pointing to ISCore.js. There are no steps to reproduce that error it just happens when you start typing in the textbox.

I’m attaching picture of Locals from Debug maybe that helps a bit.

 

Thank you

 

Posted: September 19, 2011 4:18 PM

Hi Handy,

Do you have any idea when this can be fixed? I'm using many WebCombo controls on my page and this  does not look good...

Thanks

Hi Handy,

 

Any update on this issue ?...

Hi Handy,

FullPostBack is not an option for me since the form i'm working on loads around 8-10 sec. I cannot afford reloading just to set one control. I need this fix as ASAP. I'm using your WebInput very extensively mostly for datetime entries. Being able to set the read only flags on and off  is compulsory for this app security. So please escalate this issue and let me know the time line. If this will not be resoved soon it will put my project in jeopardy.

Thank you for your help

Mark

 

Hi Yudi,

I have tested the OnBeforeValueChanged and i still see all the vales old and new the same. I do not think the change was implemented in that release. Could you please confirm that. Thank you.

Mark

Hello Handy,

Thanks for your aswer but i still have a problem. After seting value i want the control to be read only again but this does not happen. Not my sequence is as following

1. Page Load WI.ReadOnly = true (server side)

2. User clicks button[SetValueData] (all client side, see my sample)

-WI.SetReadOnly(false);

-WI.SetValueData(newDT, true);

-WI.SetReadOnly(true); ... this is not happening you can still edit the value!

Is there still I'm doing something wrong?

And after WI.SetValueData() how can i make cotrol to display Formatted date

"yyyy-MMM-dd HH:mm"

instead of Edit/Mask format

"yyyy/MM/dd HH:mm"

? Please reffer to my sample...

 

 

 

Hi Yudi

here is the attachement again...

Hi Handy,

Thanks for the tip.

How can I display formatted date time immediately after  calling SetValueData() instead of edit format. Is there another function I need to call? I have attached sample to illustrate the my concern.

I have noticed that I need to change the value of the control in order to switch to Display Format,

 

Also if you could check if I’m using correct functions for setting ReadOnly and focus. I’m not able to set focus on the control if I do the following in sequence:

1 PageLoad ... WI.ReadOnly = true;

2 action:   WI. SetValueData()

3. WI.readOnly = false;

4. WI.SetFocus();

 

Is there a timing issue?

Thanks

Mark

Hi Handy,

 

This at first it  appears to be working fine but I see one problem:

       When trying to retrieve value it shows “” when checking the properties for Value  and Text they are also empty.

function getWI_value(controlID) {

            var IS_WI = ISGetObject(controlID);

            if (IS_WI) {

                return IS_WI.GetValueData();

            }

        } 

 

All times are GMT -5. The time now is 4:00 PM.
Previous Next