Search

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

Matching Posts

  • Re: CascadingDropDown: onchange event/javascript after populate

    [quote user="ponkarthik"]main thing you should notice you can use static things only here..[/quote] Well, as I was talking about JavaScript and the onchange event I thought it was pretty clear, that I was talking about the client side code and not the server side code which publishes the values. But as you can see, I already solved my problem before your post (see above), so thanks anyway...
    Posted to ASP.NET AJAX Control Toolkit (Forum) by John.Doe on 11/17/2008
  • Re: CascadingDropDown: onchange event/javascript after populate

    OK, it took a lot of digging in the forum and a lot of testing, but I got it working. Sadly it does require a tiny change to the AjaxControlToolkit, that I will have to keep track of now during upgdates. 1) To the CascadingDropDownExtender (CascadingDorpDownExtender.cs) add the following property: [ DefaultValue ( "" )] [ Category ( "Behavior" )] [ ExtenderControlEvent ] [ ClientPropertyName ( "populated" )] public string OnClientPopulated { get { return ( string )(ViewState
    Posted to ASP.NET AJAX Control Toolkit (Forum) by John.Doe on 11/15/2008
  • Re: CascadingDropDown: onchange event/javascript after populate

    Sorry, I do not understand your answer/text... Let me describe the problems once more: - choose a value in drop down list 1 - drop down list 2 with a cascadingdropdown requests key/values depending on the selection in drop down 1 from a web service and populates them In IE and FF the population of new values on the drop down list 2 triggers the "onchange" event on that drop down list, in Chrome and Opera it does not. I was hoping that I could add an animation script or that there is some
    Posted to ASP.NET AJAX Control Toolkit (Forum) by John.Doe on 11/15/2008
  • Re: error in MicrosoftAjax.js: Cannot read property '_notified' of null

    After some more experiments I think the problem is, that Chrome is unable to load the javascript for the cascadingdropdown. In my page there is initially no drop down list and depending on the user action dropdownlists and cascadingdropdowns are created in an updatepanel. Once the first cascadingdropdown appears Chrome reports javascript errors. If I create a dummy cascadingdropdown that is initially visible on the page, everything works fine. Well, this seems to be the combination of a browser with
    Posted to ASP.NET AJAX UI (Forum) by John.Doe on 11/15/2008
  • CascadingDropDown: onchange event/javascript after populate

    Hi, I have multiple CascadingDropDowns on a page. In a special case the web service for populating the values returns just a key/value pair HIDE/HIDE, if I do not want to display the drop down depending on the other selections. I have javascript in the "onchange" of the dropdownlist which then sets the style.display to "none" or "". This works fine under IE6/IE7 and Firefox, however, the "onchange" event is not fired under Chrome or Opera 9.6. Is there any
    Posted to ASP.NET AJAX Control Toolkit (Forum) by John.Doe on 11/14/2008
  • error in MicrosoftAjax.js: Cannot read property '_notified' of null

    I am cross testing my project with multiple browsers: IE7, Firefox and Chrome. One one page I have a dynamically built table with two DropDownLists and CascadingDropDown extenders. Maybe the only thing special about the drop down lists is, that I add a "onChange" for the second drop down list in each row which shows or hides the list depending on the value populated from the web services. All of this works perfectly in IE7 and Firefox, but Chrome does not execute the JavaScript in the onChange
    Posted to ASP.NET AJAX UI (Forum) by John.Doe on 11/14/2008
  • Re: Instructions for using the TreeView adapter

    These notes are very helpful, however: I am using a TreeView in a CompositeControl implemented in a DLL. Adding the CSS Adapters to the project breaks the TreeNodeCheckChanged event. How do I add the adapted tree node event from the code behind?
    Posted to CSS Friendly Control Adapters (Forum) by John.Doe on 11/2/2008
  • CascadingDropDown - initial values from server

    I have a user control that displays multiple DropDownLists (can really be a lot) in the form: Row1: DropDownList1 -> CascadingDropDownList1 ->CascadingDropDownList1 Row2: DropDownList2 -> CascadingDropDownList2 ->CascadingDropDownList2 ... I create these controls in a loop like this: TableCell cellFunction = new TableCell(); row.Cells.Add(cellFunction); ExtendedDropDownList ddlFunction = new ExtendedDropDownList(); ddlFunction.ID = String.Format( "ddlFunction_{0}" , i); cellFunction
    Posted to ASP.NET AJAX Control Toolkit (Forum) by John.Doe on 10/18/2008
  • Re: ListView - no databinding for custom cotnrol without Eval

    I figured out my mistake: my custom control has to inherit from DataBoundControl
    Posted to Data Presentation Controls (Forum) by John.Doe on 9/30/2008
  • ListView - no databinding for custom cotnrol without Eval

    I must do something stupid, so I hope someone can point me to qhat I am doing wrong. I wrote a custom control, that is supposed to work only in a ListView.ItemTemplate and should pickup data and display it. The CreateChildControls method looks similar to this: void CreateChildControls() { object dataItem = (this.NamingContainer as ListViewDataItem).DataItem; if (dataItem != null) { // ... // add some controls and pickup the data from the dataItem } } in the markup it looks like this: < nv : ListView
    Posted to Data Presentation Controls (Forum) by John.Doe on 9/30/2008
Page 1 of 18 (175 items) 1 2 3 4 5 Next > ... Last »