• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

Need to remove the ValidationHelper and just keep GetValue

public string OutboxLinkUrl
        {
            get
            {
                return ValidationHelper.GetString(GetValue("OutboxLinkUrl"), "");
            }
            set
            {
                SetValue("OutboxLinkUrl", value);
            }
        }
0
omegalove
Asked:
omegalove
  • 2
  • 2
1 Solution
 
rockiroadsCommented:
So why cant u just remove ValidationHelper?

 return GetValue("OutboxLinkUrl");


public string OutboxLinkUrl
        {
            get
            {
                return GetValue("OutboxLinkUrl");
            }
            set
            {
                SetValue("OutboxLinkUrl", value);
            }
        }
0
 
omegaloveAuthor Commented:
Error      132      The name 'SetValue' does not exist in the current context      C:\inetpub\wwwroot\OmegaLove.Web\OmegaLove.Web\Controls\MessagingInfoPanel.ascx.cs      221      17      OmegaLove.Web

and GetValue does not exist.
0
 
rockiroadsCommented:
What is OutboxLinkUrl. Is it a control on the form?
0
 
omegaloveAuthor Commented:
k
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now