DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 03 Jul 2007 04:44:35 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.buildingcontrols        back       

Thread Index
  1    Joe Abou Jaoude
          2    Sergey Poberezovskiy


How to fire a client event from a composite control   
hi,
i have a composite control that contains a textbox. I want the
programmer that uses my control to be able to write a javascript
function to handle the onchange event of the textbox.

How can I do that ?
Thank you


*** Sent via Developersdex http://www.developersdex.com ***
Date:Tue, 03 Jul 2007 04:44:35 -0700   Author:  

RE: How to fire a client event from a composite control   
Provide a public property OnClientTextChange as string and then in PreRender 
event add this to your internal textbox' onchange attribute

"Joe Abou Jaoude" wrote:


> 
> 
> hi,
> i have a composite control that contains a textbox. I want the
> programmer that uses my control to be able to write a javascript
> function to handle the onchange event of the textbox.
> 
> How can I do that ?
> Thank you
> 
> 
> *** Sent via Developersdex http://www.developersdex.com ***
> 
Date:Tue, 3 Jul 2007 21:26:01 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us