locked
Set Culture in the Property of a User Control RRS feed

  • Question

  • User1150900820 posted
    Hello, I made several Custom controls. Using those I made a User control. Now I need to set culture. In my user control there are two labels(Label1 and Label2). Both of which has a property named Title. So, when language change the Title should also be changed. From the code behind (C#) I get all the controls in the User control using the line below EventCalendar : User Control monthView : is a custom control resides user control EventCalendar monthView = (EventCalendar)HrmCalView.FindControl("monthView"); But the problem is when I drag drop the user control in the aspx page, I could not get the specific controls form inline. So, How can I get the specific control in a user control form the client side? Thanx-Tanvir
    Monday, September 25, 2006 1:46 AM

Answers

  • User1150900820 posted

    Thanx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 19, 2007 4:25 AM

All replies

  • User352232000 posted
    You should define a property to acces the custom controls in the user control.When you drag and drop a user control to an aspx page,you can get any custom controls in a user control through its property.
    Monday, September 25, 2006 4:21 AM
  • User1150900820 posted

    Thanx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 19, 2007 4:25 AM