.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

could You at least add to ASP.NET MVC 3 some USEFUL behaviours ?

Posted By:      Posted Date: August 28, 2010    Points: 0   Category :ASP.Net
1. When we use Data annotation validation and we have min and max string length we have to write in message length:[StringLength(200, ErrorMessage = "It can be maximum 200 chars.")]Could You make it easier like in PHP frameworks, for example Symfony framework or Zend framework using %min% and %max%:[StringLength(200, ErrorMessage = "It can be maximum %max% chars.")]2. Can you add to ASP.NET MVC some full-text searchable behaviour independent of database - for example in PHP ORM called Doctrine we have Searchable behaviour: http://www.doctrine-project.org/projects/orm/1.2/docs/manual/searching/en#index-structure - it automatic creates table related to table with full-text indexes with columns: keyword, field, position, id ?3. Can you add to ASP.NET MVC nested set behaviour like in PHP ORM called Doctrine: http://www.doctrine-project.org/projects/orm/1.2/docs/manual/hierarchical-data/en - we have there implemented methods for example: createRoot(), insertAsLastChildOf(), insertAsLastChildOf(), moveAsLastChildOf(), isLeaf(), getNextSibling() etc. ?4. Could add some paginator like in PHP frameworks: Symfony or Zend framework: http://framework.zend.com/manual/en/zend.paginator.usage.html ?5. Could You add to ASP.NET MVC PDF behaviour like in PHP frameworks: Symfony or Zend framework: http://framework.zend.com/manual/en/zend.pdf.html ?

View Complete Post

More Related Resource Links

When editing a SSIS package in Visual Studio, copy-paste actions have annoying behaviours.


Currently, I'm in a project with high use of SSIS packages.

I've setup a package with many Sequence Containers in order to group Tasks and have these groups to execute modularly before continuing in the next group.

There are Tasks that are very similar, so I just copy-paste them and then change properties.

The problem is that, when I do the "paste", the Task rectangle is always placed in a left-bottom location relative to the currently existing Tasks and Sequence Containers (instead of below the coordinates of the mouse after the right click, as one would expect).

It was already annoying when I didn't use Sequence Containers, because I had to scroll around just to pick the Task in the strange place to where it was copied and put it in the right place.

But it started to be worse with Sequence Containers. Although it really detects the coordinates of the mouse and puts the Task inside a Sequence Container if I right-click over an empty space of the container, it continues to place the Task in a very far left-bottom place relative to the remaining objects. It causes the Sequence Container to stretch until its border contorns the Task in that strange place. I have to 1) move the Task object to the right place and 2) resize the Sequence Container borders to its original status.

Currently, to avoid the step 2 abov

WPF Designer not working with Blend 3 Behaviours

When I have made use of a Blend 3 Behaviour, the WPF Design reports and error saying that the attached property 'Bahaviors' was not found on type 'Interaction'.
John McCauley
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend