| • Simple request FAILS after 6.5.5.1 to 6.7.20.1 update
FOUND IT!!!
The NAK char (0x15 dec:21 oct:25 = Negative acknowledge)
This char WILL BLOW A METHOD OUT OF THE WATER! At least with my methods.
Now, I an replacing the bad char before returning using a regex
(\u0015) with BLANK!
Works fine now, as far as I can tell. Still weird though why the change from 6.5.5.1 not burping at all at this NAK.
Ken
|
| • Newbie, I am having some trouble with an apparently simple r
Hello, thanks in advance for reading this. I was trying to do an excercise from a book I was reading (although i've striped away most of the code to find my unfindable problem) and have ended up with this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>index</title>
<meta name="vs_defaultClientScript"
|
| • cookie info within ajax method
I don't think you can read cookies from AJAX. You are going to have to read cookies while you are loading the page, and either put the results in hidden fields or in javascript variables (you can encrypt this if you wish) and pass them back when you call the AJAX function.
You can also store the cookie data in a database on the server, so all you would have to pass is a record id.
Geoffrey J. S
|
| • Binding two textboxes to a datagrid
Well, that's fairly easy. Write a stored proc with the search parameters defaulted to NULL or something. Then in the sp, you can determine the type of search being made. Depending on how many different search options exist you may or may not want to build your sql dynamically in the sp and do an execute_sql statement.
The updating is then just normal updates from the grid.
On 7/21/06, PeterA
|
| • Multiple Searches with Single Datagrid
Is it possible to bind more than one textbox control to a Datagrid to enable more than one search on a form? The design view lets me bind the Datagrid to a textbox with ease, but I'm unsure how to add a second query. Any takers???
|
| • Help needed
I'm sorry but this group is meant for the support of using Ajax Professional for .NET not Ajax in general. Try posting this question in .
Joseph Guadagno
|
| • AJAX Not working in Particular Masterpages
Why you don't you try this:
1. put a form tag in the beginning of your master page:
<form runat="server"></form>
2. Put your another forms as you want
The includes for javascript AJAXPro files will be rendered and you'll be able to call your server functions in any line of your page (using javascript).
This works fine for me. I'm one of the dummies who put the ashx file
|
| • Serialize/Deserialize
Michael,
Thanks! We'll start porting our methods to JavaScriptArray and JavaScriptObject today. Maybe that will be enough diversity to test the new deserialization.
Matthew
On 7/20/06, Michael Schwarz <michael.schwarz> wrote:
Hi Matthew,
please download the current version 6.7.20.1 or higher from
/. I have done following example which is
working correct, now:
public static st
|
| • Restricting web pages
So, can you give an example of how to do this.
Sorry, but this is something that I have never done before and I have no idea where to start on it. I do know the general principle.
Vani Kulkarni wrote:
If you want users to be restricted from going to other pages without signing
in, then you can do the following:
Redirect the user to login page whenever he/she types the URL of the page
he/she
|
| • Advanced ASP.NET WEB DEVELOPER Required
Acumen Hi-Tech Solutions is a premier consulting, development and systems integration firm offering information technology solutions for the world's leading corporations in multiple knowledge domains and in multiple industry verticals.
Please visit to learn more about us.
We have an IMMEDIATE need for an ASP.NET Web Developer, for a 6 month consulting assignment in ROSWELL , GA.
This is a pro
|
| • Too many AJAX calls?
Nevermind =D. After reading around some more I came across a post with the same problem...said something about using Fiddler. So I used Fiddler to see what was going on. A 'break' was missing from my switch statement =(. Ooooh thats funny.
|
| • AJAX on Konqueror
Michael
I have created another set of test pages which create the XMLHttpRequest object itself and then calls another page and have managed to get this working on Konqueror 3.5.3 and other browsers - so may try to put some conditionals into my pages to use AjaxPro where it can and fall back to creating the objects manually.
my test code is:
test.aspx
-------------
<%@ Page Language="VB
|
| • Yet another person trying to get the quick guide to work
Zozi,
I haven't had a chance to use FireFox since someone else is in need of my laptop. At work our server admin only allows IE so it can make things difficult. Anyways I tried different paths, even the absoluate path with http:// but I believe the src for the url is correct. I tried the same url except using a css file and applied some different styles to the page and it worked fine. Anyways
|
| • doesn't work with firefox 2.0b1
Ah, I found a problem. The JavaScript files belong to each other, i.e.
core.ashx needs some functions from prototype.ashx. Firefox is downloading these files at the same time and then some functions are missing.
There is a first workaround for this using following configuration in web.config:
<ajaxNet>
<ajaxSettings>
<scriptReplacements>
<file name="protot
|
| • First page load and caching
Basically, I created a pipe system. It contains a var that says who is using the pipe and how long they've had it.
When a control wants to execute its ajax method, it checks to see if the pipe isn't in use. If the pipe is in use, the method will try again after its next setInterval(). If the pipe isn't in use, the control will claim it, set it as "in use" and then do its function.
|
| • Medium Trust Level
That worked! Both under medium trust (specified in a web.config) and on my "medium trust" ISP, Godaddy.
Thanks so much! Now I have to go play with the Ajax.NET Pro...
Michael Schwarz wrote:
/, version 6.7.19.1.
Regards,
Michael
On 7/19/06, Albert Weinert <albert.weinert> wrote:
>
> Michael Schwarz schrieb:
>
> > Give me 20 minutes more and I will put i
|
| • Ajax pictures
Would u recommend me using handlers (.ashx) for big pictures ?
Read the end of this post :
|
| • surveys - star rating
You could do it two ways... The stars control could do a postback so you would not need javascript, which would probably be the easiest or you could use JavaScript, which would not involve a postback, but you would be setting the visible and invisible properties for the images, span, etc. I think through Javascript you could also change the src for the images. I've done that type of thing for rol
|
| • If Statement with multiple controls
Hello,
I have a form with multiple controls (textboxes) named:
Father Mother Child1 Child2
On the form there are also two checkboxes (check1 and check2).
I am using the following statement for each control and placed in in the OnCurrent event of my form:
If Not IsNull (Me.Fater) Then Me.Check1 = "YES" (or -1)
Me.Check2.Value = False End IF
Is there a way I can write one If statement
|
| • Add Ajax programmaticly
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. If you use typeof(treelist) it will use the correct type. It is common ASP.NET logic, nothing to do with AjaxPro.
Regards,
Michael
On 7/12/06, LCID Fire <lcid-fire> wrote:
Appearently I should have
|
| • Access Forbidden: Too many users are connected
Actually I installed my software on client side having configuration windows Xp Pro MSDE IIS 6.0
I don't need Web hosting as site is working on Intranet
On 7/11/06, Nick <nberardi> wrote:
The solution is not to use images or javascript. Or the long term
solution is to move to a server that supports more than 10 connections.
Maybe Apache + Mono + XPS if you are just running a small s
|
| • iis problem
It seems that you are trying to dynamically write xml to an aspx page.
In that case you need to make sure the xml is well formatted try, and should add contentType="text/XML" to the @ page directive for example
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master"
Title="Untitled Page" contentType="text/XML" %>
Then make sure your x
|
| • DataRow as a result has no properties as namevalue
This is the idea:
You can have an array with associated names as references to your values, for example:
var myArray = new Array ();
myArray = 1;
myArray = 2;
myArray = "Hi";
and you can use it: alert (myArray );
and the result is: 1
This works before with AJAX version 5.x, a DataRow was returned in the client as an array like in the previous example. Then you can address the elem
|
| • Error with AjaxPro.AjaxNoTypeUsage attribute
Hi,
download the fixed version from / version 6.7.10.1 or higher.
Thank you for reporting this bug!
Regards,
Michael
On 7/10/06, ssambi <stefano.sambi> wrote:
Hello,
I have a problem with AjaxPro.AjaxNoTypeUsage attribute: I have tried
to use it but I've catched this error message:
"Invalid property id"
"r.value = {,"MyString":"string","M
|
| • Ajax for 1.1 - SyntaxError Expected ;
Great, love to see that it is working for you!
Regards,
Michael
On 7/10/06, Costin Manda <costin.manda> wrote:
Update. Works like a charm. Thanks.
|
| •
there is iteamcreated and itemdatabound events are available which execute for every item of grid. you can use any to add javascript.
On 7/16/06, Rahul Gupta <rahul.122> wrote:
Hi Friends ,
I need to add a javascript on editcommand Button of update text.
Any body please help me how to add .
thanks in advance .
Rahul
>
|
| • Doubt regarding AJAX
You can go to there is a GetServerTime Example.
Joseph Guadagno
On 7/12/06, blossom <blossomdsouza> wrote:
hello sir,
I am also facing the same problem so please send me the solution
Thankx
krishnan.swamy wrote:
> Hi,
> For me this line..
> Ajaxajax.WebForm1.GetServerTime(_doTimeCallback); (Ajaxajax is replaced
> by the default program name)
>
> returns
|
| • Pls help me..
Hi, i using microsoft reporting services for reports. The reporting services will generate the reports in html document format(.mhtml). I used an iframe object to to load the report document. But the iframe creating lot of problems. I having a script to resize the iframe dynamically. The script working good for the first time only. When i load the second html document in the iframe using src prop
|
| • Problems with Firefox and Safari. Also, what's up with the $
Hi,
please send me your tabbed-panel control and I will host it at my / web server, the right place for Ajax.NET web controls... ;)
Regards,
Michael
On 7/7/06, Jeremy wrote:
Awesome. Thank you Michael and Neven. My test app now works.
Some time next week, I will have a working version of my tabbed-panel
control. If anybody has a place to host it, I will gladly upload it so
that othe
|
| • Problems with Firefox and Safari. Also, what's up with the $
Awesome. Thank you Michael and Neven. My test app now works.
Some time next week, I will have a working version of my tabbed-panel control. If anybody has a place to host it, I will gladly upload it so that others may learn by example.
neven wrote:
Buttons don't work in Safari and Firefox because those browsers support
standards. Submit is default action for BUTTON element. More details at
|
| • IE msxml3.dll Unspecified Error
Well, I did finally get this to work via the KYNOU.com web site and trying the tutorial:
This is a little bit different from what I was doing, but the concept is the same.
I didn't use a separate class file, but put the Ajax Method in the code behind. The app name is CSS:
--Start code behind Public Class WebForm1 Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArg
|
| • Problems with Firefox and Safari. Also, what's up with the $
Buttons don't work in Safari and Firefox because those browsers support standards. Submit is default action for BUTTON element. More details at
Just add attribute type with value button:
potato
Regards,
Neven
|
| • Problems with Firefox and Safari. Also, what's up with the $
Buttons don't work in Safari and Firefox because those browsers support standards. Submit is default action for BUTTON element. More details at
Just add attribute type with value submit:
potato
Regards,
Neven
|
| • Parsing Form Data
Just fyi if you are using code from the Starter Kit:
Found a possible javascript bug in the Starter Kit in the function that parses form input in the Feedback example (file feedback.js line 39).
case "input":
switch(ele.type) {
case "text":
case "checkbox":
case "radio":
data = ele.value;
break;
default:
break;
}
should be:
case "input"
|
| • Exception logging framework
K. Ali Ulug schrieb:
Is there a way for handling exceptions for Ajax methods in just one
place instead of using a try catch block for each Ajax method?t
Use the AjaxPro2 with webevent assemblie, it uses the ASP.NET 2.0
Healthmonitoring for logging uncatched Exceptions with AjaxMethods.
--
Freundliche Grüße
Albert Weinert
|
| • IE Unkown error
Hello! I'm a newbie to AJAX, and would really like to start using it with my web application.
With the code below, what I'm trying to do is query the db and see if a number already exists once the user types the value into the textbox,
then tabs out. I'd rather do this, than cause a post back and then handle the number check that way.
With another attempt at my first real AJAX app, here's the
|
| • Problems with Firefox and Safari. Also, what's up with the $
Which version are you using?
On 7/6/06, Jeremy wrote:
Thank you for your help.
I tried all of your suggestions, but, unfortunately, the code still
doesn't work in Firefox of Safari. I went ahead and defined my output
element as a variable. I also put in the conditional statement that
Rui Liu suggested. I replaced innerText with innerHTML, which Firefox
is supposed to support. I also
|
| • Problems with Firefox and Safari. Also, what's up with the $
Thank you for your help.
I tried all of your suggestions, but, unfortunately, the code still doesn't work in Firefox of Safari. I went ahead and defined my output element as a variable. I also put in the conditional statement that Rui Liu suggested. I replaced innerText with innerHTML, which Firefox is supposed to support. I also tried outputting text using element.firstChild and element.app
|
| • Problems with Firefox and Safari. Also, what's up with the
Jeremy schrieb:
function GetSpaceSuit_Callback(response)
{
output.innerText=response.value;
Output is not defined as a variable in your js.
You have define an element with the id output, so you must use
var output = document.getElementById('output');
output.attributeName = fooBar;
Ajax.NET Pro and other JavaScript libs (like prototype.js) give you a
shortcut function to this.
va
|
| • runtime controls and events
Hi guys,
Can anyone help me create a webform that already has a button, when that button is clicked another button appears and when the second button is clicked the post back saves its viewestate (because currently
it disappears from my page:() and performs the instructions assigned to
its Click event?
Thanks very very much!!!
|
| • Problems with Firefox and Safari. Also, what's up with the
Hello all. I'm trying to write a very simple program using AJAX .NET.
I've been able to get it to work in IE, but it fails in Firefox and Safari. It seems like the Starter Kit that I downloaded works fine in Firefox and Safari, so I think that there must be something special that one needs to do to make their AJAX .NET code work in these browsers.
My code is as follows:
This is in my .aspx :
|
| • Problem with Ajax.NET app behind a proxy server
Yes, common ASP.NET forms are working. I have added logic to our application to add the directory part to the paths with a setting in the web.config. This works only for paths we have control over. We don't have control over the Ajax.NET ouput (at least I don't think we do!). Thanks for your quick response!
Michael Schwarz wrote:
Hi,
who is adding the directory part to all the paths? Is a
|
| • Setting File Permissions for ASP.NET in Firefox
If I were troubleshooting this, the next thing I would do is change the src of the img to something other than C:\\images. It may be a security issue of the file:// option. Are you using file:// for your src or just src="c:\folder\images\image.jpg"?
I am assuming that because you are attempting to be cross browser compatible that the site is somewhat public and should have standard web server
|
| • Object expected error in AutoComplete textbox.
Hi Sevu,
If you use master page, you need to have content within it. asp:Content can have any web control or user control.
You may create autocomplete in a user control and place your user control in your asp:Content. In this way, you only need to change whatever code in your user control instead of your page control.
Lawson
On 7/6/06, Sevu wrote
Hi lawson,
Thanks for
|
| • List WebControl
I need a .Net Component that can bind to a DataSet or a DataTable, that has the abillities I have mentioed in my original message.
Does anyone share or sell such a thing?
|