Results 1 to 12 of 12

Thread: MaskedEditExtender (most unreliable control in the universe) problem.

  1. #1

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    MaskedEditExtender (most unreliable control in the universe) problem.

    Microsoft JScript runtime error: 'undefined' is null or not an object

    And it worked fine with the ajaxcontroltoolkit 3.01
    Now on 3.5 i gives problems.
    Ok this is a reported bug so the solution(supposedly) is this:
    http://ajaxcontroltoolkit.codeplex.com/workitem/26785

    So can anyone help me on how do i compile the project.try to run the AjaxControlToolkit.VS2008.sln and errors pop out form everywhere.Is the dll available with the fix somewhere?
    Last edited by sapator; Jan 6th, 2011 at 10:49 PM.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  2. #2

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Right.
    After not sleeping all night i dumped the MaskedEditExtender and used regular expressions validators on the textbox.
    But the question still stands because i have some more pages that i use old ajax MaskedEditExtender and it would be good if i kept the control for them.
    P.S. It's the first time i see a newer version inserting a bug on a working feature.And i think from now on, on any newer project i may do, i would try to limit as much as possible (p.e. i don't know how to accomplish an non refresh page without ajax updatepanel) the toolkit and use javascript or jquery.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Hey sap,

    The solution to the problem sounds quite simple to complete.

    What exactly is it about it that you are not understanding?

    Gary

  4. #4

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Hey, Gary.I'm writing this an i will see it in a couple of hours because i stayed up all night changing code and i really have to hit the sack.

    Ok, i got the the extracted ajax project(source code project) and i open
    AjaxControlToolkit.VS2008.sln (AjaxControlToolkit.sln will not open, i double click and , nothing happens)

    First error:
    Unable to read the project file 'Microsoft ajax.vs2008 csproj' "my project name dir here" , (45,11) the imported project d:\programfiles\msbuild\Microsoft\Microsoftajax\ajaxmin.tasks was not found.Confirm that the path in the import declaration is correct, and the file exists on disk.
    WTH?Is this another pdb problem like last time that i had to delete it because i was getting errors on stepping trough code?I can find something.

    Next error:
    same thing only error at line (704,11)

    next.
    I get a security error that the unittestvs2008 project has been customized and presents a security risk.
    I press more details: a <using Task> tag which registers the :Jsbuild.Qunit" task was not found in project d:\blahblah...

    i press open project.
    error:One or more projects cannot be loaded.The application for the project is not installed.
    I press ok.
    So in the client project microsoftajax.vs2008 is unavailable,microsoftajax.extended.vs2008 is unavailable,
    -server
    AjaxControltoolkit.vs2008 is unavailable

    So when i try to run:
    Error 1 Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
    Error 2 Cannot update project reference 'AjaxControlToolkit.VS2008'. Source project not available. D:\...\AjaxControlToolkitSampleSite\

    I also tried to run Prep35.bat and the the project but same thing.

    Ok i guess that's it for me for now.I will reply on anything in a couple of hours.Anyhow the worst thing would be to remove the maskededits and put validationextenders but i'm really pissed and i think this time it's for a good reason.

    Edit, i also unlocked the files before extraction.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    AjaxControlToolkit.sln is a Visual Studio 2010 solution file. Do you have Visual Studio 2010?

    I got the same error. Looks like there is "something" missing from our environments to get the source code to open correctly. This is "poor" from their stand point. Everything that should be required should be in the source code.

    Try tracking down this:

    ajaxmin.tasks

    And see where that gets you. It is the missing link.

    Gary

  6. #6

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    ajaxmin.tasks is nowhere in my HD.
    Also i use Visual studios 2003 to 2008 in various locations(vs2003 still occupies hd space at home ). I have vs2010 but to tell you the truth i don't see anything useful for the current stuff i'm doing and also i cannot install it home because i have low specs computers.
    Since i don't believe they will update Ajax 3.5 i'm currently removing all the MaskedEditExtenders with of course a smile in my face
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Hey,

    I wouldn't expect it to be on your hard drive. I would expect that we would need to install something to make it available on your machine.

    I don't know what that "something" is though

    Gary

  8. #8

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Well nevermind.I did all the changes.Thank Gary, i'll try to be more Jqueristic from now on
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  9. #9
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Hey,

    I am confused?!?

    What did you end up doing? Are you not using the MaskedEditExtender any more?

    Gary

  10. #10

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Yes, maskededit is gone.
    I use regular expressions with a validator and because i recall i reported some bug on the greek time with ajax i have a function that changes pm-am to 24h. I'm not sure if the bug was on the maskedextender or the calendarextender but i don't have time to gamble right now and i patched it with a quick function.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  11. #11
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Sounds good.

    Glad to hear you got it working!

    Gary

  12. #12

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: MaskedEditExtender (most unreliable control in the universe) problem.

    Well i hope nothing else blows up on ajax toolbox
    So will i mark this resolved because technically the question on the extender is not resolved(bug).
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width