Last post Dec 07, 2009 03:55 AM by saamisolutions
Dec 07, 2009 03:25 AM|saamisolutions|LINK
I have created a custom control by extending the TextBox, Now I want to align the text that appears on the textbox to be right aligned, how do i do that?
1) I tried to override the Oninit Method like this - Me.Style =
but this is not working.
custom Numeric textbox control
Dec 07, 2009 03:43 AM|imran_khan|LINK
I have just tried this and it works great.
protected override void CreateChildControls()
Dec 07, 2009 03:55 AM|saamisolutions|LINK
Thank you! It worked.