Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Nathan Sokalski #1
Modifying a property of a control contained in a user control
I have a user control that is made up of several HyperLink controls. In the
Page_Load event of pages that use the control I want to change a property of
one of these HyperLinks. How can I access these controls from the Page's
Load event? Thanks.
--
Nathan Sokalski
[email]njsokalski@hotmail.com[/email]
[url]http://www.nathansokalski.com/[/url]
Nathan Sokalski Guest
-
Set property in user control
I have a user control where I defined a boolean property. I tried to pass the property the following way: <aaa:MyControl runat="server" id="stan"... -
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"),... -
Setting user control property dynamically?
Hi I created a user control that has a property that accepts a url ("NavUrl").. I tried to set the value as follows directly in the aspx page... -
Can you set a default property for a user control?
I'm not even sure if what I'm doing is possible. I created a simple control that will be reused throughout the site. It will accept a large amount... -
User Control Public Property Problem
I have built a user control that displays the header on a web forms. It has a public property ("Msg") that I can set to display error messages from... -
Sachin Saki #2
RE: Modifying a property of a control contained in a user control
Hi Nathan,
Make the properties in usercontrol and create the object of it and set the
property from page load from aspx page. i think this best way to do what u
want.
Regards,
Sachin Saki
..NET Developer, Capgemini - INDIA
"Nathan Sokalski" wrote:
> I have a user control that is made up of several HyperLink controls. In the
> Page_Load event of pages that use the control I want to change a property of
> one of these HyperLinks. How can I access these controls from the Page's
> Load event? Thanks.
> --
> Nathan Sokalski
> [email]njsokalski@hotmail.com[/email]
> [url]http://www.nathansokalski.com/[/url]
>
>
>Sachin Saki Guest



Reply With Quote

