Search

You searched for the word(s): userid:746657

Matching Posts

  • Re: Tooltip for DropdownList options

    I can't believe I forgot about that! Thank you so much. I got so hung up on using the helpers that I fogot I could build it manually. Perfect. It would be nice in a future release if some control was given in the helper method.
    Posted to ASP.NET MVC (Forum) by VinBrown on 6/19/2008
  • Tooltip for DropdownList options

    Is there any way to make the Html.DropdownList() render in such a way that the .title attribute for each option is the full text of each option? For example: let's say I have an Html.DropdownList() and the select list has an item whose text is really long, but the width of the list truncates the text. I want the tooltip to show the full text. Is there any way to dynamically set the .title at the option level? Here's some of my code... 1 Dim oDDStyle As Object = New With {.class = "inquiryDropDown"
    Posted to ASP.NET MVC (Forum) by VinBrown on 6/18/2008
  • Re: Preview 3 - Html.ListBox and Html.DropDownList - Please Add Prompt Support Back

    Here's a pretty simple solution that doesn't require modifying the source code. It basically just creates a list of the object in question and then unions that with the linq query. Dim oStatePrompt As New RefState() oStatePrompt.StateCode = "Select..." oStatePrompt.StateId = -1 Dim oStatePromptList As New List(Of RefState)() oStatePromptList.Add(oStatePrompt) <%=Html.DropDownList( "FirstState" , New SelectList(oStatePromptList.Union(edc.RefStates.Where( Function (_s
    Posted to ASP.NET MVC (Forum) by VinBrown on 6/17/2008
  • Re: One Strongly Typed ViewData to rule them all?

    I suppose if that's what you need then so be it. I would just offer this question, though. If you have your view data encapsulating all your objects, are you really still strongly typing anything? It seems the only benefit you are gaining is the ability to do ViewData.Category as opposed to (Category)ViewData["Category"].
    Posted to ASP.NET MVC (Forum) by VinBrown on 5/20/2008
  • Re: One Strongly Typed ViewData to rule them all?

    Wow. Am I understanding this to mean that you would have a class that contains all the properties of customers, orders, and all the other related stuff. Seems like there should be a better way of handling that. Is using viewdata that isn't strongly typed an option? Seems like that's the way you would want to go for this. Here's a wacky thought (not even sure if it's possible). What if you had a viewdata object that contained other strongly typed viewdata objects? I'm really just
    Posted to ASP.NET MVC (Forum) by VinBrown on 5/20/2008
  • Re: Rich Text Editor for MVC?

    There's a JQuery plugin - jquery.wyswyg - that I've used. Seems to work well.
    Posted to ASP.NET MVC (Forum) by VinBrown on 5/20/2008
  • Re: Image verifier for ASP.NET MVC?

    Please forgive my ignorance. What do you mean by image verifier?
    Posted to ASP.NET MVC (Forum) by VinBrown on 5/14/2008
  • Re: Basic doubts in Mvc

    I have been setting the startup action to 'Start Url' and then setting the value to "http://localhost:[port number]/" . Then you can either publish the application or copy the files manually. One thing that I have had to do on one web site that I rolled out was to use a .ashx extention in routing. It is deployed on IIS6, but using .mvc wasn't working because (according to a post I found online describing the exact same problem), .mvc was being mapped to something else in some
    Posted to ASP.NET MVC (Forum) by VinBrown on 5/12/2008
  • Re: <%= Html.Button()%> with htmlAttributes

    Interesting. Which version of MVC are you using? Glad to see you worked it out.
    Posted to ASP.NET MVC (Forum) by VinBrown on 5/8/2008
  • Re: debugging not working

    That's awesome! When in doubt, reboot. I'd be interested to know if you ever find out what the problem was.
    Posted to ASP.NET MVC (Forum) by VinBrown on 5/8/2008
Page 1 of 3 (23 items) 1 2 3 Next >