开发者

adding space and new line in html editor asp.net ajax

I want to insert blank characters in a string move to next line and align right in Html editor ajax control and it should be hardcoded in my below code .

My code is

Editor1.Content = "No. J/" + DropDownList3.SelectedItem + "-" + TextBox1.Text + "-" + tyear + "/" + "     " + "/" + year + DateTime.Now.Day+"/"+DateTime.Now.Month+"/"+DateTime.Now.Year;

What i want is

i want 5 blank spaces after

....+ 开发者_JS百科tyear + "/" + "....

Move to next/new line after
....." + "/" + year +....

Apply Align left to this entire content


To add blank spaces to the   keyword. Normal blank spaces will be ignored as whitespace by the HTML parser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜