Search

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

Matching Posts

  • Re: How to retrive just the link w/o anchor tag?

    Check out the Url namespace - specifically Url.Action(). Hope this helps, Shawn
    Posted to ASP.NET MVC (Forum) by shware on 6/23/2008
  • Re: ASP.NET MVC RTM Date

    Hi, Will the source code also be released with the format MVC release? Thanks, Shawn
    Posted to ASP.NET MVC (Forum) by shware on 6/17/2008
  • Re: Confused with routing ...

    Would something like Home/Index Products/List Products/Edit Products/AdminList Products/AdminEdit Products/AdminAdd Products/AdminReports ... work? Then only 2 controllers are needed - HomeController and ProductsController. Shawn
    Posted to ASP.NET MVC (Forum) by shware on 6/6/2008
  • Re: Preview 3 - Html.ListBox and Html.DropDownList - Please Add Prompt Support Back

    Hi, Thanks for the replies and suggestions. I came up with the following in HtmlHelper.Select.cs: private string SelectInternal(string name, MultiSelectList selectList, bool usedViewData, bool allowMultiple, IDictionary<string, object> htmlAttributes) { if (String.IsNullOrEmpty(name)) { throw new ArgumentException(MvcResources.Common_NullOrEmpty, "name"); } if (selectList == null) { throw new ArgumentNullException("selectList"); } // If we haven't already used ViewData
    Posted to ASP.NET MVC (Forum) by shware on 6/6/2008
  • Anonymous Type HtmlAttributes / _class Not Being Replaced With class

    Hi, When using anonymous types for HtmlAttributes the _class="cssclass" isn't being replaced with class="cssclass" in the final tag. Preview 2 / April 16 did a replace on the "_" character. To work around, I modified Preview 3 / TagBuilder.cs / ToString() to read as: public override string ToString() { string attributesString = String.Empty; if (Attributes != null) { StringBuilder sb = new StringBuilder(); foreach (var attribute in Attributes) { string key = attribute
    Posted to ASP.NET MVC (Forum) by shware on 6/2/2008
  • Preview 3 - Html.ListBox and Html.DropDownList - Please Add Prompt Support Back

    Hi, Not sure if this is the appropriate feedback venue but I'm missing the ability to add a "prompt" to select tags - e.g., add a prompt "choose one..." as first option element BEFORE actual options are displayed. Preview 2 / April 16 2008 release had the following in SelectBuilder.cs. I modified this routine to add the "prompt" option BEFORE the options loop and it worked well. I don't see any support for the "prompt" htmlattribute in Preview 3 source
    Posted to ASP.NET MVC (Forum) by shware on 6/2/2008
    Filed under: MVC
  • Re: Updating an UpdatePanel with Javascript

    Hi, I was seeing the same complete page submit on the HTML button in FireFox 1.5. As a test I modified things to manually do a __PostBack() on the asp:button within the panel and that seems to work as expected (a partial page update): <% @ Page Language ="VB" %> < script runat ="server" > Sub Page_Load( ByVal Sender As Object , ByVal e As EventArgs) If Not Page.IsPostBack Then liTesting.Text = "before postback" End If End Sub Protected Sub btnUpdate_Click( ByVal sender As Object , ByVal
  • Sys.Application.load event Fires on Partial Updates - By Design?

    Hi, Finally started playing around with MS Ajax Beta 2. Is it normal for the Sys.Application.load event to fire with an <asp:updatePanel ...> condition update is fired? Just curious. Removing the load handler with Sys.Application.remove_load(...) after 1st run is my workaround. Just didn't seem natural to have it fire when a button is clicked in a conditionally updated updatePanel. Thanks! Shawn
  • Re: Sv.: Re: Sv.: Re: Email Management Newsletter Project - anyone want to contribute?

    Hi Jason, Thanks for your efforts on this project. I've downloaded the 1.0.4 beta and hit a couple of issues to get clean compiles / DNN install: * Added the following decelarations to Data\DataProvider.vb: Public MustOverride Function MailingListProvidersAdd(ByVal className As String) As Integer Public MustOverride Sub MailingListProvidersUpdate(ByVal itemID As Integer, ByVal className As String) Public MustOverride Sub MailingListProvidersDelete(ByVal itemID As Integer) Public MustOverride Function
    Posted to DotNetNuke (Forum) by shware on 1/20/2006
  • Re: DNN 4 / 3.2 - Where are the module CodeBehinds?

    Hi, For v4.0, as mentioned in an earlier post the codebehinds are in the source projects (in the .resources files) for each module's project download on dotnetnuke.com. When I downloaded those I realized that these modules are still written to version 1.1 of dotNet and version 3.2 of DNN. So, I ended up downloading the source of DNN 3.2 and installing it so we could play around with the specific module projects. I haven't run too many tests, but have compiled these 3.2 modules and copied the DLLs
    Posted to Getting Started (Forum) by shware on 11/28/2005
Page 1 of 22 (215 items) 1 2 3 4 5 Next > ... Last »