Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:637497
More Search Options
RSS Available
Matching Posts
Testing the Type of an Object in VB
This isn't exactly an ASP.NET question, but it came up during ASP.NET development, and I know many people know the answer. It's actually a C# vs. VB Question, and here it is: What is the VB equivalent of the following? ParentObject myParentObject = new ParentObject(); DerivedObject myDerivedObject = new DerivedObject(); if (myDerivedObject is DerivedObject) // do something Basically, I need to test if a certain object is of a particular type or not. In C# it's really easy, but I can't
Posted to
Web Forms
(Forum)
by
Aaron Edwards
on 11/10/2009
Handling Adapter.FillError
I'm trying to handle the DataAdapter.FillError event, so I can see what values are coming in from the database are causing the error I keep getting. I add a handler as follows: AddHandler Adapter.FillError, New FillErrorEventHandler(AddressOf myFillError) Me.Adapter.Fill(dataTable) And here is the myFillError method. Private Shared Sub myFillError(ByVal sender As Object, ByVal e As FillErrorEventArgs) Handles _adapter.FillError Dim i As Integer = 0 End Sub So I'm just trying to get the dbugger
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
Aaron Edwards
on 10/22/2009
Re: Ajax Error since Upgrading to 3.5
Problem solved. It was simply that I had a class named location, lower case, which was being returned by my web service. It was colliding with the window.location class in JavaScript. Of course the error message didn't provide any clue, and the fact that it worked perfectly in Firefox, and had worked perfectly under .NET 2.0 didn't help either. Aaron
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Aaron Edwards
on 10/1/2009
Re: Ajax Error since Upgrading to 3.5
Here is a little more information. After looking closely at the stack trace, it turns out that the error is happenning during the application initialization, specifically the Sys$_Application$_doInitialize method. All of this happens before the pageLoad event is even raised. Also, I am using a couple of controls from the Ajax Toolkit, and the Ajax Data Controls Gridview. Thanks.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Aaron Edwards
on 9/29/2009
Re: Ajax Error since Upgrading to 3.5
It's not the AjaxControlToolkit, and it's not the Ajax Data Controls. I took them both out of the page and I still get this error. Aaron
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Aaron Edwards
on 9/29/2009
Re: Ajax Error since Upgrading to 3.5
I'm just going to keep adding additional information as I get it, even though it feels a bit like casting messages-in-a-bottle out to see. Hmm... perhaps there's a song in there. The problem is something to do with the script manager, and more specifically the serviceReferebce attribute. How do I know? Glad you asked. I created a new, blank page that uses the same MasterPage as my offending page. When I ran it I got an error, saying that a ScriptManager is required to be above any code that
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Aaron Edwards
on 9/29/2009
Re: Issue with Update Panel when using Session or Viewstate
It sounds like an exception is being thrown that Ajax is "eating", meaning you're not getting notified. Does the little yellow exclamation point appear in the bottom left corner of your screen when you make your selection in the first radiobutton list? I'd step through it in the debugger. If all else fails, post your code. Aaron
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Aaron Edwards
on 9/27/2009
Re: Ajax Error since Upgrading to 3.5
Here is my web config... <?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration> <configSections> <sectionGroup name="system.web.extensions"
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Aaron Edwards
on 9/27/2009
Ajax Error since Upgrading to 3.5
Ever since upgrading my site to .NET 3.5 (I needed LINQ), I've been getting this annoying error on one of my pages: 'length' is null or not an object. The line of code that is throwing the error is auto-generated by ASP.NET Ajax, and it looks like this: if ((hash.length > 0) && (hash.charAt(0) === '#')) And it lives in the JavaScript function called Sys$_Application$get_stateString(). Any ideas? Aaron
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
Aaron Edwards
on 9/27/2009
Re: Problems Using OCBC Data Source
Yeah, that's it. thanks. Aaron
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
Aaron Edwards
on 9/25/2009
Page 1 of 23 (228 items) 1
2
3
4
5
Next >
...
Last »
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online