We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SF form controls on web? (v6.1.0.34)

Hi!

Has any solution to use SyncFusion form controls on a webpage? I tried to drag a ButtonAdv control my user control (then I modified with AllowPartiallyTrustedCallers attrib). After that I created an aspx file and used the ..classid="assembly#namespace.usercontrol1"...
and finally I tried to run, but throw an exception:

"System.TypeInitializationException: The type initializer for 'Syncfusion.ComponentModel.ControlEventsHelper' threw an exception. ---> System.FieldAccessException: Attempted to access a field that is not accessible by the caller.
at System.Reflection.RtFieldInfo.PerformVisibilityCheckOnField(IntPtr field, Object target, IntPtr declaringType, FieldAttributes attr, UInt32 invocationFlags)
at System.Reflection.RtFieldInfo.InternalGetValue(Object obj, Boolean doVisibilityCheck, Boolean doCheckConsistency)
at System.Reflection.RtFieldInfo.GetValue(Object obj)
at Syncfusion.ComponentModel.ControlEventsHelper..cctor()"



3 Replies

MW Melba Winshia Syncfusion Team February 7, 2008 08:37 AM UTC

Hi Viktor,

Thank you for your interest in Syncfusion Products.

Solution to use SyncFusion form controls on a webpage:

You can use SyncFusion form controls on a webpage. Please refer the below sample which use ButtonAdv control on webpage:

http://websamples.syncfusion.com/samples/TestSamples/WindowsContorlInIEReproducable.zip

Please try this and let me know if this helps.

Thanks,
Melba




VI Viktor February 7, 2008 11:52 AM UTC

Thanks Melba,

It's working, but I've found a bug with docking manager. If the IE window's location is not the top left, dragged UserControl unable to drop any side of my base UserControl, sometimes it goes behind IE window,and docking icons are not visible, any idea?

Regards,

Viktor



MW Melba Winshia Syncfusion Team February 8, 2008 08:29 AM UTC

Hi Viktor,

Thank you for the update.

I am afraid that I was not able to reproduce this issue. Also I have created a simple sample to test this issue and it is available in the below link:

http://websamples.syncfusion.com/samples/TestSamples/DocKing.zip

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Thanks,
Melba


Loader.
Live Chat Icon For mobile
Up arrow icon