Click here to Skip to main content

Web Development

 
AnswerRe: Need Help In PHP Coding PinmemberMohammad Dayyan5-Dec-08 3:02 
QuestionSql server in godady.com Pinmemberahawari093-Dec-08 9:11 
QuestionWhen to use em and px Pinmember.NET Enthusiast3-Dec-08 8:32 
AnswerRe: When to use em and px PinmemberMohammad Dayyan5-Dec-08 3:08 
AnswerRe: When to use em and px PinmvpColin Angus Mackay5-Dec-08 5:26 
QuestionDisplay changes with screen resolution PinmemberAnand Desai3-Dec-08 2:04 
AnswerRe: Display changes with screen resolution PinmemberMohammad Dayyan5-Dec-08 3:11 
QuestionASP.NET - Debugging User Control in Visual Studio 2008 Pinmembercrandall3-Dec-08 0:34 
I have an ASP.NET (2.0) site. I am on my dev box using V Studio 2008 and IIS. I have a separate User Control project that gets called from a javascript function in the default.aspx page. The User Control project is in another solution.

The application is running as expected. The user control is being called and all is well. Well not quite.

I am unable to step into the User Control project, i.e debug it. I can set breakpoints but they never get trapped. I can debug all other areas of the site both in script and code behind without any problems. The User control gets built in DEBUG to the same location as the default.aspx page.

Things i have already tried:
Enabled script debugging in IE.
Added the User Control project to the same web site solution
Attached debugger to running instance of IE from Visual Studio
Enabled debugging on the site.

Below is some sample code which should help:

default.aspx: (Cut down for brevity)

<body onload="LoadMethod()"style="background-color:#f4eedf; font-size: 12px; font-family: Verdana;margin:0 0 0 0;">
 

 <object id="LoadControl" style="width: 1px; height: 1px" classid="Nice.Inform.Client.WebLoad.dll#Nice.Inform.Client.WebLoad.LoadControl">
            <param name="ApplicationPath" value="ClientApps/NiceInform.exe" />
            <asp:Literal ID="NewCodecVersion" runat="server"></asp:Literal>
            <asp:Literal ID="CodecProductCode" runat="server"></asp:Literal>
        </object>
 

<script type="text/javascript">
		function LoadMethod()
		{
			try
			{
			    LoadControl.Ping();  
			    
			}
			catch (e) //if the DLL didn't run assume there is a trust problem.
			{	 
			}
		}

Please only give feedback if you have actually done this in practice.
QuestionWeb Application working in IE but not in FireFox Pinmembersmilysanjai2-Dec-08 20:30 
GeneralRe: Web Application working in IE but not in FireFox Pinmembernon-bugging Errors2-Dec-08 22:44 
AnswerRe: Web Application working in IE but not in FireFox Pinmembercking2600_15-Dec-08 9:58 
QuestionWebsite Pinmembernon-bugging Errors2-Dec-08 19:40 
AnswerRe: Website Pinmembercrandall3-Dec-08 0:37 
AnswerRe: Website PinmemberPaul Conrad3-Dec-08 6:01 
AnswerRe: Website PinmemberMrWolfy9-Dec-08 7:13 
Questionhi Pinmembervishwaguna2-Dec-08 8:02 
AnswerRe: hi Pinmembersongjacki2-Dec-08 15:02 
AnswerRe: hi PinmvpColin Angus Mackay5-Dec-08 5:28 
Questionwant to use "search" of a website programatically PinmemberIrfanHaleem2-Dec-08 6:47 
AnswerRe: want to use "search" of a website programatically PinmemberAshfield5-Dec-08 2:28 
QuestionGernerating XML file with XML Schema ?. Pinmembersongjacki2-Dec-08 4:35 
AnswerRe: Gernerating XML file with XML Schema ?. PinmemberSeMartens2-Dec-08 5:54 
GeneralRe: Gernerating XML file with XML Schema ?. PinmemberSamer Abu Rabie2-Dec-08 12:55 
GeneralRe: Gernerating XML file with XML Schema ?. Pinmembersongjacki2-Dec-08 14:59 
Questionneed Help urgent Pinmemberraza_ahmedt42-Dec-08 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 19 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid