We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GenericDropDown and CallBack Panel event

Thread ID:

Created:

Updated:

Platform:

Replies:

55616 Feb 1,2007 04:57 PM UTC Feb 2,2007 09:27 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On February 1, 2007 04:57 PM UTC

Hi,

I am using GenericDropDown Control with TreeView. I am adding content to the Treeview dynamically from an Oracle database. On the same page, I have a calendar control inside a callbackPanel. When the user selects an entry from the TreeView inside the GenericDropDown control, I want to get the key (or value) selectedNode info from the Treeview. This value is used to get data from the database to populate the calendar control.
I added this in the page_load event.

this.GenericDropDown1.Attributes.Add("OnChange", "getSelectedIndex('Show');return false;");

and here is the javascript:

function getSelectedIndex(param)
{
__sfCallbackPanel4.callback(param);
}
On the callbackPanel around the calendar control I have the
OnCallbackRefresh="CallbackPanel4_CallbackRefresh"

When I select from GenericDropDown Control, the CallBackPanel event is not getting fired.

Any help would be great!!

Thanks,

Rekha


Administrator [Syncfusion]
Replied On February 2, 2007 09:27 AM UTC

Hi Rekha,

Attached is the sample as per your requirement.

http://www.syncfusion.com/Support/user/uploads/GenericDropDown-CallBackPanel_dc334ff2.zip

GenericDropDown Control has an property 'ClientSideOnTextChanged' which executes the ClientSide event when
the text value of the GenericDropDown Control is changed. In this sample this event is used to call the Callback function that changes the text value of the DropDownCalendar control based on the TreeView node selected.

Please let us know if you have any further queries.

Regards,
Valli.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;