Solved

Need to remove the ValidationHelper and just keep GetValue

Posted on 2010-09-20
4
330 Views
Last Modified: 2012-05-10
public string OutboxLinkUrl
        {
            get
            {
                return ValidationHelper.GetString(GetValue("OutboxLinkUrl"), "");
            }
            set
            {
                SetValue("OutboxLinkUrl", value);
            }
        }
0
Comment
Question by:omegalove
  • 2
  • 2
4 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
What is OutboxLinkUrl. Is it a control on the form?
0
 

Author Closing Comment

by:omegalove
Comment Utility
k
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now