Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
166 views
Hi,
I am getting following error in scheduler. 


Message: '0._preInitialized' is null or not an object
Line: 1144
Char: 1
Code: 0
URI: XXX/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2011.3.1115.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3acf16ab29-be3a-4761-9f9e-2c05ea68ff51%3a4c8be21a%3a650fdad%3aef9d9f4a%3aa51ee93e%3a59462f1%3a19620875%3a39040b5c%3af85f9819

This error is intermittent but frequent, I tried reproducing the error in a sample code, but the error is not reproducible there. Few things which might be helpful.
1. I am using the scheduler inside a usercontrol
2. This user control is loaded inside an updatepanel.
3. I am also using RadTooltipManager to show tooltips for appointment 
4. The user control has radajaxmanagerproxy which update the scheduler and tooltipmanager
5. This error usually comes when I try to navigate between views.

  The axd script which throws error is 

b.RadScheduler._preInitialize=function(p,o,m,k,l){var n=d("#"+p);
if(n[0]._preInitialized&&!$telerik.isIE){return;
}
Please let me know if this is a known issue or at least what this script is trying to do
Peter
Telerik team
 answered on 01 Feb 2012
1 answer
78 views
I am evaluating the controls and so far I absolutely love them!

I am not sure how to explain it so i will just show you.

Go to http://www.iytworldwide.com

From the top menu select | Master Files | Courses

Move your mouse over any of the text in the Description column (make sure you are over text) Double click the row (again make sure you are over text). A rad window should popup. Just click Save or Cancel. Note that ALL the text in all the rows grid become selected.

If you double click in an area where there is no text its fine.

How can I stop this?

Thanks.

Marin
Telerik team
 answered on 01 Feb 2012
2 answers
379 views
Installed "RadControls for ASP.NET AJAX" yesterday.

Went sort of smoothly.
Started on RadControlsAJAXCourseware Chapter 2 Navigation.
Got that to work OK i.e. Set the Skin property to "WebBlue". worked OK

So started a new project this morning.
When I drag a docklayout I get a popup about "A file name with 'Bin/Telerik.Web,UI.dll already exists. Do you want to replace.
Tried both Yes and No. Allows me to continue.

Then tried to select a skin and get an error about "no skin assmebly found"
The Solution Explore show in bin
Telerik.Web.UI.dll
Telerik.Web.UI.Skins.dll
Telerik.Web.UI.xml
Tried a complete deinstall and reinstall of Telerik AJAX , didn;t solve it.

I am sure that I could select skins yesterday.

Any ideas, have a trashed something ???
Jim

Rumen
Telerik team
 answered on 01 Feb 2012
2 answers
109 views
Hi
please consider this simple UserControl :
ASCX :
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="WebUserControl" %>
<telerik:RadUpload ID="up" runat="server"></telerik:RadUpload>
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />

C# :
    protected void Button1_Click(object sender, EventArgs e)
    {
        int c = up.UploadedFiles.Count;
        int i = up.InvalidFiles.Count;
    }
I always get 0 for both UploadedFiles , and InvalidFiles 
it seems this problem is in UserControls !!
have I done anything wrong
if no , can I fix the problem

Thank you for your feedback
reza
Top achievements
Rank 1
 answered on 01 Feb 2012
0 answers
89 views

Am using radgrid in which am binding my sp ... in my sp am using  dynaimic pivot 

Name  Block Name       Type    2012/1/1   2012/1/2 2012/1/3   till 31 for monthly status    ....total 

xyz      IT                   dom        1                  1            1                                                    3

abc      f.s                   dom        3                  3           3                                                     9

pqe      Finance            sea         4                  1           2                                                     7

how can i bind dynamic dates to rad grid please help me ..


telerik:RadGrid ID="grdBlock" runat="server" GridLines="None" AllowFilteringByColumn="True"
                                           
AllowPaging="True" AllowSorting="True" AutoGenerateColumns="True" ShowGroupPanel="True"
                                           
PageSize="25" OnNeedDataSource="grdBlock_NeedDataSource" Skin="Office2007" OnItemCommand="grdBlock_ItemCommand">
                                           
<GroupingSettings CaseSensitive="false" />
                                           
<ExportSettings HideStructureColumns="true" IgnorePaging="true" FileName="Block"
                                               
ExportOnlyData="true" OpenInNewWindow="true">
                                               
<Excel Format="ExcelML" />
                                           
</ExportSettings>
               
<MasterTableView>
                                               
<Columns>
                                                   
<telerik:GridTemplateColumn UniqueName="Block_Master_Id" SortExpression="Block_Master_Id"
                                                       
DataField="Block_Master_Id" Visible="false">
                                                       
<ItemTemplate>
                                                            <asp:Label ID="lblBlockId" runat="server" Text='
<%# Bind("Block_Master_Id") %>'>
                                                           
</asp:Label>
                                                       
</ItemTemplate>
                                                       
<ItemStyle HorizontalAlign="Center" />
                                                   
</telerik:GridTemplateColumn>
                                                   
<telerik:GridBoundColumn ItemStyle-HorizontalAlign="Center" UniqueName="Block_Name"
                                                       
DataField="Employee_Name" HeaderText="Employee Name" ReadOnly="true" SortExpression="Employee_Name">
                                                   
</telerik:GridBoundColumn>
                                                   
<telerik:GridBoundColumn ItemStyle-HorizontalAlign="Center" UniqueName="Block_Name"
                                                       
DataField="Block_Name" HeaderText="Block Name" ReadOnly="true" SortExpression="Block_Name">
                                                   
</telerik:GridBoundColumn>
                                                   
<telerik:GridBoundColumn ItemStyle-HorizontalAlign="Center" UniqueName="BlockType"
                                                       
DataField="BlockType" HeaderText="BlockType" ReadOnly="true" SortExpression="BlockType">
                                                   
</telerik:GridBoundColumn>

                                               
</Columns>
                                           
</MasterTableView>
                                     
                                       
</telerik:RadGrid>

Kshitiz
Top achievements
Rank 1
 asked on 01 Feb 2012
1 answer
250 views
I have a page with RadAjaxPanel and RadAjax Loading Panel.
I also have a modalpopup extnder with a RAdGrid inside it. Everytime i Page the radgrid,It take about six seconds to page(since page is quite heavy with dynamic cntrls) and in the mean time the loading panel falls behind the modal popup and not over it.
Is there an way to overlay the Modalpopupextender with the Loading panel while paging  etc?
Mira
Telerik team
 answered on 01 Feb 2012
1 answer
154 views

hi

how to call serverside textbox changed event from javascript client side
pls help..............
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Feb 2012
4 answers
167 views
I'm using a user control to insert new records into a grid. How can I control the sorting of the grid after the insert has completed?
Frank
Top achievements
Rank 2
 answered on 01 Feb 2012
1 answer
137 views

Hi,

I'm trying to create a menu item like the one in the mega dropdown example.

Mega Drop Down

I've added my own html code to one of my RadMenuItem elements which is working fine.

My only problem now is how i can remove the skined background (I'm using the WebBlue skin) and

replace it with a plane white background. The realy importent css classes used in the example 

(like "Products") unfortunately are not part of the source code.

Best regards

Martin Horst

Kate
Telerik team
 answered on 01 Feb 2012
0 answers
94 views
Hi

We have a page that we are updating the RadGrid control from telerik RadGrid classic to telerik RadGrid ASP.Net Ajax control kit.

This page has 2 grids registered to it.

The first grid binds the data on the server and returns a set of results. We then select items on this grid and pass the selected items to the second grid on the page to highlight to the user what items there are selecting against one of our containers.

Previously our code done the following (Updated with the latest Telerik client side api reference calls)

function AddToList(index)
	{
		var grid = $find('<%=grd.ClientID%>');    
		var Tick = grid.MasterTableView.get_dataItems()[index].get_element().getElementsByTagName('IMG')[0];
		var PlusMinus = grid.MasterTableView.get_dataItems()[index].get_element().getElementsByTagName('IMG')[1];
		var hid = grid.MasterTableView.get_dataItems()[index].get_element().getElementsByTagName('INPUT')[10];
		
		if (!IsRevoked(PlusMinus) && !IsStatic(PlusMinus))
		{
			hid.value = "true";
			grid.MasterTableView.get_dataItems()[index].get_element().style.backgroundColor = "#E2EFE1";
			Tick.style.display = "block";
			PlusMinus.src = "../icons/tree/GreyMinus.gif";
			
			ShowRow(index);
		}
	}
Our problem lies in the ShowRow(index) call at the end of the method:

function ShowRow(index) 
{
	var ChkBox = GetPickerGrid().MasterTableView.get_dataItems()[index].get_element().getElementsByTagName('INPUT')[1];
    ChkBox.checked = true;
 
    GetPickerGrid().MasterTableView.ShowRow(index);
}

ShowRow is not an object.

Could you please point me in the right direction as to what ShowRow has now been replaced with or an alternative solution to what I am trying to achieve?

Regards,
Jonathan
Jonathan
Top achievements
Rank 1
 asked on 01 Feb 2012
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?