Showing posts with label valid. Show all posts
Showing posts with label valid. Show all posts

Monday, March 26, 2012

Ajax Toolkit wont compile

Hello,

I downloaded the toolkit with sourcecode and tried to compile it. It puked. I made sure that all of the dlls were pointing to something valid (more downloads). Once it appeared as if all of the dlls were existing, I tried to build it and got complaints on:

System.Web.Script - couldn't find

ExtenderControl - couldn't find

JavaScriptConverter - couldn't find

Also, it didn't like the project template.

etc...

The reason I'm trying to compile it is that I want to try to add a call to a javascript method within the drop event of the ReOrderList.

From what I can see this first pass at Ajax is similar in complexity to old school com and asp. Why in the world would you want to waste time putting an early stage beta dll in the GAC? It causes problems on our production servers as well as it's hidden (unlike the rest of .NET which just requires a few dlls in the bin folder (very easy)).

Also, if people are downloading and trying to make this actually work, why make it so complicated. There's a GAC object, a toolkit (or maybe 2 toolkits - i can't figure it out yet), a project template man, are we going back to COM and the registry? I started to get used to focusing on solving business problems and not having to spend 3 straight days trying to raise a drop event on the ReOrder control.

Thanks,

Jeff

ASP.NET AJAX needs to be installed for the Toolkit to function. You can download from http://ajax.asp.net.

Saturday, March 24, 2012

AJAX Time entry control

Are there any slick AJAX controls available that would allow a user to select a valid time i.e. 4:20PM? If so then how could I incorporate two of those controls to populate a text box with the time difference between the two values. So Control1 = 4:20PM ; Control2 = 4:30PM ; Textbox1 = 10minutes.

Thanks in advance.

http://www.asp.net/learn/ajax-videos/video-131.aspx

I found a good tutorial that pretty much solves my request to validate Time data entry. It uses the MaskedEdit control and the MaskedEditValidator control.

Now I just have to find the VB command that will do the arithmetic.


Nice one.

Vij