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:52817
More Search Options
RSS Available
Matching Posts
Re: style from external stylesheet not accessible from javascript
Interesting, I guess there's always something new to learn about the DOM. Cumbersome sounds like the right word to describe it, after parsing through all of the style and sorting through the specificity you'd be about a third of the way to coding a new browser :).
Posted to
Client Side Web Development
(Forum)
by
agolden
on 9/22/2009
Re: style from external stylesheet not accessible from javascript
Hi benjib98, I'm not sure I can tell you why it was implemneted this way, but the behavior you're seeing is what I'd expect to see. The javascript style properties will only show you styles applied to the element, not the resultant styles. I'm not sure of a built-in way to see the resultant styles. You can, however, see this data by using jQuery, should you want to go that route. For your case, you could use: $('#LeftPanel').css('border-left-width') One limitation
Posted to
Client Side Web Development
(Forum)
by
agolden
on 9/20/2009
Re: Understanding Events for a User Control
Hi dch3, When a page loads on postback, the previous control hierarchy is re-created from the page markup, then ViewState is restored. In order for the Repeater to restore ViewState values, the child controls must be created (i.e. the Repeater Items), so ItemCreated is fired for each item as it is created. There are a few other events you could use that fire before Page_Load, like Page_PreInit or Page_Init. You can find details on the page life cycle at: http://msdn.microsoft.com/en-us/library/ms178472
Posted to
Getting Started
(Forum)
by
agolden
on 9/4/2009
Re: Configuring a data source to user stored procedures
I would first check that the login for your connection has permission to execute those stored procedures. The stored procedures option will be grayed out if there are none that can be executed. Hoppe that helps. Aaron
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
agolden
on 8/22/2009
Re: __VIEWSTATE field's value (size) doesn't get updated when using an ASP.NET UpdatePanel
Be careful how you check the size of the ViewState. When you make an update to the page through an UpdatePanel, the source you see under View Srouce does not change. You need an application that can see the ViewState directly from the DOM or the AJAX response (e.g. FireBug in Firefox [ http://getfirebug.com/ ] or Web Development Helper [ http://projects.nikhilk.net/WebDevHelper/ ] in IE). Hope that helps. Aaron
Posted to
State Management
(Forum)
by
agolden
on 8/19/2009
Re: How to automatically resize Textbox
Hi mkravil, There appears to be a lot of jQuery plug ins for this, here's one that's fairly customizable (bottom paddin, max height, animations, etc): http://james.padolsey.com/javascript/jquery-plugin-autoresize/ . If you google it, you'll find many others (I just search "textarea auto resize"). Hope that helps. Aaron
Posted to
Web Forms
(Forum)
by
agolden
on 8/15/2009
Re: DetailsView columns TextBoxes size during Edit mode
Here are a few options: Use a TemplateField Extend the BoundField to provide multiline support. I haven't used it before, but I did find an example at http://pietschsoft.com/post/2006/09/20/ASPNET-Extend-BoundField-Control-Add-MultiLine-support.aspx . Use a BoundField, and once that field is created (e.g. in DetailsView ItemCreated event), access the TextBox directly (e.g. DetailsView1.Rows[0].Cells[1].Controls[0]) and change the TextMode property. I wouldn't say this is as clean as the other
Posted to
Data Presentation Controls
(Forum)
by
agolden
on 8/12/2009
Re: Databounded controls and Page state
Hi Weemen, If the data control is not databound already and is associated with a data source control, it will be done as part of PreRender. Pre-Render occurs after the post-back events are raised, so it's a good place to add any logic that relies on that being complete. Hope that helps. Aaron
Posted to
Getting Started
(Forum)
by
agolden
on 8/11/2009
Re: DetailsView columns TextBoxes size during Edit mode
Hi persistentDeveloper, The BoundField's ControlStyle is applied to the TextBox in Edit mode, so you can set the width through either ControlStyle-Width or ControlStyle-CssClass and set the width in the class. Hope that helps. Aaron
Posted to
Data Presentation Controls
(Forum)
by
agolden
on 8/11/2009
Re: Error BC30469: Reference to a non-shared member requires an object reference, class, masterpage
Hi urbn, Try changing: System.Web.UI.Page.Request.Cookies to: HttpContext.Current.Request.Cookies Hope that helps. Aaron
Posted to
Getting Started
(Forum)
by
agolden
on 8/11/2009
Page 1 of 104 (1032 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online