Wisej-DragDropSample script use / requirements HELP please

Closed
0
0

Good evening WiseJ folks

The sample solution Wisej-DragDropSample.sln  implements some odd initialization script

FixDragDropForButton()  this.InitScript = @”

The page loads, invokes a method to run this script (I don’t get that part) ,

dynamic controls are programmatically created  in this page load

label, a button and the properties for AllowDrag   as well as assigning events to these new ctrls

and event to  some ctrls already laid down in the designer to address.

I believe I can hack out the appropriate methods and events but the script isn’t intuitive.

Is it generic ? are there control specific references in the script I didn’t see any specific control names or anything

in the script so I guess that’s why I am asking  I remember a bit of  old lisp  but I don’t get this script or why its needed

or what it is doing ? Please and thank you.

Is there some additional documentation to the code sample?

Is this script required to implement the Drag/Drop functionality ?

Thank you very much for any assistance and insight !

 

 

 

 

 

  • You must to post comments
0
1
  • You must to post comments
0
0

Hi Christian,

Would you mind attaching the sample you’re referring to?

In any case, we had a bug with the Drag&Drop feature in buttons a few releases back, and the InitScript you’re referring to was a quick workaround to the issue!

You won’t need to implement any kind of custom InitScript scripts into your controls to implement the Drag&Drop feature!

HTH,
Alaa

 

  • Christian Programmer
    I specifically used the WiseJ provided drag and drop sample from the WiseJ sample zip as my reference and I still knew you were going to ask for attaching the sample Hopefully wont have to trouble you again as I kraft up my test based upon the sample. I believe you are telling me I can with WiseJ 3.2.2 follow the “Wisej-DragDropSample.sln” as an example and just not invoke the script? Thank you for the swift reply
  • Alaa (ITG)
    Yes, you can use Wisej. NET 3.2.2 and follow the sample without invoking the script. And about the sample itself, we could not find it on our end, that’s why I asked you to attach it, in case there’s a misunderstanding :)
  • You must to post comments
Showing 2 results