Wrox Programmer Forums
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 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 March 7th, 2008, 07:16 AM
Authorized User
 
Join Date: Jun 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default ajaxtoolkit FilteredTextBoxExtender

Hi all.
I m generating textbox dynamically in one of my webpage.
but to prevent char entry to those textboxes i want to use FilteredTextBoxExtender
but for dynamic textboxes it is not working, I have genrated this tool also dynamically but no result. It still allows me character entry.
can anyone help on this...

Any help will be appreciated....

Thanks.

Komila Kalia
Software Developer
Reliance engineering Associates (P) Ltd.
__________________
Komila Kalia
Software Developer
Reliance engineering Associates (P) Ltd.
 
Old March 7th, 2008, 07:24 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Using my powers of mind-reading I get the sense you're doing something wrong.

Looking into the future I see you posting the actual code you have used and a sense of at least partial enlightenment coming upon me...

/- Sam Judson : Wrox Technical Editor -/
 
Old March 7th, 2008, 08:05 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Well, not to bother Sam powers, but I maybe have a little problem rendering the textbox dynamic, maybe the extender need to be connected to the control?

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old March 14th, 2008, 12:25 AM
Authorized User
 
Join Date: Jun 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default

AjaxControlToolkit.FilteredTextBoxExtender ftb = new AjaxControlToolkit.FilteredTextBoxExtender();
ftb.TargetControlID = txtweek_act.ID;
ftb.ValidChars = ".";
ftb.FilterType = AjaxControlToolkit.FilterTypes.Numbers;

Komila Kalia
Software Developer
Reliance engineering Associates (P) Ltd.









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