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.
Unfortunately, activation email could not send to your email. Please try again.

Render plain text in CallbackPanel and get values from that.

Thread ID:

Created:

Updated:

Platform:

Replies:

53789 Dec 20,2006 06:13 AM Dec 29,2006 08:37 AM ASP.NET Web Forms (Classic) 4
loading
Tags: Grouping
Dhiraj
Asked On December 20, 2006 06:13 AM

Hi,

I am using Custom Web Control in which I have used CallbackPanel and Depending upon values changed in DropDown I want to send values to that Custom Web Control and it does not have any Control.

The data is in plain format and I want to render it.

Please help

Thanks.


Administrator [Syncfusion]
Replied On December 26, 2006 09:10 AM

Hi Dhiraj,

I have attached a sample in which label control text is changed with HTML select control selected value using callback refresh event which is defined inside the web custom control.

Please refer the 'Composition1.cs' file for defining callbackpanel inside web custom control.

Please provide us more information regarding 'get values from callbackpanel'

CallbackwithCustomControl.zip

Thanks for using syncfusion products.

Regards,
Sureshsekaran.

Dhiraj
Replied On December 27, 2006 03:27 AM

Hi Sureshsekaran,

Thanks for sample code.

Suppose I have dropdown box and depending upon the value that I select from dropdown box the contents from the callback panel changes and when I click on that values in callback panel control then the contents from the page should also change.

Thanks and Regards,
Dhiraj K

>Hi Dhiraj,

I have attached a sample in which label control text is changed with HTML select control selected value using callback refresh event which is defined inside the web custom control.

Please refer the 'Composition1.cs' file for defining callbackpanel inside web custom control.

Please provide us more information regarding 'get values from callbackpanel'

CallbackwithCustomControl.zip

Thanks for using syncfusion products.

Regards,
Sureshsekaran.

Dhiraj
Replied On December 27, 2006 05:06 AM

Hi Sureshsekaran, To added measures, dropdown used is a .net dropdown control and when value chosen from the dropdown. The values now available in callbackpanel, these values are used in javascript and then those values are used to generate the one menu and now after clicking on these menu options new page is created. Sorry for your inconvenience but I am not able to get how should I render the menu generated at server side in callback panel since value assigned to label does not render the menu generated instead it shows the Html code of the menu Please guide me... Thanks.
Dhiraj

>Hi Sureshsekaran,
Thanks for sample code.
Suppose I have dropdown box and depending upon the value that I select from dropdown box the contents from the callback panel changes and when I click on that values in callback panel control then the contents from the page should also change. Thanks and Regards, Dhiraj K >Hi Dhiraj, I have attached a sample in which label control text is changed with HTML select control selected value using callback refresh event which is defined inside the web custom control. Please refer the 'Composition1.cs' file for defining callbackpanel inside web custom control. Please provide us more information regarding 'get values from callbackpanel' CallbackwithCustomControl.zip Thanks for using syncfusion products. Regards, Sureshsekaran.


Administrator [Syncfusion]
Replied On December 29, 2006 08:37 AM

Hi Dhiraj,

When the Menu is created dynamically (while the method to create the menu is called inside the CallbackRefresh event), an issues occurs, as it's script does not get registered,
which has been logged as an open issue. You can track the status at

http://www.syncfusion.com/support/issues/tools/Default.aspx?ToDo=view&questId=2977

Will update you with a sample once this issue is resolved.

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.

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.

;