Click here to Skip to main content
11,930,222 members (39,764 online)
Rate this:
Please Sign up or sign in to vote.
See more: HTML editing
I Have Created a Desktop Winforms Application On The Basis of Means a user can create Html templates in the Application and then Publish 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.


Posted 7-Mar-13 2:39am
ryanb31 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 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.


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.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