Server Controls

M

Mrv

Hi All,

I work with asp.net server controls by writing code and not dragging
and dropping them.

Would like to know your opinion about writing code for server controls
and drag & drop.

i.e. write code Vs. Drag & Drop

Thanks,
Vaibhav
 
M

Mark Fitzpatrick

It depends upon what you're dragging and dropping. A lot of the
drag-and-drop data objects can be more cumbersome and innefficient than
coding the data functions by hand. A lot f the drag-and-drop is safe though
and pretty much similar to what you would write by hand, for example
dragging and dropping an asp label or repeater control generates fairly
clean and simply code, just as good as hand-written.

Play with a few of the items to see which ones will generate code that is
not useful or bloated. Sometimes though it's easier to drop a control onto
the page and removing a property or two of it than to write it all out by
hand.
 
S

Steve C. Orr [MCSD, MVP, CSM, ASP Insider]

Either way works. No major preference in my opinion.
To me drag and drop seems quicker and easier, but maybe you can type super
fast.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top