Click here to Skip to main content
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 2: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 7,903
1 Sergey Alexandrovich Kryukov 7,192
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 11 Mar 2013
Copyright © CodeProject, 1999-2014
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