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



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 7/31/2003 11:37:10 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 44 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
pxw
Asp.Net User
Overwrite ValidationSummary control7/31/2003 11:37:10 AM

0/0

When ValidationSummary message box popup, after user click the OK button, I want the certain control getting focus.

In order word, I want create a CustomValidationSummary Control which derive from ValidationSummary, and overwrite the onclick event of OK button on ValidationSummary popup message box.

Can someone tell me how to do it?

Thanks,

Peter
pxw
Asp.Net User
Re: Overwrite ValidationSummary control8/1/2003 7:49:52 PM

0/0

Can someone point me to a direction which I can custom validationSummary control?

Thanks,

Peter
PLBlum
Asp.Net User
Re: Overwrite ValidationSummary control8/12/2003 6:40:11 PM

0/0

You cannot add an onclick event to the OK button of the MessageBox. Browsers simply don't support it. The OK button simply dismisses the dialog and returns an indicator of which button was clicked. The MessageBox is called from within the script file \aspnet_client\System_Web\[version]\WebUIValidation.js. If you want to modify that code, you may find a way to do this.

I have implemented a replacement to Microsoft's Validation framework that offers the desired functionality. It can set focus to the first field with the error on the page when the messagebox appears. You can learn about my "Professional Validation And More" at http://www.PeterBlum.com/VAM/Home.aspx.



--- Peter Blum
Creator of Professional Validation And More Suite, Peter's Date Package, and Peter's Polling Package
www.PeterBlum.com
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:

Web:
Overwrite ValidationSummary control - ASP.NET Forums In order word, I want create a CustomValidationSummary Control which derive from ValidationSummary, and overwrite the onclick event of OK ...
ValidationSummary Members (System.Web.UI.WebControls) The following tables list the members exposed by the ValidationSummary type. .... the Web control, overwriting any existing style elements of the control. ...
ValidationSummary Members ValidationSummary Constructor, Initializes a new instance of the ... style to the Web control, overwriting any existing style elements of the control. ...
Exam 70-305 Hints and Tips :: DotNetJohn This text is also included in the ValidationSummary control, ... specified style to the Web control, overwriting any existing style elements of the control. ...
Changing Custom Validator Messages [timstall ... Dec 7, 2005 ... it will just get overwritten when you set it with something else. ... error messages must be displayed in a ValidationSummary control. ...
Weblog from Darren Ferguson - Umbraco, Dev, Pho The 'with replace' part allows you to overwrite existing data files. .... The ValidationSummary control forces a page to scroll to the top when it appears. ...
Sam Gaut's Developer Resource Blog: June 2005 The ValidationSummary control is a great tool as it allows you to summarize .... i.e. just append your data to the end of the file, overwrite data or just ...
Server Control Basics form is loaded, to overwrite the Label value that is declaratively set in the. aspx page. ...... the bottom generated by the ValidationSummary control. ...
Data binding and ASP.Net validator controls (Page.IsValid ... If this relationship is broken the ValidationSummary control needs to be replaced which we didn't want to do. ...
Chapter I: Server Control Basics Apr 25, 2008 ... This chapter tells you about the basics of server control. ... and the summary at the bottom generated by the ValidationSummary control. ...




Search This Site:










which is the purpose of the registerstartupscript type parameter?

how to put server control on the toolbox?

dropdown list with checkbox

"accesskey" in a toolbar usercontrol

developing a validator control

hmc deployment

javascript onclick event

error bc30451: name 'session' is not declared.

gdi+ web controls

creating a composite control with properties accepting array

cheap hosting?

distribution lists

composite custome controls

would like my datalist onitemcommand to trap my custom control action.

windows update

odd behavior loadpostbackdata

how to set windows permissions to files and folders

problem with databinding custom server control

setting property options for a composite control

dropdownlist boxes overwriting other dropdownlist box values

inner properties and events go away when i run then

get property of a dynamically loaded user control - how?

saving a method call / using reflection

assembly

custom web control

problem with reading data from excel using ado.net

custom control inside another assembly

derived classes cannot raise base class events

dropdownbox in properties

winforms textbox.clearundo() in asp.net

  Privacy | Contact Us
All Times Are GMT