Advertisement

08.12.2008 at 01:15PM PDT, ID: 23642618
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

There is no source code available for the current location

Asked by dba123 in Programming for ASP.NET

I have a user control inside my Tab control's panel.  This user control contains several user controls, all which work fine.  But I get "There is no source code available for the current location." on one of the user controls.  It jumps to the page load when rendering my tab and gives me that error.

here's the control that's having the issue with:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProcessStepButtons.ascx.cs" Inherits="Controls_ProcessStepButtons" %>

<table cellpadding="0" cellspacing="0" border="0" align="left" >
    <tr class="ProcessStepButtons">
        <td><asp:Button ID="btnNextStep" runat="server" Text="Proceed to NextStep" /></td>
        <td><asp:Button ID="btnPreviousStep" runat="server" Text="Back to previous Step" /></td>
        <td><asp:Button visible="false" ID="btnSubmitRequest" runat="server" Text="Submit Request" /></td>
        <td><asp:Button ID="btnCancelRequest" runat="server" Text="Cancel Request" /></td>
    </tr>
</table>

Code behind for the control is nothing special, just the out of box code file:

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Controls_ProcessStepButtons : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
       
    }
}

 

When I load my tab, it hits the page load here and throws the error during design time in VS 2005.  I have several instances of that control in my parent' control (the one that is in my panel).  That has not mattered.  So not sure why now I get this. And, if I remove that user control, the next user control before it gets the same error.  so it's like if I remove it, the next one in line gets the error.

I also noticed that when I run my web app, all user controls in my master are being called, even if I have not clicked on the particular tab yet.

When I choose to show Disassembly information on the error, I get this:

--- d:\E\AjaxTk-AjaxControlToolkit\Release\AjaxControlToolkit\ExtenderBase\ScriptControlBase.cs
00000000  push        edi
00000001  push        esi
00000002  mov         esi,ecx
00000004  mov         edi,edx
00000006  cmp         dword ptr ds:[043E01C4h],0
0000000d  je          00000014
0000000f  call        75D02346
00000014  mov         edx,68ADE400h
00000019  mov         ecx,43E2540h
0000001e  call        75D04C71
00000023  mov         edx,edi
00000025  mov         ecx,esi
00000027  call        6443A588
0000002c  mov         ecx,esi
0000002e  call        dword ptr ds:[043EAA08h]
00000034  nop            
00000035  pop         esi
00000036  pop         edi
00000037  ret           Start Free Trial
[+][-]08.12.2008 at 01:25PM PDT, ID: 22216781

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Sign Up Now!
Solution Provided By: aboredman
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.12.2008 at 01:46PM PDT, ID: 22216944

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.12.2008 at 01:48PM PDT, ID: 22216971

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628