Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 12th, 2006, 05:56 AM
Registered User
Join Date: Jun 2006
Location: Hyderabad, Andhra Pradesh, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default calling a codebehind function on onblur event

 I'm working with asp.net 1.1
 I've an editable combobox as a web user control. I've to call a code behind function when the user selects an item from this control and move the focus to some other control.
  For this, I've called the codebehind function in the onblur event of the control. But, the function is being invoked when the page is loaded, but not when focus is lost.
  Any suggestions??? Please welcome.

Old July 6th, 2006, 06:12 AM
Registered User
Join Date: Jul 2006
Location: Mumbai, Maharashtra, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Just show the code ur calling and how ur calling then could suggest .............

Old July 7th, 2006, 08:25 AM
Authorized User
Join Date: Jun 2006
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

Try Lostfocus/SelectedValuechanged/SelectedIndexchanged events.
There are lots of different events in .NET try these events and one of these should work. Let me see your code so that i'll able to assist you better.

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call a codebehin function on onblur event?? kv Priya ASP.NET 1.0 and 1.1 Professional 1 June 14th, 2006 02:43 PM
calling the user defined function on click event CsharpHelp C# 1 June 6th, 2005 07:25 AM
Calling codebehind C# function from aspx page ravindrasingh77 BOOK: ASP.NET Website Programming Problem-Design-Solution 2 March 16th, 2005 12:08 AM
tabindexes don't work with onBlur function in Net elisabeth Javascript 14 November 24th, 2004 11:07 AM
Alternative to onBlur() event ashu_gupta75 Classic ASP Basics 3 April 30th, 2004 09:07 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.