Ajax Error?

W

Wannabe

I'm getting an error and am not sure where to start to fix it. It began when
I added an updatepanel to my page. Can someone help? An "Unspecified error"
pops up when I select an option from my dropdown box the second time.

HTML with the UpdatePanel:
<ajaxToolkit:UpdatePanel ID="UpdatePanel2" runat="server"
RenderMode="Inline" UpdateMode="Conditional">
<ContentTemplate>
<asp:Label ID="Label1" CssClass="displayInline" runat="server" Text="Test
Event:"></asp:Label>
<radC:RadComboBox ID="radComboTestEvent"
runat="server" AllowCustomText="True" Height="150px" DataTextField="acronym"
DataValueField="testEventID" MaxLength="10" AutoPostBack="true"
OnSelectedIndexChanged="radComboTestEvent_SelectedIndexChanged">
</radC:RadComboBox>
</ContentTemplate>
<Triggers>
<ajaxToolkit:AsyncPostBackTrigger ControlID="radComboTestEvent"
EventName="SelectedIndexChanged" />
</Triggers>
</ajaxToolkit:UpdatePanel>


Output information from Visual Studio 2005:
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in mscorlib.dll
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in App_Web_lb0jxnwv.dll
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in App_Web_lb0jxnwv.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in
App_Web_lb0jxnwv.dll but was not handled in user code
htmlfile: Unspecified error.
 
C

Cowboy \(Gregory A. Beamer\)

Thread Abort is most common when you are somehow stopping the work done in a
page. One common reason is Server.Transfer, although that would not
generally apply to AJAX.

I appears you are using Telerik's RAD controls. I have a copy, but have not
played with them, so I would see if the standard UpdatePanel is the way to
go when using RAD. Make sure you are using their examples, and not pasting
them into MS's examples. I am not sure this is necessary with RAD, but it is
with other controls from other manufacturers.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
B

bruce barker

most likely the control is not compatible with an update panel, nor should a
control like it be used in an update panel as a trigger.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top