Server Controls

  • Thread starter Thread starter Mrv
  • Start date Start date
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
 
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.
 
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.
 
Back
Top