Showing posts with label english. Show all posts
Showing posts with label english. Show all posts

Wednesday, March 28, 2012

Ajax Beta 2 in medium trust...... is it possible ?

Hi all !

I'm french so excuse me by advance for my english...

I have created a photo gallery with ajax beta 2 and then, i've the medium trust security exception problem like à lot of people.

My webhoster (aspnix.com) use the medium trust security level like others and i don't want how to do... I made the time test at this adress but doesn't work...

http://www.ktchup.info/Default.aspx


Anyone has an idea ?

Thanks !

hello.

you acn only do that if the extensions dll is on the GAC. if you're putting in the bin, i think that your web app has to have full trust.

Monday, March 26, 2012

Ajax Auto Sugest problem with LTR languages

Hi,I Use Ajax auto suggest text box. this autosuggest text box lookup throw table string field(nvarchar).It works find for Numbers and English words. But When I use LTR languages like arabic,the textbox does not show anything at all. I use UTF-8 and when I search this field it leads to correct results

but I don't know what is the problem with it.

Best regards,

Hi,

According to your description, it seems that ado.net fail to get data when use LTR languages.

I suspect this is a question regarding database. Please ask in this queue: http://forums.asp.net/54.aspx

Wednesday, March 21, 2012

Ajax and file downloading

Dear all,

First of all, sorry for my english. I'm french !

I have developped an ASP.Net 2.0 web application. It allows to get data from 2 databases and merge them into a "csv" file. When the user presses the button Process, the execution can take several minutes to accomplish. Because file's size could be large, I used the recommended method of Microsofthttp://support.microsoft.com/kb/812406/en-us.

Thus, I wanted to use a method giving informations to the end user about the current process. I found the Ajax libraries, ie the updateprogress control which appears to be powerful. I installed the 1.0 version and add the references to the project. Everything works fine for the different examples giving in the tutorials.

Hence, I applied these methods on the page and executed the project. I got error messages on the client side when the user clicks on the button Process. Is there someone who has an idea ?

This the error message :
Client side error message when a file is going to be downloaded

Thank you for your help.

Best regards

Antony

If you reviewe the text of the error message, I think you'll find one of the suggestions is correct.

David Anson:

If you reviewe the text of the error message, I think you'll find one of the suggestions is correct.

Indeed, you're right, because I do not use Response.Write or something else equivalent. Otherwise, I don't how to bypass or use something diffferent... Thus, could you help me ?

I'm beginner in ASP.Net.

Best regards,

Antony


Does anybody have an idea?

Best regards,

Antony


So you're using the first method described in the link you provided but not Response.Write? What are you using then because thats whats in the article?

I made a mistake in my answer, I'd write "I should not use "Response.Write" instead of "I do not".

I effectively use the method provided by microsoft for dowloading udge files. However, it gives me the error when I use with ajax controls as updateprogress.

Antony


Thanks to the utility Web Development Helper, which allows you to get information that are posted back and received from the server, I found that only some partial part of the page was sent to the client in html code. Thus, I did not do it but I think that if you send via the Response.Write, a link to the files recorded on the server, thus, it would work and allows you to download files with Ajax.

If someone has the time to try. When I'll get some, I'll try myself.

Antony