Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > dragging my control to the designer issue

Reply
Thread Tools

dragging my control to the designer issue

 
 
rodchar
Guest
Posts: n/a
 
      02-06-2008
hey all,
when i drag my control, that i built, on to the designer it shows up as the
smallest possible size. almost looks like a dot until i resize it then all
the controls show up.

can someone please explain?

thanks,
rodchar
 
Reply With Quote
 
 
 
 
Coskun SUNALI [MVP]
Guest
Posts: n/a
 
      02-06-2008
Hi,

It is because most probably you didn't specify any default values for width
and height and the control thinks that its width and height are set to 0px.

Can you check that and let me know if you still keep having problems?

--
All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com
http://www.propeople.dk

"rodchar" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> hey all,
> when i drag my control, that i built, on to the designer it shows up as
> the
> smallest possible size. almost looks like a dot until i resize it then all
> the controls show up.
>
> can someone please explain?
>
> thanks,
> rodchar


 
Reply With Quote
 
 
 
 
rodchar
Guest
Posts: n/a
 
      02-06-2008
how do you do that?

"Coskun SUNALI [MVP]" wrote:

> Hi,
>
> It is because most probably you didn't specify any default values for width
> and height and the control thinks that its width and height are set to 0px.
>
> Can you check that and let me know if you still keep having problems?
>
> --
> All the best,
> Coskun SUNALI
> MVP ASP/ASP.NET
> http://sunali.com
> http://www.propeople.dk
>
> "rodchar" <(E-Mail Removed)> wrote in message
> news(E-Mail Removed)...
> > hey all,
> > when i drag my control, that i built, on to the designer it shows up as
> > the
> > smallest possible size. almost looks like a dot until i resize it then all
> > the controls show up.
> >
> > can someone please explain?
> >
> > thanks,
> > rodchar

>
>

 
Reply With Quote
 
Coskun SUNALI [MVP]
Guest
Posts: n/a
 
      02-06-2008
Hi,

You can do that in the constructor or you can create your own business rules
to do that or not to do that. It is up to you. You just need to check if
they are zero and set to an higher value if they are.

--
All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com
http://www.propeople.dk

"rodchar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> how do you do that?
>
> "Coskun SUNALI [MVP]" wrote:
>
>> Hi,
>>
>> It is because most probably you didn't specify any default values for
>> width
>> and height and the control thinks that its width and height are set to
>> 0px.
>>
>> Can you check that and let me know if you still keep having problems?
>>
>> --
>> All the best,
>> Coskun SUNALI
>> MVP ASP/ASP.NET
>> http://sunali.com
>> http://www.propeople.dk
>>
>> "rodchar" <(E-Mail Removed)> wrote in message
>> news(E-Mail Removed)...
>> > hey all,
>> > when i drag my control, that i built, on to the designer it shows up as
>> > the
>> > smallest possible size. almost looks like a dot until i resize it then
>> > all
>> > the controls show up.
>> >
>> > can someone please explain?
>> >
>> > thanks,
>> > rodchar

>>
>>


 
Reply With Quote
 
rodchar
Guest
Posts: n/a
 
      02-06-2008
i tried setting the height and width but the effects were at runtime. the
problem i'm having is in the designer. am i missing an attribute or something?

"Coskun SUNALI [MVP]" wrote:

> Hi,
>
> You can do that in the constructor or you can create your own business rules
> to do that or not to do that. It is up to you. You just need to check if
> they are zero and set to an higher value if they are.
>
> --
> All the best,
> Coskun SUNALI
> MVP ASP/ASP.NET
> http://sunali.com
> http://www.propeople.dk
>
> "rodchar" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > how do you do that?
> >
> > "Coskun SUNALI [MVP]" wrote:
> >
> >> Hi,
> >>
> >> It is because most probably you didn't specify any default values for
> >> width
> >> and height and the control thinks that its width and height are set to
> >> 0px.
> >>
> >> Can you check that and let me know if you still keep having problems?
> >>
> >> --
> >> All the best,
> >> Coskun SUNALI
> >> MVP ASP/ASP.NET
> >> http://sunali.com
> >> http://www.propeople.dk
> >>
> >> "rodchar" <(E-Mail Removed)> wrote in message
> >> news(E-Mail Removed)...
> >> > hey all,
> >> > when i drag my control, that i built, on to the designer it shows up as
> >> > the
> >> > smallest possible size. almost looks like a dot until i resize it then
> >> > all
> >> > the controls show up.
> >> >
> >> > can someone please explain?
> >> >
> >> > thanks,
> >> > rodchar
> >>
> >>

>
>

 
Reply With Quote
 
Coskun SUNALI [MVP]
Guest
Posts: n/a
 
      02-06-2008
Hi,

I can't help further as long as I don't see the code.



--
All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com
http://www.propeople.dk

"rodchar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> i tried setting the height and width but the effects were at runtime. the
> problem i'm having is in the designer. am i missing an attribute or
> something?
>
> "Coskun SUNALI [MVP]" wrote:
>
>> Hi,
>>
>> You can do that in the constructor or you can create your own business
>> rules
>> to do that or not to do that. It is up to you. You just need to check if
>> they are zero and set to an higher value if they are.
>>
>> --
>> All the best,
>> Coskun SUNALI
>> MVP ASP/ASP.NET
>> http://sunali.com
>> http://www.propeople.dk
>>
>> "rodchar" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > how do you do that?
>> >
>> > "Coskun SUNALI [MVP]" wrote:
>> >
>> >> Hi,
>> >>
>> >> It is because most probably you didn't specify any default values for
>> >> width
>> >> and height and the control thinks that its width and height are set to
>> >> 0px.
>> >>
>> >> Can you check that and let me know if you still keep having problems?
>> >>
>> >> --
>> >> All the best,
>> >> Coskun SUNALI
>> >> MVP ASP/ASP.NET
>> >> http://sunali.com
>> >> http://www.propeople.dk
>> >>
>> >> "rodchar" <(E-Mail Removed)> wrote in message
>> >> news(E-Mail Removed)...
>> >> > hey all,
>> >> > when i drag my control, that i built, on to the designer it shows up
>> >> > as
>> >> > the
>> >> > smallest possible size. almost looks like a dot until i resize it
>> >> > then
>> >> > all
>> >> > the controls show up.
>> >> >
>> >> > can someone please explain?
>> >> >
>> >> > thanks,
>> >> > rodchar
>> >>
>> >>

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Designer Property Serialization -- Sycning inner properties to designer property window Alexander Higgins ASP .Net Building Controls 3 07-30-2007 09:09 PM
Designer Property Serialization -- Sycning inner properties to designer property window Alexander Higgins ASP .Net Web Controls 0 07-21-2007 12:58 AM
Sharepoint Designer/ Expression Web Designer : adding item in toolbox ? Steve B. ASP .Net 4 06-01-2007 04:29 AM
Error When Dragging Control From Tool Box to Web Form - Memory Err =?Utf-8?B?TWlzdGVyRWRUWA==?= ASP .Net 0 06-16-2006 05:00 PM
Show Window Contents While Dragging issue JRizz Computer Support 0 06-04-2004 03:05 PM



Advertisments