|
-
November 11th, 2008, 01:38 AM
#1
Applying style to image control from the server side
hi guys,
Can u guys pls tell how to apply style to an image control in the server side.
I want to make it visible and invisible .. i hav tried it with imgControl.Visible.. but, that doesn't serve my needs..
I'm also using some client script to do some validations on button clicks.. so setting imgControl.visible = false, generates error .. saying that ' object required'..
thanx ..:-)
-
November 11th, 2008, 06:34 AM
#2
Re: Applying style to image control from the server side
Dear Dineshgirij,
apply this code see if it works,
imgControl.style.add(HtmlTextWriterStyle.Display, "block");
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|