Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:856295
More Search Options
RSS Available
Matching Posts
Re: Gridview limit cell text by something like overflow:hidden;
I suspect maybe the problem is with class "textOverFlow". for overflow: hidden to work, it needs a fixed pixel width and maybe height as well. Also dont think it works on the <td> tag so asp:boundfield wont work. Your .net code may be correct, you may need to play with your styles. Perhas google "overflow: hidden on td tag not working" Are you using asp:boundfield or asp:templatefield ? Anyway assuming its templatefield with a label in: this works as well. code behind: for
Posted to
Data Presentation Controls
(Forum)
by
munchckin
on 5/1/2009
Re: How to add stuff to a GridView cell?
Not sure if this will do for you but try: Add CssClass to the link, the set that class to have a margin. <style type="text/css"> a.linker{ margin: 0 0 0 10px; } </style> <asp:HyperLink ID="HyperLink1" runat="server" CssClass="linker">HyperLink</asp:HyperLink> OR add it as style attribute: ((HyperLink)gv.Rows[3].Cells[2].Controls[0]).Attributes.Add("style", "margin: 0 0 0 10px;");
Posted to
Data Presentation Controls
(Forum)
by
munchckin
on 5/1/2009
Re: Gridview limit cell text by something like overflow:hidden;
Add this to you stylesheet, or to page: <style type="text/css"> .trimmer{ overflow: hidden; } </style> Use asp:templatefield for that column: <asp:TemplateField> <ItemTemplate> <asp:Label ID="Label1" runat="server" Text='<%# Eval("Address2") %>' Width="20px"></asp:Label> </ItemTemplate> </asp:TemplateField> protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { GridView
Posted to
Data Presentation Controls
(Forum)
by
munchckin
on 5/1/2009
Re: Focus on the grid row's first textbox
Try something like this: protected void Button1_Click(object sender, EventArgs e) { ((TextBox)GridView1.Rows[0].FindControl("textbox1")).Focus(); }
Posted to
Component Discussions
(Forum)
by
munchckin
on 5/1/2009
Re: ASP Menu
Try: Change the CssClass of StaticMenuItemStyle (i think this is one for root items) to "menubg" Then add a menubg class to your page/stylesheet: < style type = "text/css" > .menubg { background: url(../images/bgimg.gif) 0 4px no-repeat; } </ style >
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
munchckin
on 5/1/2009
Re: Dll exsists in both
Hi, Not worked with .NET 3.5 but... Have you tried deleting your temporary "Temporary ASP.NET Files" ? C:\WINDOWS\Microsoft.NET\Framework\v3.5\ Temporary ASP.NET Files You may have to stop your default site in IIS, before you can delete them. Worth a go i think.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
munchckin
on 5/1/2009
Re: meta tags in pages created from master page
On master page add a runat="server" and an id: <meta name="keywords" runat="server" id="keywords" content="keyword1" /> then on aspx page or usercontrol: ((HtmlMeta)this.Page.Header.FindControl("keywords")).Content = "keyword2";
Posted to
Getting Started
(Forum)
by
munchckin
on 5/1/2009
Re: Bug in CollapsiblePanelExtender - Flashing in IE6
I found that commenting out "position: absolute;" on my content panel class stopped the flashing. (my problem was in IE 7).
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
munchckin
on 2/20/2009
Filed under: CollapsiblePanelExtender
Page 1 of 1 (8 items)
TechNet Edge:
Forefront Protection for Exchange customer story
WindowsClient:
Windows Client Developer Roundup for 12/7/2009
WindowsClient:
Introducing the new Bing Maps beta
ASP.NET:
My Presentations in Europe (December 2009)
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online