ajaxtoolkit ModalPopupExtender issue solution

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

ajaxtoolkit ModalPopupExtender issue solution

I was asked a question about ajaxToolKit ModalPopupExtender - you can find it here -
also i discussed the issue of casacading editors inside repeaters - you can find it here -
Sure i found a beauty solution for all of these issues within mojoportal, and here i want to share you my experience , which it works perfect on my laptop - local copy !
The issue is in the production !!!
Joe i can pay to find a solution for this issue !
If you have hosting which will have this issue i can transfer the site to you !the problem is :in the production server - where it is shared hosting it always give me security issue about using ajax editor, which is - as i found - old problem and have some fixes, the Host company told me the next :

" It appears that you are are using a pretty old version of the Ajax control kit. Have you tried to use a more recent one like version 7 which addresses some medium trust issues. By the looks of it you are using version 4. There is also this post here in regards to version 4. http://ajaxcontroltoolkit.codeplex.com/workitem/26772
"

When i used last december version all routing stopped working and appears many problems!
when i used that fix - some body did for old version at the link above in codeplex , it appears he did not include the ChartBar in his fix and mojo gave me some errors because he is using them in some pages !

so i am now disperate totaly !
What i am asking from Joe is either to apply version 7 of ajaxtoolkit - which have solution with medium trust hostings - on mojoportal , which i think it is huge work !
But he can apply that fix on the current version of ajaxtoolkit which mojo uses till now! , the fix in codeplex gave the source file of the page!
I cold not apply it on any source code of ajaxtoolkit cause i do not know how to compile them ! and which version to download !
Anyway, i will attach all my work with this issue! it is pice of art for me as i edit the whole tables data in one page in very simple and nice view of Tabs !
You can download the pages here - it is safe 100%

Joe, really i can pay for this fix , just try to help or advice !
Best Regards

Re: ajaxtoolkit ModalPopupExtender issue solution

Note :
I downloaded the fixed ajaxtoolkit and used it instead of version came with mojo, but that coasts me to exclude 3 pages from mojo portal admin folder Admin/SalesByItem.aspx , ~/Admin/SalesByModule.aspx , ~/Admin/SalesSummary.aspx
because they use Ajax ChartBars which is missed in the fix !
also i cannot use the ajax chartbar !

Re: ajaxtoolkit ModalPopupExtender issue solution

Hi,

If you want to try a newer version of ajaxtoolkit with the current release of mojoPortal you could try deploy the newer dll and then setup assembly binding mapping in web.config. Though I'm not sure if it can work because there are problems in the way they did version numbers in ajaxtoolkit.

I ran into this problem several years ago and my solution at the time was to stop using the ajaxeditor. I was able to get our ckeditor control to work inside updatepanel so maybe it can work in popup extender.

If that doesn't work for you then use a normal TextBox and use HtmlEditorExtender from ajaxcontrol toolkit instead of using AjaxEditor. This was the solution I used in Form Wizard Pro when I ran into this problem with AjaxEditor not working in medium trust.

ajaxcontroltoolkit is a strong name signed assembly so we can't just go take the source code and re-compile it without breaking a lot of things because we can't sign the assembly with the microsoft key.

Upgrading to new versions of ajaxcontroltoolkit is tricky business so I cannot promise to try it myself soon. Problem is if I update it to a newer version in mojoPortal core then any other projects that also use it have to be re-compiled against the new version or try to use assembly mapping which as I said is problematic in this case due to the versioning of the toolkit where they ran out of numbers and now new versions appear older than old versions. So if I upgrade it in mojoPortal then I also have to upgrade it in Form Wizard Pro, Event Calendar Pro and other products and release those at the same time. But it may still break other people's projects and they may not be in a position to re-compile things they have running in their sites especially if they have some other 3rd party add on feature or custom feature but don't have the code available.

Myself I'm trying more and more to stop using the ajaxcontroltoolkit and just use jquery because ajaxcontroltoolkit is a mess and always problematic since day one. I've had many headaches from it in many versions of the toolkit. Almost every time that I have upgraded it I run into some new problem.