| • using AjaxPro.dll for postback on ddl to change selected ind
Sorry...meant Michael!
|
| • using AjaxPro.dll for postback on ddl to change selected ind
You can add a onChange event to the first one and then call the next AjaxMethod. Notice that you have to disable the default auto postback setting. If you are using "standard" HtmlControls or write your own HTML code you are fine.
Regards,
Michael
On 7/20/06, bubberz <chip> wrote:
hello!
I'd like to have the functionality of if one ddl has a
SelectedIndexChange event, that
|
| • Client Callbacks - NameValueCollection
Patrick
Not sure what type of object it is but you can use the following to get the properties of res:
s = "";
for (property in res)
{
s = s + "\n "+ property;
}
alert(s);
I think this generally brings back error, value, context, request,
duration
not sure its much help...
|
| • using AjaxPro.dll for postback on ddl to change selected ind
hello!
I'd like to have the functionality of if one ddl has a SelectedIndexChange event, that the second associated ddl will go to the correct index.
Is this possible?
I have it currently working with a normal postback, but the two ddl are rather big and if I can avoid this post back with some type of AJAX functionality, that'd be great.
Thanks!
|
| • Evaluation of Ajax.Net Pro
Hi,
why you should use AjaxPro?
Ok, first there is a short list what is the difference between Ajax.NET and AjaxPro, see following link, 2nd message:
Regards,
Michael
On 7/20/06, Jay Shepherd <jshepherd> wrote:
We are in the process of evaluating a JSON parser for a project we are about
to embark on, so I'm going to test your 'objectivity' and ask, "Why should I
choose Ajax.
|
| • Access usercontrol from .aspx page
Dinuk wrote:
Hi,
How can I make a user control accessible from the code behind page of
the .aspx file where it resides?
I can do this without a problem in ASP.NET 2.0 but I'm having problems
doing it in 1.1
Thanks for the help.
Regards,
Dinu
You should declare the UserControl in the page class as the VS do this for the other page controls:
protected UserControlType InstanceName;
|
| • IsTypeForAjaxRegistered ?
No, there is no method available, simpled run it... it will not be added if already in list.
Regards,
Michael
On 7/20/06, andrija11 <andrija11> wrote:
Hi,
Is there any way I can now if my type/class is already registered?
I need something like IsClientScriptBlockRegistered in .NET for
AjaxPro.Utility.RegisterTypeForAjax(typeof(MyClass))
so before I do this I can check something li
|
| • Chat Time Out
Hi Bas,
Yeah its odd I can see any reason for it to time out:
This seems to help a tad (could be my imagination):
AjaxPro.timeoutPeriod = 60 * 10000; // but it still dies and its totally random.
I think its a timeout issue when the page makes a request if the server doesn't answer in time it never tries to make the call again. does anyone know of a way of handling it and remaking the call if i
|
| • Review: CLR via C#, Second Edition
My latest review article is now online at AspAlliance.
Abstract : "Teemu Keiski reviews CLR via C#, 2nd Edition, a book by Microsoft Press, which is worth its weight in gold."
URL to the article: (free)
Thanks,
-------------------------------------------------
Teemu Keiski ASP.NET MVP, AspInsider Finland, EU
|
| • changes to the Array object
I don't think because you want to use common JavaScript commands.
There are some special functions available with some frameworks,
something like this:
ForEach(arr, function(key, item) {
alert(key + " " + item);
});
And the ForEach function will have two arguments, the array (which is not an array), and the function that will handle the key and item. I do not like this... :(
fun
|
| • DropdownList problem with internet explorer
Hi!
I am making a datepicker using asp.net, c sharp. This datepicker has two drop dropdown list for month and year. It is set to autopostback true so after selecting a month or a year, the calendar will refresh in accordance to the choices. When I am testing this using firefox, I have no problems, but if i am using internet explorer, the list does not stay open. After clicking, it closes in a
|
| • The underlying connection was closed: An unexpected error oc
Hi,
I am working on Asp.net application, which has webservice layer and buisness layer, in its BL we are calling 3rd party webservice, but many time we got this error.
We try to solve it by setting ScriptTimeout( at webservice) and Timeout
(of Proxy) properties.
We try it with KeepAlive property(but someetimes it creates problem at window application)
so i don't know which approach i should proc
|
| • Raising events in an AJAX method
Michael Schwarz skrev:
No, events are not working. If you need this you should try Atlas i.e.
Thanks - thats also what my conclusion. I took a different path and got i it working without eventhandlers. The idea in my solution is that the user implements the AJAX functions and supplies the name of the function to the control. The functionname is then used in the clientside javascript that the co
|
| • Choose your ajax framework
Ajax Projects is a portal for all ajax resources.
it includes reviews for most of the toolkits and frameworks.
it will help you to have the decision which framework or toolkit you will use in your project
|
| • Ajax, Web 2.0 WTF
definately not wtf material. a poorly designed app is going to suck no matter the technology. so if that is the point of the blog - well done!
On 7/18/06, Fabio <clicklist> wrote:
Funny, but can be useful how sample of Ajax misusing :
Regards
Fabio
>
|
| • Autofill a textbox after pressing tab
Hi!
I am new with ASP.Net and I was wondering if it is possible to capture keypresses in a particular textbox. What I am trying to do is after input on the first textbox after pressing tab the next textbox will autofill a particular value.
Thanks.
|
| • READ AND WRITE FROM TXT FILE
Depending on the complexity of your project, you may want to look at
.net serialization.
You could do this by reading the contents of your file and then parsing the text (either through regular expressions, some type of string tokenizer (search on google) or via stringobj.indexof() ,
stringobj.Substring and similar methods.
here is an example of method #3 (I don't guarantee this will compile -
|
| • Callback "timeout": Eating a 100 message from the stream.
Hi,
my opinion is that requests longer than 5-10 seconds should never used on web applications. If you close your web browser before the request ends it will still run on the web server the AjaxMethod. The client could press F5 (reload) every second right after the Ajax call has been started, then you will have several requests running without any
"listener".
It would be better to inv
|
| • Using Autocomplete to search and then browse.
Hello,
I have managed to get the autocomplete functionality working.
I would like to know if anyone has used this input box to search for a company and once the company has been found, clicked on the required company and then was able to do a response.redirect of some sort to another page passing the company ID to the next page and then populating that page with the selected company's details.
|
| • Why can't the ajax method receive a very long string
Thank Albert,
Your suggestion works very well. But when I decreased the timeoutPeriod to 60*100 (6 seconds), the callback onReturn seemed not to be called at all, nothing happened. Then what is wrong with me?
Many thanks to you.Looking forwarde to your reply....
|
| • unsubscribe
|
| • Calling a WebUserControl with AJAX that doesn't work (again)
Got it! I just forgot to include the settings in the web.config file:
<httpHandlers>
<add verb="POST,GET" path="ajaxpro/*.ashx"
type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>
</httpHandlers>
|
| • Where Can I get sample source code?
Old Gun schrieb:
this site
don't include all code,where can i get whole source code?
On that Page.
New! Download Starter Kit Source Code available at CodePlex.
--
Freundliche Grüße
Albert Weinert
|
| • Update/Change Notes
Michael Schwarz wrote:
Hi,
sorry, there is no changes list available. What are you searching for?
The 5.7.0.0 was the old Ajax.NET library which is very different in
use compared with AjaxPro.
Regards,
Michael
Hi, I'm trying to make sure that my shop is using the latest version available, one of the Sr Programmer believes that version 5.7.2.22 is the latest version of Ajax.net. I basic
|
| • Multiple calls to AjaxPro function
Hi all,
I associated a javascript event to a listbox (list of languages) in order to store a text description in multiple languages.
I get the new value stored in a Session variable "onChange" event and I set the current value "onKeydown" & "onClick" events.
I works fine when I click slowly on the listbox but when I try to change it fast the system is going cr
|
| • Going Open Source!?
Hi Albert,
yes, I'm currently in discussion with BorgWorX who owned the rights of the older source code of Ajax.NET. The thing is that I'd like to get a confirmation first that AjaxPro is not the same source code than Ajax.NET.
Fromdifferent developers using AjaxPro (and have used Ajax.NET before) I got already a feedback that AjaxPro doesn't include source code of Ajax.NET. AjaxPro is a totaly
|
| • AjaxPro.NET sample
Great, is using Atlas and AjaxPro...!
On 7/17/06, Liming <lmxudotnet> wrote:
Hi all,
Not trying to promot myself or anything, but I did a personal project
using AjaxPro.NET that queris IIS log in the backend using MS Log
Parser. Take a look :)
Love AjaxPro :)
>
--
Best regards | Schöne Grüße Michael
Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certifie
|
| • loading error
Try This:
|
| • Serialize then Deserialize
Hi Matthew,
I'm currently on a busines trip but I found the problem and will publish a fix hopefully this evening...
Regards,
Michael
On 7/14/06, matthew.raymer <matthew.raymer> wrote:
Michael,
Quite too long after requesting more facility for JSON conversion, I've
finally gotten around to experimenting with the new methods. I now
need to ask some questions.
I have the followi
|
| • how to retreive attachment from pop3 ?
i'm developing pop3 mail browser application in asp.net i'm able to retreive everything like header values of from, subject,
date, size..etc but i'm finding difficulty in retreiving attachment.
so please anybody can help me regarding this.
it is urgent. so pls send ASAP
thanks in advance
tucks
|
| • Disallowing concurrent users on a web application.
Jon,
Thanks for the article!
I guess this is one of those things that isn't normally needed. I'm thinking I'll implement it and add a way to turn it off in a config file so if things go bad for me, I can disable it at will without rebuilding anything....
Clint.
|
| • Content-Type (charset)
jcharles,
What is the work around you used to set the correct charset. I am having issues with portuguese, chinese and japanese. I keep getting the raw double byte content from the DB displayed in the webpage when calling an AJAX method. Any help would be great!
Thanks,
Saul
|
| • Namespace Undefined
The question is if this assembly still is there. The problem when using jit compiling of aspx or ascx is that the assembly name will change with every change of the file. Put you AjaxMethods to a seperate library will help because of the not changing assembly name.
The other way is to create namespace mappings in web.config.
Regards,
Michael
On 7/16/06, j_m_g_p <j_m_g_p> wrote:
Summary
|
| • FiddlerInpector help required..
Hi all
Can anyone plz tell me how to use Fiddler.I have downloaded its dll.Instructions available only tells to copy that dll in C:\Program Files\Fiddler\Inspectors folder.But no instructions on how to use it or include it in your project.
Only thing i know about Fiddler is that it is an add-on which tells exactly which values are being passed by and from an ajax method.
Any suggestions would
|
| • inline vs. code behind
Michael Schwarz wrote:
If you use this.GetType() you will get the current instance which will
be the ASPX page instead of the class treelist. ASP.NET will add a new
class ASP.reelist_aspx for any ASPX inline code.
In the back of my head I knew that ASP.NET 1.1 was doing these things.
Frankly I thought they create a partial class out of the inline code in 2.0 now since this is IMHO wrong behavi
|
| • Select List Update
Kram wrote:
Hi,
Im using a fairly old version of the AJAX dll only because I started
to use it about a year ago or so on my app and the app rely's on it
fairly heavily, but what I want to be able to do is to update a select
list with more select options dynamically using ajax. I have found that
a simple returning of a HtmlSelect control then overwriting the current
one isnt enogh because
|
| • '{application}' is undefined
You know what? I just realized I hadn't added the lines to the web.config file on this web server yet. I am sure that is my issue.
Sorry for the false alarm.
--brian
|
| • Invalid procedure call
I created a ajax page a while ago and it worked perfectly fine until somebody said that the page keeps giving this weird error message.
It says Invalid procedure call. Code 0
I tested on various machines and it worked fine.
I did a little search and it seems like a few people have gotten the same error before, but no one actually seemed to solve the problem.
So I was wondering if anyone has t
|
| • Web Custom Controls With AjaxPro
You can go to for examples. Even though neither of the sites have Custom Web Controls, there should be enough to get you started.
Joseph Guadagno
|
| • load an ASPX file into a table cell
Hi all,
can anybody tell me how to load an ASPX file into a table cell ?
Pls help.
|
| • Brand New to ASP.Net
/
David Johnson
|
| • Debug Errors/Web.config
Hi,
I have a master web application at my root level, and several sub-directories that all use the master app_code folder and bin folder.
Every now and then, when I goto my application, I get an error that the compiler failed with error code 1. When I go into web.config, turn compilation debug to true, save it, and run one of my files, they work just fine. Even when I then go back into web.co
|
| • About iServicePro
iServicePro is an innovative approach to offering affordable tools for Java and J2EE developers. in particular, we are a professional team for applying oneself to develop and integrate eclipse plug-in for user applications.
Our mission now is to deliver business value and to maximize developers' productivity by consistently delivering reliable products and a true end-to-end seamless J2EE develop
|
| • how to align image box, hyperlink text inside a panel
Hi,
I am designing a page in asp.net. I am facing problem with placing the image box and the hyperlinks inside the panels. I am not able to align
/ place it inside the panel.
My page contains channel links that you normally find in any website. I
want to creative a patti, basically a background for channel link and place the hyperlinks above the patti. Also I placed a image inside a panel but
|
| • Convert doc to html in ASP.NET
My assumption is that it is in the translation of the below request that it sounds so presumptious, not the actual intent. :-).
GOOG:
Hal rahul joshi wrote:
pl
send me solution of convert doc file to html through .net
programming
without using third party tool
i am waiting reply from all member
|
| • doubt in asp.net(Urgent)
I have two textboxes both are normal textboxes. In first textbox(html servercontrol) I displayed text as user name and in second textbox(webserver control) I have displayed text as password. When I click on username text box then the TextBoxMode of second textbox should be changed to password mode i.e it should now display ******.
Can any one suggest me how to do that.
Regards,
Sunil
|
| • Odd Error with RegularExpressionValidator
Hello to all.
This is a strange thing but I will try toexplain it as best I can. On my page I have an asp:FileUpload control and a RegularExpressionValidator control that checks if the file is a photo file (with extensions jpg, gif, tif, etc) and it runs on the client side (from what I can tell thats what it is doing) checking each file that gets selected and put into the upload box. It works gr
|
| • AutoComplete Example bug found
Hi,
the autocomplete example is an "example", so there may be some bugs in it. There is a company who has already build a great autocomplete box which will be adopted to AjaxPro in the next days.
Regards,
Michael
On 7/13/06, Stanley <stanleyhkw> wrote:
hi michael,
When i the AutoComplete return null or nothing, the javascript will
thrown "Stack overflow at line: 15&q
|
| • AjaxPro Session Problem urgent......
Thanks for your reply Sorry sir i am not aware of fiddler,can u elaborate it a bit.
Moreover as explained in my second problem..i have alerted all values before they enter in Ajax function,they are correct but still no response.
next time when i try with same values it gets executed.
Amit
Michael Schwarz wrote:
Hi,
did you use Fiddler to see what is going over the line?
Regards,
Michael
|
| • »Ø¸´£º À¬»øÓʼþ
Try unsubscribing here:
>
On 7/12/06, wf z <zwf0713> wrote:
please dont send email like this to me ,they are garbage EMAIL!!!!!!!!
bubberz <chip> дµÀ£º
INeedADip,
Thanks again for the help!
That was it. This book specificially says to do "Page
Class".Add(......, and doesn't say anything about using the web app
name.
You were right though, this worked (CSS i
|