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:238494
More Search Options
RSS Available
Matching Posts
Re: DropDownExtender - align dropdown panel to left instead of right?
Done... I was able to kludge a solution to this to meet my own needs, so I know it's possible, but I'm sure the team could do a much better job.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
spamme
on 1/4/2007
Re: DropDownExtender - align dropdown panel to left instead of right?
I think I figured it out. In the AjaxControlToolkit folder from the downloads, there is a file called DropDown\DropDownBehavior.js. There's a line around #212 that has the following code: var dropPopupPopupBehavior = this._dropPopupPopupBehavior = $create(AjaxControlToolkit.PopupBehavior, { positioningMode : AjaxControlToolkit.PositioningMode.BottomRight , parentElement : elt, reparent : true, y : -1 }, { }, null, this._dropDownControl); If you change the bolded part to AjaxControlToolkit.PositioningMode
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
spamme
on 12/28/2006
Filed under: DropDownExtender
Re: DropDownExtender - align dropdown panel to left instead of right?
Thanks for the response... as far as I can tell, the only css file that is referenced in the sample website is in the App_Themes/DropDownTheme directory, and is called Menu.ContextMenu.css. The contents of that file are: . ContextMenuPanel { border: 1 px solid # 868686 ; z-index: 1000 ; background: url(images/menu-bg.gif) repeat-y 0 0 # FAFAFA ; cursor: default ; padding: 1 px 1 px 0 px 1 px ; font-size: 11 px ; } . ContextMenuBreak { margin: 1 px 1 px 1 px 32 px ; padding: 0 ; height: 1 px ; overflow
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
spamme
on 12/28/2006
Filed under: DropDownExtender
DropDownExtender - align dropdown panel to left instead of right?
I am using a DropDownExtender, and would like the dropdown panel to align to the left of the label instead of the right, but haven't figured out how to do it, or if it's possible. If anyone has had success doing this, please let me know. Thanks
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
spamme
on 12/27/2006
Filed under: ASP.NET AJAX Control Toolkit, DropDownExtender
Re: Adding link code to a DataTable
What error message are you getting?
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
spamme
on 12/12/2006
Re: Adding link code to a DataTable
Thanks, that worked. I thought I had tried that, but either my browser got cached or I didn't. I needed to use some version of AutoGenerateColumns though, so I had to do this on the backend. For anyone else out there, this is how I did it: Sub BindView_StandardGrid(dtblData as DataTable()) For Each col As DataColumn In dtblData.Columns Dim gvCol As New BoundField gvCol.DataField = col.ColumnName gvCol.HeaderText = col.ColumnName gvCol.HtmlEncode = False GridView1.Columns.Add(gvCol) Next GridView1
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
spamme
on 12/8/2006
Re: Adding link code to a DataTable
Thanks for the response. That didn't work - it actually went the wrong way and gave me: <img src= '/ISGApp/images/edititem.gif' alt= 'Edit' /> So I tried Server.HtmlDecode and it gave me the same thing I started with. I'm thinking this is something to do with the actual gridview because if I response.write the string, it shows the link.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
spamme
on 12/7/2006
Filed under: DataTable, Gridview
Re: Adding link code to a DataTable
bump
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
spamme
on 12/6/2006
Adding link code to a DataTable
I'm programatically creating a DataTable, and then binding it to a DataGrid. I would like to add a field that has hyperlink data in it (or an img tag for that matter) but what renders seems to be an HTML escaped version of it. This is what I'm trying to do: Dim dtblData As New DataTable() dtblData.Columns.Add( New DataColumn( "Link" )) Dim newrow As DataRow = dtblData.NewRow Dim strLink As String = "<img src= 'mygif.gif' alt='mygif'/>" newrow(0) = editLink dtblData.Rows.Add(newrow) But what
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
spamme
on 12/4/2006
Filed under: Data Access, DataSet, DataTable
Re: Styling a DataList
Thanks for the responses. Unfortunately the Datalist has some functionality that I'd like to use, like editing, and the repeater doesn't provide that. I know there are ways around that, but I'd rather not reinvent the wheel for the sake of some style. I'll look into the javascript, thanks for that suggestion. If there's an easier way though that someone knows of, I'm open to suggestion.
Posted to
Web Forms
(Forum)
by
spamme
on 11/20/2006
Page 1 of 10 (91 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online