Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the proper URL in user control
Message
From
22/08/2008 12:25:39
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01341120
Message ID:
01341164
Views:
11
Here is the sum total of the control. Is there something I can add in the load to modify the current position reference?
<%@ Control Language="C#" ClassName="menuMembers" %>
<%@ Implements Interface="System.Web.UI.WebControls.WebParts.IWebPart" %>

<script runat="server">

    string IWebPart.CatalogIconImageUrl
    {
        get { return _catalogiconimageurl; }
        set { _catalogiconimageurl = value; }
    }
    private string _catalogiconimageurl;
	
    string IWebPart.Description
    {
        get { return _description; }
        set { _description = value; }
    }
    private string _description;
	
    string IWebPart.Subtitle
    {
        get { return _subtitle; }
    }
    private string _subtitle;

    string IWebPart.Title
    {
        get { return _title; }
        set { _title = value; }
    }
    private string _title;
	
    string IWebPart.TitleIconImageUrl
    {
        get { return _titleiconimageurl; }
        set { _titleiconimageurl = value; }
    }
    private string _titleiconimageurl;

    string IWebPart.TitleUrl
    {
        get { return _titleurl; }
        set { _titleurl = value; }
    }
    private string _titleurl;

    private void Page_Load(object sender, System.EventArgs e)
    {
        _title = "  Members Only";
        _description = "";
        _titleiconimageurl = "~/images/go.gif";
    }
    
</script>
<br />
<ul class="menutextindent">
    <li><a href="MemberHome.aspx">Members Home</a></li>
    <li><a href="MemberPortal.aspx">Member Portal</a></li>
    <li><a href="MeetingPortal/OnlineMeeting.aspx">Online Meeting</a></li>
    <li><a href="Documents.aspx">Documents</a></li>
    <li><a href="Maintenance/CommonGrounds.aspx">Common Grounds</a></li>
    <li><a href="PostData.aspx">Post Data</a></li>
    <li><a href="MemberForum.aspx">Member Forum</a></li>
</ul>
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform