473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to debug a usercontrol in asp.net

Hi

I have created a simple usercontrol in vb.net, compiled and tested it
in another vb.net project and all fine.

I include the dll (not in the bin directory) to the asp.net project
I include the object tag to the page, i can see the ctrl at runtime, so
all good.

Yet it doesnt run or fire any events.

Any obvious thing im doing wrong ? (Im new to user controls)

Second question is how do i debug a user control in an asp.net page ? I
googled this but couldnt see anything...

Nov 19 '05 #1
1 1806
Once coman assembly is compiled, you can no longer source code debug. The
only option still available is debugging the executable, which means poking
through the IL. This is probably not what you desire.

If you want source code debugging, set the compiled project into your
solution and link with aproject reference.

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

***************************
Think Outside the Box!
***************************
"androoo" wrote:
Hi

I have created a simple usercontrol in vb.net, compiled and tested it
in another vb.net project and all fine.

I include the dll (not in the bin directory) to the asp.net project
I include the object tag to the page, i can see the ctrl at runtime, so
all good.

Yet it doesnt run or fire any events.

Any obvious thing im doing wrong ? (Im new to user controls)

Second question is how do i debug a user control in an asp.net page ? I
googled this but couldnt see anything...

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Raed Sawalha | last post by:
Hi, I have a strange problem with a usercontrol on a page. The usercontrol dispalyes three categories (From a database) when the user clicks a category they see all the products in a shop for...
2
by: Sascha | last post by:
Hi there, I searched carefully through the web before finally deciding to post this message, because I could not find a solution for my problem. Hopefully someone will have a hint or explanation...
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
12
by: Joe | last post by:
Hello All: Do I have to use the LoadControl method of the Page to load a UserControl? I have a class which contains three methods (one public and two private). The class acts as a control...
9
by: Marcelo Cabrera | last post by:
Hi, I have a user control that in turn creates a bunch of webcontrols dynamically and handles the events these webcontrols raise. It used to work fine on ASP .Net 1.1 but when compiled on 2.0 it...
6
by: MeowCow | last post by:
I have created a UserControl that encapsulates a third party data grid. My goal was to create my own DataSource and DataMember properties that forward the binding to the third party grid, then use...
0
by: rbg | last post by:
I have a custom usercontrol in ASP.NET 1.1 named BreadCrumb.ascx which contains another control also called BreadCrumb.ascx within itself. Thus the parent BreadCrumb.ascx control is simply a...
5
by: Jonas Hallgren | last post by:
Hello, Is there any general tips on how to solve this problem: my Debug version runs fine but when I do a Release version I get error messages!? I'm hoping it is a simple option somewhere or...
5
by: MarcuEusebiu | last post by:
Hello... I have a Windows Forms UserControl in a ClassLibrary and I use this UserControl as an applet in IE. Both WebApplication and UserControl are in C#.NET 2.0. The UC has a button with a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.