Solved

Need to remove the ValidationHelper and just keep GetValue

Posted on 2010-09-20
4
338 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

724 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