Label1.Width = 10;
Label1.Attributes["onmouseover"] = "if ( this.clientWidth < this.scrollWidth ) {this.title = this.innerText;} else {this.title = '';}";
Label1.Attributes.CssStyle.Add("white-space","nowrap") ;
Label1.Attributes.CssStyle.Add("overflow","hidden") ;
Label1.Attributes.CssStyle.Add("text-overflow","ellipsis") ;
Label1.Text = "markshumarkshumarkshumarkshumarkshumarkshumarkshu";
沒有留言:
張貼留言