Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Dave #1
Custom control creation and debugging?
Hi
I want to create a custom tab web control, drop it into an asp.net page as shown below, that will create a set of tabs and will generate client-side script and DHTML to toggle the tabs, show/hide panels ("div tags") etc. I would also like to expose a set of properites to set font, tab color, width or even better, pass in CSS Class names
Do I have to create this and compile it using the command line compiler each time? I'd like to know how do you debug or step through what's going on inside the control while you're developing it? It would seem very tedious if you couldn't do this. Thanks, Dave
<dt:TabStrip runat=server><dt:Tab Title="Tab A">tab A content goes here</dt:Tab><dt:Tab Title="Tab B">tab b content goes here</dt:Tab></dt:TabStrip>
Dave Guest
-
Web user control creation - Resolve an ImageUrl property if control themed
Hi I'm creating a WebControl which has a themeable ImageUrl property : <Bindable(True), Category("Appearance"),... -
Custom Control Debugging - Design Time!
Greetings & Salutations, I have already scanned the posts for my problem & have found a couple that deal with problems that have the exact same... -
ControlDesigner not invoked on custom control when control is rendered within another custom control
I have a custom control that has a simple designer (derived from System.Web.UI.Design.ControlDesigner) associated with it (using the... -
Using Table control in a custom composite control. Control does not render properly in design time.
All, I have written a very simple custom composite control that includes a control of type System.Web.UI.WebControls.Table. The control... -
Debugging Shared Assemblies (ex. Custom Controls)
Hi Gurus .. I would really appreciate some insights for the problem that bugs me for quite some time. I keep my custom controls in their own... -
Victor Garcia Aprea [MVP] #2
Re: Custom control creation and debugging?
Hi Dave,
You can have a solution containing two projects, your webapp and a class
library with your custom controls. Debugging your controls at runtime should
be as easy as setting breakpoints on them and nothing more. Now if you want
to debug for example a control designer for your control, this would require
to fire a second instance of VS.NET and attach to it in order to hit the
control designer code.
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
[url]http://obies.com/vga/blog.aspx[/url]
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
"Dave" <anonymous@discussions.microsoft.com> wrote in message
news:69C8C5B4-903C-49D9-9154-24E16A19988F@microsoft.com...shown below, that will create a set of tabs and will generate client-side> Hi,
>
> I want to create a custom tab web control, drop it into an asp.net page as
script and DHTML to toggle the tabs, show/hide panels ("div tags") etc. I
would also like to expose a set of properites to set font, tab color, width
or even better, pass in CSS Class names.each time? I'd like to know how do you debug or step through what's going>
> Do I have to create this and compile it using the command line compiler
on inside the control while you're developing it? It would seem very
tedious if you couldn't do this. Thanks, Dave.here</dt:Tab><dt:Tab Title="Tab B">tab b content goes>
> <dt:TabStrip runat=server><dt:Tab Title="Tab A">tab A content goes
here</dt:Tab></dt:TabStrip>
Victor Garcia Aprea [MVP] Guest



Reply With Quote

