Hi I dropped the WebCaptcha onto a page but cannot get it to respond or do anything in the Design view. I get "value does not fall within expected range" and it does not respond to make modifications. Sometimes it says it has a duplicate ID but I don't have a duplicate ID (I did a search to be sure).
It does work when I view in browser but I cannot find any documentation or samples how to code the Submit event so I can do something when they enter correct values.
Thanks, Jim
Hello JimsTech03,
Thanks for your post. The described issue sounds strange to me. Could you provide more information about your environment. So first of all I would suggest reset your toolbox and run once again the Toolbox utility. I have created a small sample for your reference to test it in your end. After you check my sample if you still have issues could you attach your sample here and I will investigate it further.
About the documentation how to use the control you may check this link :
http://help.infragistics.com/NetAdvantage/ASPNET/2010.3?page=Web_WebCaptcha.html
I started over creating an new test page. I dropped the WebCaptcha onto the page and got the following error in the4 design view.
Error Creating Control - WebCaptcha1
Value does not fall within expected range.
I am using Visual Studio 2010 with the latest NetAdvantage controls. I often get this type of error when dropping an Infragistics control onto a page but then they often still work. For example, when I view in browser it displays ok and I can enter the values. It responces correctly if I enter the correct values and gives me an error if I enter the wrong values.
I tried to send a screen print but it is too big and it is not accepted.
Are there any samples of how to capture the event (like on click) like you do with button so I can do something.
I started over again and was successful getting it to work but I still don't know how to code the submit event. I tried to attach a simple project but it is too big 516 kb so I cannot attach it.
The smart tag only give me the following:
Show Audio Button
Show Refresh Button
Show Submit Button
Are there any samples that I can follow?
WebCaptcha samples:Property Explorer, Scenario, ThemesOnline documentation
If this doesn't help please remove ig_res folder, all dll and license files and the upload your sample project again.
Hi Hristo,
Thankk you for the reply. I have reviewed all the links you included previously. I'm still trying to get it working locally so I have not deployed it yet.
My question is still the same. I do not know how to respond to the click event after the value is successfully entered. I need to be able to do something, like send my email, after they successfully enter the correct values. I cannot find anywhere in the documentation how to respond to the click event.
Maybe I don't understand something but when I do a test and enter the correct values it just comes back with different text to enter. I don't want it to do that. I would like to send my email after correctly entering the proper values, not just getting another set of values to enter.
Thanks,
I have searched for hours and cannot find a sample or text that will tell me how to check the IsValid event. Does anyone have a sample or can anyone tell me how this works?
Thanks
I finally got it working in test. I didn't understand why I had to check IsValid in the OnLoad event but it works.
But when I deployed it to GoDaddy it doesn't work. I'll try again using your prior advice.
Also, whe I use the smart tag there is no option to select a preset like you normally get but the default is ok.
JIm
I'm back at it trying again. And I still have the same problem. It won't display on the server.
I'm not sure how to configure the Application Pool. Do I need to do this even though I can find all the other Ifragistics dll's in'
C:\Program Files\Infragistics\NetAdvantage 2010.3\ASP.NET\ASP.NET\bin
Hi Jim,
probably this is because of the "Application pool" configuration in IIS. You will have to set it to: "Classic.NET AppPool" for CLR2 and 3.5 and "ASP.NET v4.0 Classic" for CLR4. Please try this and tell us what is the result.
I just deployed the WebCaptcha. It works fine on my local system but the image doesn't display on the server. I'm browsing the web to try to find a solution but have not found one yet. I saw some reference to copying the captcha.dll onto the server but so far I have not even found the captcha.dll.
I assume there is some easy solution if you know what it is. can you help?
I'm back from vacation.
I believe I have it working although there are a few minor issues.
For some strange reason the text on the Submit button is not there so I had to add Text="Submit" to <SubmitButton. When I delete it and add it again same thing happens. It most be something on my web page that I did but I don't know what. Also the SubmitButton displays to the right, centered in the control and not under the box to enter the text as in the sample.
Also, when I open the Smart Tag I only see Show Audio, Show Refresh, Show Submit, About and Add Extender. I don't get the option to use the presets that you get with other Infragistics controls althought I know there are 14 presets.
I have not deployed it yet to GoDaddy but I belive it will work ok since it works in test.
Do you have any thoughts why I'm having these issues. I'm not having them in the test application.
Jim
Thanks Hristo,
Your sample code is really helpful. I see that maybe I should have been able to figure out how to code the OnClick.
I'm leaving for a 2 week trip Wednesday and will ahve to wait until I get back to try deploying again to get the error. Will try again and let you know.
I'm almost there so thanks for all your patience.