Search

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

Matching Posts

  • Re: Mocking and testing for RedirectToAction

    Yes, you need to wrap the call in a lambda. I think Ayende talks about this on his blog. Also, you can't test for List.aspx because there's a good chance the URL won't end in .aspx. But even if you test for something valid, I haven't been able to get it to work. The SetFakeControllerContext creates a context with an empty RouteData which is where the null is coming into play. Somewhere in the bowels of the Route class, it's referencing a property on the HttpContextBase.Request
    Posted to ASP.NET MVC (Forum) by kbaley on 3/12/2008
  • Updated RoundedCornersExtender

    Thought I'd share an update I made to the RoundedCornersExtender. As a summary, I added support to have the corners rounded outward or not at all. In addition, you can apply a different style to each corner individually. Details are here: http://kyle.baley.org/NewPropertiesOnTheRoundedCornersExtender.aspx
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 10/8/2006
  • Re: Declaring controls in javascript

    Oh bother, I knew you made everything public but assumed it was in the latest CTP and when I didn't see it there, I chalked it up to a wondrous and fantastical dream. Now have the latest source and there it is in all its glory. Having some issues with Atlas Gadgets in general but that's a separate discussion. Thanks a lot for your help, Ted.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 9/3/2006
  • Re: Declaring controls in javascript

    That's awesome, Ted. I got it to work with the following code, which is basically a variation of what's in the FAQ: < script language= "javascript" type= "text/javascript" > function onAddBehavior( ) { var textbox = new Sys.UI.TextBox( $('TextBoxSimpleSearchTerm') ); var watermark = new AtlasControlToolkit.TextBoxWatermark( ); watermark.set_WatermarkText( "Enter a search term" ); watermark.set_WatermarkCssClass( "watermarked" ); textbox
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 9/2/2006
  • Declaring controls in javascript

    Is it possible to create the various toolkit controls in javascript? Specifically looking at the AutoCompleteExtender and the CollapsiblePanelExtender. My ultimate goal is to see if the controls could be used within an Atlas gadget. Thanks, Kyle
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 8/27/2006
  • Re: AutoCompleteExtender within a collapsed panel

    I'll buy that for a dollar! It worked for me. Thanks, David. Out of curiosity, how do you (and others) generally go about debugging problems like this in Atlas? I've been working mostly from a black box perspective and have trouble determining how to approach Javascript errors in the Atlas framework.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 8/7/2006
  • Re: AutoCompleteExtender within a collapsed panel

    Sorry, here's a sample. It's the one from the toolkit sample website with extraneous stuff removed and a TextBox and AutoCompleteExtender added. It doesn't matter if the web service actually exists or not. I still the error: <%@ Page Language="C#" MasterPageFile="~/DefaultMaster.master" AutoEventWireup="true" CodeFile="CollapsiblePanelError.aspx.cs" Inherits="CollapsiblePanelError" Title="CollapsiblePanel Sample" %> <%@ Register Assembly="AtlasControlToolkit" Namespace="AtlasControlToolkit
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 8/5/2006
  • Re: The passwordstrength control is misleading and inaccurate

    A related article from a few years ago: http://blogs.technet.com/robert_hensing/archive/2004/07/28/199610.aspx
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 8/4/2006
  • AutoCompleteExtender within a collapsed panel

    This is with the July CTP. When I attach an AutoCompleteExtender to a TextBox within a CollapsiblePanelExtender with Collapsed="True", I get a javascript error on the page: Error: Invalid argument (Line 9184 if that helps). Then when I navigate away from the page, I get another javascript error: Type mismatch (Line 9117). This doesn't happen when Collapsed="False" and it didn't happen with the May CTP. Sorry I didn't debug further. Getting late but hopefully will do so tomorrow.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 8/3/2006
  • Re: Null Pointer in ExtenderControlBase

    Same thing seems to occur when you attach a TextBoxWatermark control to a TextBox within an Accordion. Might not be the same issue, though. I've noticed that once you put an ASP.NET control within an AccordionPane, you don't have direct access to it in the code-behind. You have to use FindControl to get it.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by kbaley on 8/3/2006
Page 1 of 2 (13 items) 1 2 Next >