Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:664534
More Search Options
RSS Available
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 »
Channel 10:
Faster Solid State Drives for Windows 7 Arrive
ASP.NET:
Death to confirmation dialogs with jquery.undoable
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online