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: 57 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:













table height=100% won't work properly?

vs 2005 interpreter

object/event drop downs disappear from code window

how to convert and existing project to a single dll?

asp.net 1.1 - asp.net 2.0 relative links in the html of my usercontrols

where is my intellisense gone ??

asp:contentplaceholder in design view

dropdownlist problem?

ms expressions web - does it help?

oledb from vs2003 but no oledb in vs2005??

how to get "intro.css" file ?

why does my toolbox dissapear??

best color scheme in visual studio 2005

problems with connecting to a database

quick start tutorials and vs.net

vb.net project properties

how to handle compiled applications?

give me a online examination project in asp.net using c# and his database in ms-sql 2000.

is vs 2005 compatible with sql server 2000 reporting service?

organize my skins and styles

getting a specific value from collection

asp.net unit testing of app_code folder

.netcharting with vb2005

question on copy web site tool in vs2005

vsdesigner error creating table adapter

can folder shortcuts be added to a website solution?

where are the visual studio 2005 team additions?

vs2005 and references

how can i disable the visualstyles from one control ??

rollback setup when custom actions fail

how to reset the initial "type of developer" settings in the ide

share resouces across projects

i didn't receive webapplication templetes when create new webaplication in vs2005

error: "encapsulate field invocation failed with error code 0x8007000e"

calling parent method from usercontrol.

visual studio .net 2005 team on vista 64-bit ultimate edition

project type from c# to vb.net

closing vs / source control error

wizard control

greyed out toolbox items

does it matter where the pages are located in your solution explorer ?

"visual web developer web server" and web services

cannot add existing local iis web site

option to always expand all code sections

how to write a stored procedure in visual studio

exclude from source control

please help me.. its urgent

general question connection strings and project classes

moving projects from pc to pc

linking a details view control to a gridview control

   
  Privacy | Contact Us
All Times Are GMT