CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 5/24/2004 10:37:10 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
davidvl2
Asp.Net User
Add a Focus() method to webcontrol classes5/24/2004 10:37:10 AM

0/0

Hello

A Focus() method in the webcontrol classes and an ActiveControl property in the webform class would be great. When used, it could add some javascript to the page that shifts focus to the selected control.

Regards,

David van Leerdam
RadekP
Asp.Net User
Re: Add a Focus() method to webcontrol classes5/24/2004 3:33:55 PM

0/0

There is one.

See: http://longhorn.msdn.microsoft.com/lhsdk/ref/ns/system.windows.forms/c/control/m/focus.aspx

Radek
davidvl2
Asp.Net User
Re: Add a Focus() method to webcontrol classes5/24/2004 9:21:07 PM

0/0

Hi Radek,

Since these are the ASP.NET forums, I was talking about the webcontrol classes, not the WinForm classes. Thanks for your time anyway.

Regards,

David van Leerdam
Fredrik N
Asp.Net User
Re: Add a Focus() method to webcontrol classes5/25/2004 4:31:27 AM

0/0

There is a Focus() method for the controls in ASP.Net:

myButton.Focus();

<form runat="server" defaultButton="myButton" defaultfocus="myControl">

Page.SetFocus(myButton);

/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Professional ASP.NET 1.1 Authors: Alex Homer, Dave Sussman, Rob Howard, Brian Francis, Karli Watson, Richard Anderson, Pages: 1337, Published: 2004
.NET Programming 10-minute Solutions: 10-Minute Solutions Authors: A. Russell Jones, Mike Gunderloy, Pages: 433, Published: 2004
Pro ASP. Net 3. 5 Server Controls and AJAX Components Authors: Rob Cameron, Dale Michalk, Pages: 740, Published: 2008
C#. Net Web Developer's Guide: Web Developer's Guide Authors: Cameron Wakefield, Adrian Turtschi, Saurabh Nandu, Greg Hack, Wei Meng Lee, Joseph Albahari, Jason Werry, Pages: 608, Published: 2002
Real World SharePoint 2007: Indispensable Experiences from 16 MOSS and WSS MVPs Authors: Robert Bogue, Adam Buenz, Scot Hillier, Andrew Connell, Stacy Draper, Luis Du Solier Grinda, Todd Klindt, Jason Medero, Dustin Miller, Shane Perran, Joris Poelmans, Heather Solomon, Nick Swan, Jan Tielens, Mike Walsh, Shane Young, Pages: 504, Published: 2007
Pro .NET 2.0 Windows Forms and Custom Controls in C#: From Professional to Expert Authors: Matthew MacDonald, Pages: 1037, Published: 2005

Web:
LoginView Class (System.Web.UI.WebControls) The Focus method does not set the initial focus of the Web page to the LoginView control, .... Add a Gridview Control to a Admin Role in the LoginView. ...
BaseFieldControl Methods (Microsoft.SharePoint.WebControls) Public method, Focus, Overridden. When overridden in a derived class, ... RegisterFieldControl, Registers the BaseFieldControl by adding it to the ...
CodeProject: ASP.NET Common Web Page Class Library - Part 1. Free ... The following are the two class methods that can be used to set control focus. In ASP.NET 2.0, all controls do have a Focus method. ...
DaveFancher.com: Focus() in ASP.NET 1.1 The BasePage class will extend the functionality of System.Web.UI.Page to include a private field, the Focus() method, and additional functionality in ...
Set focus to a textbox on page load SetFocus but I see there isn't a SetFocus method for the System.Web.UI. WebControls.TextBox class. What's the way to set the focus to a ...
Managing Focus in Web Forms The default WebControl class generated by VS.NET already contains a String property called "Text" you can use as a model. Again, the default method ...
Injecting Client-Side Script from an ASP.NET Server Control ... That is, if you want to use client-side script to set the focus to a textbox, ..... The WebControl class contains a method for adding HTML element ...
Set Initial Focus on an ASP.NET Page Notice that this works for WebControls and HtmlControls. ... Add New Comment ... Focus() method on web controls injects the javascript to set focus to the ...
Removing Attributes on Rendering WebControl - ASP.NET Forums WebControls.TextBox. Now, I know how to add extra attributes to the control by overriding the AddAttributesToRender() method, ...
RadAjaxManager Class Members Telerik.WebControls Namespace : RadAjaxManager Class .... Web.UI.Control). Public Method, Focus, (Inherited from System.Web.UI.Control). Public Method ...




Search This Site:










am i understanding this correctly?

foo.aspx has not been pre-compiled error (again!)

include a dll in a web deployment project

local resources

error in creating setup

access is denied. (exception from hresult: 0x80070005 (e_accessdenied))

custom action

@(precompiledoutput) emtpy in afterbuild target

web deployment. ftp.

no "add web deployment project" for web application

aspnetmerge warning 'cannot find any assemblies that can be merged'

vs2005 crashes

bug: rdlc gets coverted to 1k file after deployment through wdp

dsn or not dsn

creating a separate assembly for each page and control output

specifying .net verson for a asp.net web application in vs 2005

how to automate creating\updating web references during build process

how to deploy a global theme

doesn't allow umlauts

assembly reference problems in build of solution with multiple websites

"merge each folder output to its own assembly" doesn't work with wap?

deploy files when code or ui changes?

web deplyment problems: proxy error but i don't have proxy

error creating deployment project

unable to start debugging on the web server - vs 2005 error

web application project & web deployment project, but not aspnet_merge.exe?

nunit and wdp

wdp and visual sourcesafe

where do i put app_localresources[path]_[control].* files?

webdeploy and vista

  Privacy | Contact Us
All Times Are GMT