Visual Basic .NET » Web Forms
IE Unkown error -- bubberz --


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 initial ASP.NET v1.1 page with the AJAX script in the Head tag, and I get the
"Unknown error" in the handleServerResponse() when it's assigning
"show" it's innnerHTML value:

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb" Inherits="AjaxTesting.WebForm1"%>



WebForm1



content="
http://schemas.microsoft.com/intellisense/ie5 
">






cellPadding="1" width="75%" border="1">










onblur='process()'>


Text="Button">





**************
**************
The text.aspx page is simply this for the code behind:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Server.HtmlEncode(Request.QueryString("WBS")).ToString =
"1.2.8.5.001" Then
Response.Write("Please enter another WBS!")
Else
Response.Write("You can use this one!")
End If
End Sub

-- bubberz --


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 initial ASP.NET v1.1 page with the AJAX script in the Head tag, and I get the
"Unknown error" in the handleServerResponse() when it's assigning
"show" it's innnerHTML value:

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb" Inherits="AjaxTesting.WebForm1"%>



WebForm1



content="
http://schemas.microsoft.com/intellisense/ie5 
">






cellPadding="1" width="75%" border="1">










onblur='process()'>


Text="Button">





**************
**************
The text.aspx page is simply this for the code behind:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Server.HtmlEncode(Request.QueryString("WBS")).ToString =
"1.2.8.5.001" Then
Response.Write("Please enter another WBS!")
Else
Response.Write("You can use this one!")
End If
End Sub

[Submit Comment]Home