Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am trying to postion the output to my aspx page by using response.write for that i am using this code:

Response.Write("<span id='Label7'' style='height:16px;width:320px;Z-INDEX: 302; LEFT: 108px; color:red; POSITION: absolute; TOP: 170px'>Testing</span>");


i need to display the variable value in the response.write in the above code i have used static string
can any one help me or any alternative way to do this
Posted
Updated 18-Oct-11 1:56am
v5
Comments
Vivek Krishnamurthy 18-Oct-11 6:01am    
Are you facing any issue with this ?
hitech_s 18-Oct-11 8:15am    
alternative way?

Your requirement seems very similar to the following article. How To Make Floating and Dimming a Div using JavaScript[^], If the content of the Span is static, you can directly take the approach of the mentioned in the article. Otherwise, you can use embeded server tags or server controls to accomplish the same.
 
Share this answer
 
use a labelcontrol at the position


Label1.Text += "&nbsp;" + "ur message";
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900