This is a migrated thread and some comments may be shown as answers.

How to pass more than one parameter

2 Answers 98 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 1
Gabriel asked on 12 Aug 2008, 09:24 PM
I wish to pass more than one parameter to AJAXUPDATE meteode but value only alows me to pass strings there is any way i can pass more than one param.

Like in mu aplication i wish to pass the clientID and the viewerID there is any way i can do that?

thank you

Gabriel

2 Answers, 1 is accepted

Sort by
0
Accepted
Sophy
Telerik team
answered on 13 Aug 2008, 04:26 PM
Hi Gabriel,

You are right. Only one string parameter can be passed to the ToolTipManger per target control. However, you could pass the needed values as a string separated by semicolons, for example, and retrieve their values afterwards splitting the string, e.g.:
Set the desired values separated by semicolons 
string val = "string1;string2";  
pass the string to the AjaxUpdate method and retrieve all the values afterwards
string[] strings = args.Value.Split(';');  
If you have any other questions, do contact us again.

Best regards,
Sophy
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Gabriel
Top achievements
Rank 1
answered on 13 Aug 2008, 06:01 PM
Thanks for the support.

you helped me a lot.

But you guys shoud considere using a string[] inted os a string in the value in the next version of the component
Tags
ToolTip
Asked by
Gabriel
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Gabriel
Top achievements
Rank 1
Share this question
or