Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
43 views
JavaScript on Content Page:
function onRequestStart(sender, args) {
    currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
    currentUpdatedControl = "<%= rightPanel.ClientID %>";
    //show the loading panel over the updated control
    currentLoadingPanel.show(currentUpdatedControl);
}
 
function onResponseEnd() {
    //hide the loading panel and clean up the global variables
    if (currentLoadingPanel != null)
        currentLoadingPanel.hide(currentUpdatedControl);
    currentUpdatedControl = null;
    currentLoadingPanel = null;
}
 
function InitiateAsyncResults(argument) {
    var m = $find("<%=RadAjaxManager.GetCurrent(Page).ClientID %>");
    m.ajaxRequest(argument);
    return false;
}

Page Load on Content Page
RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);
manager.AjaxSettings.AddAjaxSetting(manager, rightPanel);
manager.ClientEvents.OnRequestStart = "onRequestStart";
manager.ClientEvents.OnResponseEnd = "onResponseEnd";
manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(manager_AjaxRequest);

Working great in Firefox, but is throwing an error in IE (error below).  I've added alerts into the JavaScript, to make sure it's finding the RadAjaxManager and the other controls and it is.  Again it's working fine in Firefox.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)
Timestamp: Wed, 16 Feb 2011 19:03:16 UTC


Message: Unknown runtime error
Line: 15
Char: 34921
Code: 0
URI: http://localhost:4445/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f68db6e-ab92-4c56-8744-13e09bf43565%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a9506cff2-3a86-46c5-b869-6ba1478f3c27%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc%3a24ee1bba%3af46195d3%3a1e771326%3aaa288e2d%3a19620875%3a874f8ea2%3a490a9d4e%3abd8f85e4

Any help or ideas would be greatly appreciated.
Vasil
Telerik team
 answered on 22 Feb 2011
2 answers
78 views
Hi all,

I have a page with RadDatePicker and RadGrid, etc.

Which all works fine without any issue.

Ok. While RadDatePicker is viewed, A column appears for Week Serial No without a heading.

Then it follows with S, M ,T, W, T, F and S. Many of the End Users are getting confused of it.

Need to insert a letter in the heading of Week Serial No.

Is there any option to Add or Insert.

Thank You.

-Anto
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 22 Feb 2011
4 answers
132 views
Hi..
When I open my WIndow I'm getting the following error... in the Telerik.UI DLL.... Any ideas?   Help.. thanks

}}

 

return b;

 

},getLocation:

 

function(t){if(t===document.documentElement){return new Sys.UI.Point(0,0);

 

}

 

if(Sys.Browser.agent==Sys.Browser.InternetExplorer){if(t.window===t||t.nodeType===9||!t.getClientRects||!t.getBoundingClientRect){return new Sys.UI.Point(0,0);

 

}

 

var B=t.getClientRects();

 

if

 

 

(!B||!B.length){return new Sys.UI.Point(0,0);

 

}

 

var j=B[0];

 

var

 

 

C=0;

 

Svetlina Anati
Telerik team
 answered on 22 Feb 2011
1 answer
189 views
I have a situation that I need some answers for please. I am working with the RadWindow control using the Contenttemplate. When my RadGrid is in EditMode, and user makes a selection from a contained dropdownlist, I would like to PopUp the RadWindow at that point showing user adding  options to help further filter data. When user clicks to close the Radwindow, I want to return to my EditMode RadGrid displaying the selected options in my RadGrid Textbox. 
 
My question is, how do I get my radwindow(content template) to display from codebehind.  

     <telerik:RadWindow ID="UserListDialog" runat="server" Title="Editing record" Width="250"  Height="536" KeepInScreenBounds="true" Modal="true"  Behaviors="Minimize, Move, Resize, Maximize" Left="580" Top="-8" EnableShadow="true">
 
 <ContentTemplate>
 
 <asp:Panel ID="PnlUserRoleList">
<asp:CheckBoxList ID="UserRoleCheckBoxList" runat="server" Width="60%" />
 <asp:Button ID="btnAddselected" Text="AddItems" runat="server" />
<asp:Button ID="btnCancel" Text="Cancel" runat="server" />
</asp:Panel>
 </ContentTemplate>
 
 </telerik:RadWindow>
Svetlina Anati
Telerik team
 answered on 22 Feb 2011
2 answers
145 views
Hi

Subject says it all really!

I have implemented a database provider based upon http://demos.telerik.com/aspnet-ajax/scheduler/examples/dbschedulerprovider/defaultcs.aspx and that is working fine.

But what I want to do is optimise this like in http://demos.telerik.com/aspnet-ajax/scheduler/examples/optimizedqueries/defaultcs.aspx

How do I get the rangestart, rangeend details of the scheduler into the provider?

Any help / suggestions appreciated.

Thanks
Andrew Wait
Top achievements
Rank 1
 answered on 22 Feb 2011
13 answers
197 views
i want to add number of days returned by combobox according to selection made with my date time picker,its giving me error,object type is not supprted in javascript,and while debugging its giving me object,object in alert box.

please help me
Rahul
Top achievements
Rank 1
 answered on 22 Feb 2011
4 answers
330 views
Hi team,

Table wizard have some styles predefied in one style selector like "telerik-re table1"(Table properties,CSS Class Layout).
How to change and add my custom styles in this dropdown ?

Regards
Rumen
Telerik team
 answered on 22 Feb 2011
1 answer
304 views
I'm working on studio vusl 2005 under. Net framework 2.0, also was working with the 2009 version of telerik, telerik updated version of 2010, 3, 1317, 20, but it generates error.

copy the dll found in the bin20 folder of telerk to the bin folder of my project as tambiene in the web.config I added the new version but it still generates the following error:


No se puede cargar el archivo o ensamblado 'Telerik.Web.UI, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' ni una de sus dependencias. La definición del manifiesto del ensamblado no coincide con la referencia al ensamblado. (Excepción de HRESULT: 0x80131040)


I have 2 days trying to fix this problem, moving and copying those dll from one side to another and now not to do, please help
Sebastian
Telerik team
 answered on 22 Feb 2011
1 answer
153 views
I am thinking about using ViewState compression with RadSessionPageStateCompression. I wonder what happens when a page that uses ViewState is open for so long that session expires and then some action causes a postback. Is ViewState gone with the session? I suppose this could lead to some crashes. Is there a way of prevent it?
Nikolay Rusev
Telerik team
 answered on 22 Feb 2011
1 answer
79 views
hi,

i need to export a single records detail to either a pdf file or an excel file.

i'm using the radgrid control and have used the edit form template to display detail information for a single record. i'd like to put the export button here and export only this record's data.

how can this be done?

thanks,
areen
Shinu
Top achievements
Rank 2
 answered on 22 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?