Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
385 views
Hi all,

I'am currently evaluating the Telerik ASP.NET AJAX Controls.
I'am missing the functionality to invoke a AJAX Request which should call a function in the codebehind class asynchronly by providing a callbackfunction. The codebehindclass should return a value and call the callbackclass i provided with the returnvalue.

This works with WebServices which i registered within the ScriptManager but i think there must also be posibillity to do this with the CodeBehind Class. I've seen som peoples doing this, by using the function:
private void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
 
//code to handle the generic AJAX request
}

But then i need to return the value by putting it into a hidden input field. Thats no solution for me because i have several asynchron requests.

I hope you can help me.

Thank you

Alex



Veli
Telerik team
 answered on 09 Jul 2009
3 answers
195 views
Hi There,

I'm wondering if anyone has attempted this before and can possibly point me in the right direction. I have a rather long list of company names and would like to be able to group them alphabetically, with the letter of the alphabet being the title for the group. So it would look something like:
A
ABC Company
Apple Company
B
BCD Company
Banana Company

Any ideas? I assume this would be a Custom GroupByExpression but I have very limited experience with the Telerik Grid (this is for a SItefinity project that uses the grid). Any help would be greatly appreciated!

Cheers,
Phill
Phill Hodgkinson
Top achievements
Rank 1
 answered on 09 Jul 2009
4 answers
177 views

Greetings,

I have a page that has a CheckboxList on it which needs to have tooltips also.  Seeing how CheckboxLists don't have that option, I decided to try using  a RadToolTip.  There is a problem though.  It causes an error.  Here is what I have thus far.

public void SetSelectedModules(DTOCoP cop)  
{  
            string url = BuildURL(Request.Url.ToString());  
 
            foreach (ListItem li in cblModules.Items)  
            {  
                var hit = (from a in cop.Modules where a.ModuleID == Int32.Parse(li.Value) select a).FirstOrDefault();  
                li.Selected = hit.Selected;  
                RadToolTip tip = new RadToolTip();  
                tip.RelativeTo = ToolTipRelativeDisplay.Element;  
                tip.Text = hit.Description;  
                tip.TargetControlID = li.Attributes["ID"];  
                tip.IsClientID = true;  
                this.cblModules.Controls.Add(tip);  
            }  

This is called during PageLoad, after setting the DataSource of the CheckboxList (cblModules).  The page loads fine till I click on one of the Checkboxes, in which I get an error saying "Input string was not in a correct format."  The only input I have is tip.Text, which receives a string.  If anyone has any ideas, or has a better way of instantiating a RadToolTip for a CheckboxList, I'll be thankful.  Thanks.

~Chad Johnson
Chad Johnson
Top achievements
Rank 1
 answered on 09 Jul 2009
3 answers
129 views
I have requirement to move copies of  docks from one zone to another zone. I did not get any demo example on telerik site.
please suggest me how to implement using dock components with some source code as early as possible.

Waiting for reply,

Rajeev Kumar
Pero
Telerik team
 answered on 09 Jul 2009
1 answer
114 views
hiya,

I need to be able to give the text a "wave" effect, ie the1st character begins at a specific height, then 2nd character a bit higher, the 3rd, a bit higher still, then the 4th char moves down to the same height as that of the 2nd, the 5th char to that of the 1st, then the 6th char moves down to BELOW the hight of the 1st...  etc.

Hope the above explanation makes sense.
Can it be done with the radRotator?

Many thanks,

yogi
Fiko
Telerik team
 answered on 09 Jul 2009
1 answer
92 views
Dear All

I have number of Sales representatives(Resources) getting from data base in the check box list,
i am unable to getting the differenct appointment colors of different sales representatives,

I want the different colors for different salesman

can you please suggest

regards

imtiyaz
Genady Sergeev
Telerik team
 answered on 09 Jul 2009
5 answers
339 views
Hi,

Since i've upgraded to latest version my website isnt working anymore (assembly problem)
So i checked my webconfig to change the version and publickeytoken  but i dont know
 wich version tu put in "Version" :

And wich string put into "PublicKeyToken"


Where can i find this? my telerik version is 2009.2.701

<add assembly="Telerik.Web.UI, Version=xxxxxxxx , Culture=neutral, PublicKeyToken=yyyyyyyyyyyyyyyyy />
Svetlina Anati
Telerik team
 answered on 09 Jul 2009
4 answers
206 views
Dear all,

I think I have understood the way to pass arguments back and forth between windows using an event.args object.

I do initialise my popup window this way (onload="Initialize()", etc) and retrieve my data when the page displays the first time and this is fine.

I want to keep my popup window on close so the second time I open it, there is nomore initialisation.

How can I force a "new" initialisation when I re-open my popup window?

I suppose I could get a reference to the popup RadWindow and call a javascript method that way but I am worried about synchronisation the first time.
How do I know that my popup window is ready to fire the extra javascript function?
Or, is it possible to know whether the popup window already exists before calling myRadWindow.Show()?

I hope I made sense...


Thanks
Eric
Top achievements
Rank 1
 answered on 09 Jul 2009
1 answer
134 views
Hello telerik team,

I got a kind of weird problem which I cant solve. My problem is when I upload a file it will be stored in the parent directory. So if I got a mapping structure like this.

==============
Root 
    Folder1
        Folder2
            Folder3  
==============  

And I want to upload a file in Folder3 the overrided StoreFile function gives a path like "~/Root/Folder1/Folder2". So I can never store the file in the right map.

The way I store files is in a byte array into the database.

Hope you guyes know a way to solve this?

Thanks in advance,
Jeroen Speldekamp
Fiko
Telerik team
 answered on 09 Jul 2009
1 answer
87 views
Hi Telerik,
when using Radeditors in Radpane, the Toolbar (mode="ShowOnFocus") scrolls with the scrollbar. Is there anything to mention?

Thanks and best regards,
Andreas
Rumen
Telerik team
 answered on 09 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?