drag and resize custom control on designer surface
-
hi, i am developing a web control in a asp.net application project and derived my custom class from a webcontrol. after inserting onto the designer surface, i cannot resize it but can only drag and move it anywhere on the designer surface. how can i resize my control by dragging its handlers? it doesn't allow that right now. i initially got started on a empty web project and with the same control, i could resize the control on the designer surface. am wondering why it doesn't with the asp.net application project setting.. thanks, huikm
-
hi, i am developing a web control in a asp.net application project and derived my custom class from a webcontrol. after inserting onto the designer surface, i cannot resize it but can only drag and move it anywhere on the designer surface. how can i resize my control by dragging its handlers? it doesn't allow that right now. i initially got started on a empty web project and with the same control, i could resize the control on the designer surface. am wondering why it doesn't with the asp.net application project setting.. thanks, huikm
huikm wrote: derived my custom class from a webcontrol What you are saying happens when I derive from Control. Did you maybe change the class you are inhering from? MyDUMeter: a .NET DUMeter clone
"Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of." -
huikm wrote: derived my custom class from a webcontrol What you are saying happens when I derive from Control. Did you maybe change the class you are inhering from? MyDUMeter: a .NET DUMeter clone
"Thats like saying "hahahaha he doesnt know the difference between a cyberneticradioactivenuclothermolopticdimswitch and a biocontainingspherogramotron", but with words you have really never heard of."the control is derived from: public class XYChart : System.Web.UI.WebControls.WebControl {...} the project was created using Web Control Library wizard option. i experimented with another skeleton Web Control Library project and its the same problem on the designer surface hosted within a asp.net web application project. previously, i created an empty web project and included the XYchart web control library project in it and i was able to drag and resize my control on the designer surface without adding any additional codes. i tried copying the dlls from the web control project's bin/debug to the web project bin folder and reference it but it doesn't help. the point is i could not drag and resize my custom control on a aspx form designer surface in asp.net web application project but i could do it on a aspx form designer surface in an empty web project. huikm