CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 5/27/2006 7:23:38 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 61 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"Kabelsalat" <>
NewsGroup User
How to make a custom ExpressionEditor display a warning about a wrong expression5/27/2006 7:23:38 PM

0

Hello,

E.g. the ResourceExpressionEditor displays a warning about a wrong expression by turning the webcontrol into a greybox with a message written onto it. I want my own custom expression editor behave the same way, but no matter what I do it does not work: Actually both, returning null and throwing an exception in EvaluateExpression, does not work. As a result only the control's ID is displayed instead of the evaluated expression. I also compared my ExpressionEditor with the ResourceExpressionEditor by using .Net Reflector, but I have not been able to figure out how the ResourceExpressionEditor generates this message, as both ExpressionEditors are working similiar.

Thanks for your Help

Kabelsalat
"Kabelsalat" <>
NewsGroup User
Re: How to make a custom ExpressionEditor display a warning about a wrong expression5/28/2006 4:35:37 PM

0

Sorry for bothering you, but actually it worked all the time. I was simply testing the wrong way: I didn't type in a wrong expression, I only changed the code of the EvaluateValue function of my ExpressionEditor class... know I've typed in a wrong expression - and it realy worked due to an exception being thrown by the ParseExpression-Function of the ExpressionBuilder!
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













asp.net account drops from local admin group

equivalent session variables in asp.net

unauthorizedaccessexception in connecting to remote system

log out security

please help

url rewriting in .net

web site admin tool and sql express 2005

display "logout <username>" as logout link for loginstatus

control createuser wizard control with css - how?

role basesd security with connection string in registry

how to secure my web service???

struggling with whether to call dispose() on sqlcommand and sqlconnection

conditional forms authentication

authentication, not quite working

froms and windows authentication

initiating formsauthentication.signout() isn't working

any way to get the source for the asp.net membership controls?

how can i encrypt and decrypt the app.config file connecting strings and appsettings in the windows applications

login form session

changing authentication mode msde problem

using profile to allow additional security

setauthcookie(id, true) not persisiting

is there a fairly straight forward way to get a username list of all users in active directory?

secure both ui and db

problem with authentication when using frames...

same application - multiple databases

about the registry

orginal caller's context flows to the database server even when impersonation is off.

need professional opinion

forms authentication: infinite loop on logout (beta 2)

get user data on login page

error message doesn't appear

prevent logged in user from being timed out

recall cookie info

where is the detail description opf membership stored procedures

logging in on my site causes "time out expired"

access error

web based web site administration tool

scrapping a normal form authentication asp page

please help -- content on websites for different roles -- asp 2.0

my file needs write permission so...?

aspnet account permissions

security of folder

calling a users id from database. (quick 'n' easiest possile)

****encryption*****asp.net & ms access

user registration

forms based authentication - cookies/sessions

master page not workng with login form

@currenttimeutc is not a parameter ....

where to store values after login

   
  Privacy | Contact Us
All Times Are GMT