Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to add dynamic event(asp.bet)

Reply
Thread Tools

How to add dynamic event(asp.bet)

 
 
=?Utf-8?B?RmF0Ym95Y2FudGVlbg==?=
Guest
Posts: n/a
 
      01-21-2004
I want to add a event on a textbox when textchanged..
But I don't want to add on by using this method < asp:textbox ... ontextchanged="" />

I want to add on Page_Load
textbox.textchanged=??
How can I do?

I am using VB to write
Thank You
 
Reply With Quote
 
 
 
 
Showjumper
Guest
Posts: n/a
 
      01-21-2004
Will this do?

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox1.TextChanged

End Sub

"Fatboycanteen" <> wrote in message
news:0B745246-F127-4DD5-9FDF-...
> I want to add a event on a textbox when textchanged..
> But I don't want to add on by using this method < asp:textbox ...

ontextchanged="" />
>
> I want to add on Page_Load
> textbox.textchanged=??
> How can I do?
>
> I am using VB to write
> Thank You



 
Reply With Quote
 
 
 
 
=?Utf-8?B?RmF0Ym95Y2FudGVlbg==?=
Guest
Posts: n/a
 
      01-21-2004
Place in Where ?
Thx
 
Reply With Quote
 
Showjumper
Guest
Posts: n/a
 
      01-21-2004
Are you using code behind or inline script model? If inline between <script
runat=server></script> tags. If code behind - in the code behind page
"Fatboycanteen" <> wrote in message
news:348AF2D3-0814-420F-8B4B-...
> Place in Where ??
> Thx



 
Reply With Quote
 
=?Utf-8?B?RmF0Ym95Q2FudGVlbg==?=
Guest
Posts: n/a
 
      01-21-2004
Actually, I have made a usecontrol!
The user control with textbox and hyperlink!

mycontrol.ascx
<%@ Control Language="VB" Inherits="Controls.mycontrol" %><asp:textbox runat="server" id="textbox1" />&nbsp;<asp:Hyperlink runat="server" id="hyperlink" />

mycontrol.ascx.vb
I don't know how to write a textchanged event inside mycontrol.ascx.vb!

Thx


 
Reply With Quote
 
Marshal Antony
Guest
Posts: n/a
 
      01-21-2004
Here is a good article on what you need:
http://www.123aspx.com/resdetail.aspx?res=701

Regards,
Marshal Antony
http://dotnetmarshal.com

"FatboyCanteen" <> wrote in message
news:99B52157-D4BC-40FF-8F18-...
> Actually, I have made a usecontrol!
> The user control with textbox and hyperlink!
>
> mycontrol.ascx
> <%@ Control Language="VB" Inherits="Controls.mycontrol" %><asp:textbox

runat="server" id="textbox1" />&nbsp;<asp:Hyperlink runat="server"
id="hyperlink" />
>
> mycontrol.ascx.vb
> I don't know how to write a textchanged event inside mycontrol.ascx.vb!
>
> Thx
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possibility to add a zip-file to a new zip-file with "add to zip" (right-click) ?? erikkie@casema.nl Computer Support 4 06-26-2006 12:18 AM
LocaWapp 09 - localhost web applications (add thread, add "Request" object, new "locawapp_main" function, fixed files.py," ...) . Python 0 05-12-2006 10:24 PM
How do I add a dynamic conection to a dynamic Webpart on the same event. arthernan ASP .Net 0 03-10-2006 05:54 PM
System Requirements: Trying to add USB2 to be able to use iPOD and add DVD Burner core Computer Support 3 05-04-2005 10:09 AM
How to add shared assembly in the add reference babu dhayal via .NET 247 ASP .Net 2 08-17-2004 06:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57