Search

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

Matching Posts

  • Re: Composite control: How to bubble a textbox's TextChanged event?

    Hi, there are free controls doing it & samples all over the we as well as on these forums. its more to do with client-side scripting than really control stuff, since you'd most likely do it with script...but here's one sample I found: http://forums.asp.net/p/1363647/2830556.aspx#2830556 and you can laso use jQuery (I wholeheartedly recommend using it): http://stackoverflow.com/questions/706906/jquery-filter-dropdown-list-as-you-type
    Posted to Custom Server Controls (Forum) by joteke on 9/24/2009
  • Re: ClientScript.RegisterClientScriptBlock

    Is the external script file referenced on the page with <script> tag? If yes, it should work.
    Posted to Getting Started (Forum) by joteke on 9/24/2009
  • Re: ClientScript.RegisterClientScriptBlock

    Hi, please realize that that ClientScript.RegisterClientScriptBlock registers a js call to be outputted to the page-rendered markup, RegisterClientScriptBlock placing it right after beginning of the <form> tag and ClientScript.RegisterStartupScript placing it right before the ending of the </form> tag. So you probably should be using RegisterStartupScript since then the page has rendered those elements when the js tries to access them...make sure with alert or script debugging etc that
    Posted to Getting Started (Forum) by joteke on 9/24/2009
  • Re: Won't Response.Redirect from Application_Error

    Hi, try overload of Response.Redirect which takes a boolean as second argument and give it false HttpContext.Current.Response.Redirect("...", False)
    Posted to Web Forms (Forum) by joteke on 7/12/2009
  • Re: Event does not fire!

    Hi, you need to wire the TextChanged handler without IsPostBack check, that's because the event actually raises on postback (and due to the IsPostBack check the handler isn't wired then). In other words, event handlers need to be wired on the request you expect them to be raised.
    Posted to Web Forms (Forum) by joteke on 7/12/2009
  • Re: Nested repeater - Inner repeater count

    Hi, if you're in outer's ItemDataBound, are you manually binding the inner repeater? Point is you can get the item cont only after databinding has happened. If you are unsure, you could move this iterating & checking code to PreRender/PreRenderComplete stage, as all databinding related activity has happened by then.
    Posted to Data Presentation Controls (Forum) by joteke on 6/23/2009
  • Re: Nested repeater - Inner repeater count

    Hi, in rChild_ItemDataBound you can get reference to the current Repeater by casting sender argument to Repeater Repeater current = (Repeater)sender; so you don't need to fight with the order when events etc are run. When you're stepping the line nestedRCount = nestedRepeater.Items.Count; in rMain_ItemDataBound, all the ItemDataBounds of the child repetear have run already (they run at the point when DataBind of called for the Repeater in question ) So if I'm not badly mistaken, you'd
    Posted to Data Presentation Controls (Forum) by joteke on 6/23/2009
  • Re: missing ; before statement + Required Field Validator

    Hi, how do you have the master page & content page structure? Do you have the server-side form in the content page? Specifically what I'm wondering is the Application-Form- Display part (e.g you cans ee the control hierarchy on the client id string) Do you have lines somewhere instead of underscore in the ID?
    Posted to Client Side Web Development (Forum) by joteke on 6/23/2009
  • Re: Nested repeater - Inner repeater count

    Hi, for background how databound controls work see my blog post: Understanding the naming container hierarchy of ASP.NET databound controls http://aspadvice.com/blogs/joteke/archive/2007/02/25/Understanding-the-naming-container-hierarchy-of-ASP.NET-databound-controls.aspx So, you'd most likely get your task done by looping through the outer repeater and then accessing the inner one as you need to , with item index (reading items.count) or iterating as well...
    Posted to Data Presentation Controls (Forum) by joteke on 6/22/2009
  • Re: javascript dropdownlists

    Here is one example when using jQuery 1 <%@ Page Language="C#" %> 2 3 < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4 5 < script runat= "server" > 6 7 8 9 </ script > 10 11 < html xmlns= "http://www.w3.org/1999/xhtml" > 12 < head runat= "server" > 13 < title ></ title > 14 15 < script src= "scripts/jquery-1
    Posted to Client Side Web Development (Forum) by joteke on 6/22/2009
Page 1 of 664 (6637 items) 1 2 3 4 5 Next > ... Last »