Solved

Need to remove the ValidationHelper and just keep GetValue

Posted on 2010-09-20
4
333 Views
Last Modified: 2012-05-10
public string OutboxLinkUrl
        {
            get
            {
                return ValidationHelper.GetString(GetValue("OutboxLinkUrl"), "");
            }
            set
            {
                SetValue("OutboxLinkUrl", value);
            }
        }
0
Comment
Question by:omegalove
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
ID: 33722372
So why cant u just remove ValidationHelper?

 return GetValue("OutboxLinkUrl");


public string OutboxLinkUrl
        {
            get
            {
                return GetValue("OutboxLinkUrl");
            }
            set
            {
                SetValue("OutboxLinkUrl", value);
            }
        }
0
 

Author Comment

by:omegalove
ID: 33722416
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
 
LVL 65

Expert Comment

by:rockiroads
ID: 33722427
What is OutboxLinkUrl. Is it a control on the form?
0
 

Author Closing Comment

by:omegalove
ID: 33762970
k
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question