How to Change the Controls Height and Width Of user Control [Resolved]

Posted by Self-innovator under ASP.NET on 2/6/2012 | Points: 10 | Views : 3087 | Status : [Member] | Replies : 2
hi friends..
I've an issue in Changing the Usercontrols height wnd width using Vb.net plas help.. it Throws an exception "Conversion from string "500px" to type 'Integer' is not valid."

Join Hands Change lives
Thanks & Regards
Straight Edge Society



Responses

Posted by: Blessyjees on: 2/6/2012 [Member] Bronze | Points: 50

Up
0
Down

Resolved
Hi,

Can you try without "px" i.e set width="500".

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 2/6/2012 [Member] Silver | Points: 25

Up
0
Down

Hi,
can you try like this:
width=Unit.Pixels(500)

Thanks,
Sanjay

Thanks,
Sanjay

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response