user-control

User Control Tells Project What To Do...

Hi All This might be abit "out there", but here goes: I have a User Control. And I have a project. How can I have my user control pass a particular "event" to my project, and then have my project run that event? ...

Overlay WPF controls

Hello I've written an 'auto-suggest' textbox user control in WPF. It behaves a little bit like the 'To' list in Hotmail, allowing the user to enter a list of items, offering suggestions when it is able. The main controls are a a text box, a wrap panel and a list box. The text box captures user input. The wrap panel contains the te...

Do you think it's a good idea to create a login box as a user control?

Hi there guys! I'm starting out learning some ASP.Net programming and I'm going to be making a little community website for my friends and myself. I'm trying to pick up some good habits along the way. I was thinking of having a usercontrol and have that 'loginBox' shows the appropriate textboxes and login button, but also show his user...

ASP.NET User Control, DataGrid, CRUD Issues

Hi all I'm working with a user control (one panel with a Button and a DropDownList) in my ASP.NET application, that is triggered by a GridView. An ID of one record is passed as a CommandArgument each time a button in the GridView is clicked, and my control is displayed via the RowCommand event handler: myControl.CurrentID = Guid.NewGui...

ASP.net Custom Multiple control validator javascript issue

I've used the code in this article before to create a custom validator to validate mupltiple controls on a page. Using the "inline method" to hook up the validators just beofre the closing form tag. This time I'm making a user control and want the control to handle the generatio/rendering of the javascript to hook up the validators. The...

How do I get access to the QueryString in Windows Phone 7 from a user control

I have a simple user control in Windows Phone 7 and I want to get access to the querystring collection from the user controls Constructor. I have tried many ways and cannot seem to get acess to the containing XAML's querystring collection. Essentially I am navigating to the page and the my user control is going to access the querystring...