Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
74 views
Hello,

In our application, we have a scenario where we need to handle multiple ajax postbacks executing in parallel. We have set "RequestQueueSize" of the Ajax Manager to 10 to accomplish this,

After doing so, We found a problem when we tested the scenario outlined below :

We have 2 combos(Say combo1 and combo2) on a page, both of which cause postbacks to populate different fields . We executed the following steps:

1. choose a value in combo1. Combo 1 posts back to fetch and populate related values on our page
2. change the selected value in combo1. While its postback is executing, choose a value in combo2.

On doing this we found both postbacks execute successfully. But After combo2's postback finishes executing, the state of combo1 is restored to what it was after step1 above.

Any help with solving this problem would be greatly appreciated.
Thank you
Maria Ilieva
Telerik team
 answered on 25 May 2011
1 answer
425 views
Hello,

I have an empty PanelBar in my aspx page and I want to fill it in the code behind.
I successfully fill the PanelBar with PanelItems but I don't understand how to build th HeaderTemplate and Contentemplate.
This work :
RadPanelItem myPanelItem = new RadPanelItem("First item")
myPanelBar.Items.Add(myPanelItem);

But when I try to add the headerTemplate like that :
RadPanelItem myPanelItem = new RadPanelItem("First item")
 
Button btn = new Button();
btn.Text = "Test";
myPanelItem.Header.Controls.Add(btn);
 
myPanelBar.Items.Add(myPanelItem);


Visual studio say that the Header is null and the header can't be instanciate.

So I try others way but nothing successfull
Is someone has any solution ?
Kalina
Telerik team
 answered on 25 May 2011
2 answers
395 views
Hi,

My problem is very simple. When I deleted a user from my grid, I want to call radConfirm (from RadAjaxManager) from the serverside and send some info to the callback js function, but I don't know how to pass variables into the radConfirm. I found this trick, but it only work if my radConfirm call come from a Js function, Like I said, my call come from the serverside. So, I tried to call a Js function from the serverside with the following code :

             string script = "<script language='javascript'> " +       
                                   "    jsFunction(" + myVar + ");" +
                                   "</script>";  
            
            Page.ClientScript.RegisterStartupScript(this.GetType(), "script ", script );

This seem to work, except that if I make a Telerik instruction in the jsFunction (like radconfirm), it doesn't work (Chrome's java
console said that I can't call radConfirm from undefined). 


So, may someone help me? How may I do it ?
Thank you

David
David
Top achievements
Rank 1
 answered on 25 May 2011
3 answers
447 views
Hi,
Whenever we set ShowExportToExcel/Csv/Pdf = true, in the command item settings, the buttons are displayed right corner, in my case top-right corner. I want to place the buttons on the top-left corner of the grid. Is there a way to achieve this?

Thanks.
Daniel
Telerik team
 answered on 25 May 2011
1 answer
93 views
I don´t know how long it will be available, but this is the most challenging #captcha I´ve ever found: http://bit.ly/votaxpiki

I figured it out the third time. Its really hard.
Pero
Telerik team
 answered on 25 May 2011
1 answer
113 views
Hello

I have deployed my asp.net 2 application that i developed in a 32bit environment to a 64 bit server.
IIS 7(Windows WebServer 2008 R2)

It worked fine until i set my application pool to enable 32bit applications to true, all telerik controls are now rendering incorrectly 
eg. The RadMenu is not rendering its children and the RadTabStrip isn't displaying

Regards
Kate
Telerik team
 answered on 25 May 2011
11 answers
199 views
I have a form inside a RadAjaxUpdatePanel, the form uses a custom buttom to preview data from the form. It does this using a javascript onclick event that is defined in a .js class in the custom project ( seperate from the form).  the .js file is registered like so:
 
            ClientScriptManager cs = this.Page.ClientScript;  
            Type rsType = this.GetType();  
            cs.RegisterClientScriptInclude("JobScript", cs.GetWebResourceUrl(rsType, "CareerCenter_Classes.JsScripts.Jobs.js"));  
 

The page shows that the script is registered (using IsClientScriptIncludeRegistered), However when I try to use the button, I get a javascript error "object expected".

I know the javascript code works, It only broke when I tried to ajax the page. does anyone know what I can do to fix this?
Radoslav Georgiev
Telerik team
 answered on 25 May 2011
1 answer
118 views
Hi, im using dynamic columns via pivots in my sql code..and binding those columns in my radgrid

how do i get totals for 'some' columns left to right and the total displayed into a new column name(total) and also getting totals top to bottom and displayed into a footer 

Thanks!
Pavlina
Telerik team
 answered on 25 May 2011
1 answer
151 views

Hi there

I am having issues with using the RadAjaxManager and the client events. I can only use the following 2:

OnRequestStart and OnResponseEnd

<telerik:RadAjaxManager ID="RadAjaxManager" runat ="server">
<
ClientEvents
OnRequestStart="startRequest" OnResponseEnd="endResponse">
</
telerik:RadAjaxManager
>

I need to use the following ClientEvents but they don't appear:

OnRequestSent and OnResponseReceived

Issue that is occuring is that upon an error occuring within the build and an exception being thrown doesn't invoke the OnResponseEnd="endResponse" and thus my function endResponse doesn't run


function endResponse(sender, eventArgs)
{
parent.enableTabs();
}

So I would like to use the onResponseRecieved so that even if an exception is thrown onResponseRecieved will still run a function

<
telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
<ClientEvents OnRequestStart="startRequest" OnResponseEnd="endResponse" OnResponseReceived="receiveResponse"/>
</telerik:RadAjaxManager >

function receiveResponse(sender, eventArgs)
{
parent.enableTabs();
}

I was wondering if it could be down to the Telerik.Web.UI.dll we are using as version is 2009.02.0826.20

Any responses or help are greatly appreciated!

Cori
Top achievements
Rank 2
 answered on 25 May 2011
3 answers
206 views
Per attached image, the grouped column headers should be moved 1 cell left each, so that they don't overlap with the grouped data (product in col D). I've tried to rectify this and seen some examples of kinda how to achieve this. However why is the default behaviour as shown. My users want to be able to sort etc by the group headers and the one that overlaps with the data can't be sorted etc. It's almost as if this is a bug in the control. I can't think of any good reason why the last group header would be aligned with the first data column when exporting to excel.
Daniel
Telerik team
 answered on 25 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?