HELP, new developer, new job

Apr 15, 2010 at 1:44 PM


as the title says i am in a new job, just started working with sharepoint, i have built a usercontrol that takes in three paramters on the aspx page

how can i use the smartpart and pass the three parameters area, asset and file?

any help would be good

code from the aspx page

private string _areaName = String.Empty;
    private string _assetName = String.Empty;

    protected void Page_Load(object sender, EventArgs e)

        _areaName = "xxxx"; //Request.QueryString["area"];
        _assetName = "xxxxxx"; //Request.QueryString["asset"];
        if (!this.Page.IsPostBack)
            // Update the menu control settings...
            this.uxBackgroundPagesMenu.AreaName = _areaName;
            this.uxBackgroundPagesMenu.AssetName = _assetName;
            this.uxBackgroundPagesMenu.ConfigurationFile = String.Format("Area/{0}/{1}/background_pages_menu.xml", _areaName, _assetName);