SunQuest
           .Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 1st, 2008, 12:24 AM
himanshu110 himanshu110 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 5 himanshu110 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 27 sec
Reputation Power: 0
Creating Aspnet Server Controls by Drag Drop

Hi Guys,

Im working on an app where Users can drag and Drop controls on forms.The problem is they are not html controls( like HtmlINput or Textbox), they are server controls.The application is basically designing the forms on the fly.
There is a right panel from Where Users can drag and drop the controls on Right Container. Now they are essentially ASP.net Server controls like Textbox,radio button checkboxes etc.
What i want is that when user drags the controls from right pan and releases it to left, new controls should get added on left pane something like:-

If Ondrag(RightPane)->ReleaseOn(LeftPane) then
OnRelaseOnRightPane = new Asp.netServerControl

The server controls im adding from a class library. That is if someone drags and drops a textbox, then objTextBox will be reutrned. Then that textbox will be added to the pane.

jotform.com

Is there any way through which i can use JS to drag a control and then execute some server method that will return me an object which i can crate on my form?

My issue is only one thing, How can i accomplish drag and drop. See these are not static container where i can move my already created controls. I want to create a new control.Morever these are server controls that i want to add.

I tried web parts but no support and not good enough
With javascript i have used drag drop scripts from dhtmlgoodies, but no use

Can anybody help me out with any sugegstion or approach ?


Reply With Quote
  #2  
Old May 1st, 2008, 08:21 AM
f'lar's Avatar
f'lar f'lar is offline
Senior WeyrLeader
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Aug 2003
Location: WI
Posts: 3,782 f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level)f'lar User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 3 Days 22 h 12 m 27 sec
Reputation Power: 675
Send a message via Google Talk to f'lar
Build your controls as WebParts to help make the drag/drop easier.
__________________
Primary Forums: .Net Development, MS-SQL, C Programming
VB.Net: It's not your father's Visual Basic.

[Moving to ASP.Net] | [.Net Dos and Don't for VB6 Programmers]

Reply With Quote
  #3  
Old May 3rd, 2008, 12:46 AM
himanshu110 himanshu110 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 5 himanshu110 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 27 sec
Reputation Power: 0
Quote:
Originally Posted by f'lar
Build your controls as WebParts to help make the drag/drop easier.



Quite easy to think of....but not good enough.....if i start so, i can complete my entire application before i'll complete making webparts like controls...any other sugegstions?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > Creating Aspnet Server Controls by Drag Drop


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway