Click here to Skip to main content
11,705,610 members (51,350 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: HTML Drag WinForm Editors
HI,
I Have Created a Desktop Winforms Application On The Basis of Wix.com Means a user can create Html templates in the Application and then Publish Them.now when a user Clicks on the Menu On Right side( Which Contains Menu For Adding Buttons and Other General Controls),The Control is Drawn on The Webbrowser control ( Setting its Editmode true).
But Whenever we add a Control is Alighned to left By Default and There is No Mean To Reorder them .
Can we implement a Functionality Which Lets Users Place Controls on Document where ever they want instead of Having Each control Autoalighned to Left.

Thanx

Tarjeet
Posted 7-Mar-13 1:39am
Comments
ryanb31 at 7-Mar-13 8:13am
   
It sounds like this is all your own custom code and you want us to help you align the controls? I'm confused. I can't see any of your code, how would I know how to help?
tarjeetsalh at 11-Mar-13 3:13am
   
YEs, I have a Webbrowser Control In a Winforms Application.
I am Creating the Elements in It keeping the contentEditable=true Attribute on WebbrowserControl.
This Way i am Able to Provide a Workspace for creating a Html page For Users.But What Happens is That ,all The Controls when Added on Workspace are automatically Alighned to Left For Example

Button1 button2 button3 TextBox1

These Controls Are arrangable Within ThemSelves. But We Cannot Reorder Button1 or anyControl unless We Create a new Line Below By Pressing Enter then The Controls Are Alignable to Next Line Also and So on.
Can i Put a Functionality That I Can Drag The Controls anyWhere on The Screen .
irrespective of the HTML Render Technique.

Tarjeet

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 229
1 Sergey Alexandrovich Kryukov 100
2 Inimicos 60
3 ProgramFOX 50
4 Richard MacCutchan 45
0 OriginalGriff 9,053
1 Sergey Alexandrovich Kryukov 8,347
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,626


Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | Last Updated 11 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100