Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
when i put ajaxtoolkit in vb.net , error occurs.
how to solve this error.

ajaxtoolkit code is the following :


ASP.NET
 <asp:TextBox ID="txtDelivaryDateSearch" runat="server" CssClass="textbox1" 
                                Width="90px"  >
   <asp:ImageButton ID="imgCalendar" runat="server" CausesValidation="False" 
                                      ImageUrl="../Images/Calendar.png" />
<ajaxToolkit:CalendarExtender ID="CalendarExtender1"  runat="server" 
                                     Format="dd/MM/yyyy" PopupButtonID="imgCalendar" TargetControlID="txtDelivaryDateSearch" PopupPosition="TopLeft" />



and error is following

"There is no source code available for the current location ."
Posted
Updated 15-Jun-12 3:10am
v2
Comments
bbirajdar 15-Jun-12 10:12am    
Change the tag to ASP.NET
Visual Studio version = ?
Is your website AJAX enabled?
Have you registered the AjaxControlToolkit dll on the page or master page ?
Are you using the release version of the dll ?
bbirajdar 15-Jun-12 10:15am    
what is 'abking' ?

"There is no source code available for the current location ."
This happens when PDB file is missing or an old one, not updated. Compiled DLL and the respective PDB file needs to be of same timestamp. You need to make sure that the DLL last modified date and PDB last modified dates are in sync. PDB files are the one responsible that helps you in debugging.

Clean the solution and rebuild all. This should create a new dll along with PDB. Once done, you should be able to debug it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900