Tuesday, October 28, 2014

Get ASPX control value in ASCX page

Hello,

To achieve this scenario, you have to first define public property in aspx page like this.
public DropDownList AffinityGroupDDL
        {
            get
            {
                return ddlAffinityGroup;
            }
        }

After that you can access your page controls like below
var dropDownList = ((StMainDashboard)Page).AffinityGroupDDL;

Try this.

I Built a New Kind of Number Puzzle Game (And You Can Play It Free)

 For a long time, I wanted to play a mobile puzzle game that felt genuinely strategic—something that required real brainpower, skipped the a...