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

Does CDN support needs the .NET 3.5 SP1 ?

Our hosting server seems to not have SP1 installed and we got this error wich we doesn't have in DEV environment with SP1 :

Erreur du serveur dans l'application '/'.

Impossible de charger le type 'System.Web.UI.ScriptReferenceBase' à partir de l'assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Description : Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

Détails de l'exception: System.TypeLoadException: Impossible de charger le type 'System.Web.UI.ScriptReferenceBase' à partir de l'assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Erreur source:

Une exception non gérée s'est produite lors de l'exécution de la demande Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.

Trace de la pile:

[TypeLoadException: Impossible de charger le type 'System.Web.UI.ScriptReferenceBase' à partir de l'assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
   Telerik.Web.UI.TelerikCdnService.ResolveScriptReference(ScriptReference script) +0
   Telerik.Web.UI.RadScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) +92
   System.Web.UI.ScriptManager.RegisterScripts() +173
   System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +107
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8698462
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029


Thanks for your answers.
Mab

Mab CV
Top achievements
Rank 1
 answered on 21 Mar 2010
6 answers
165 views
Hi ,

How is it possible on client side dynamically change rotator content ? 

for example, when user clicks a button, I want to make an AJAX call to a web service ,and bind a results to rotator . 

Thanks 
MOD MOD
Top achievements
Rank 1
 answered on 20 Mar 2010
2 answers
123 views
HI,

I have used telerik treeview control.
Tree view is dynamically created, which depend on database values.
I have set multiselect property to "false".
Its working fine with single Tree view but when I display  more than one instance of tree view multiple selection is possible which is confusing to the user.I want only single node to  be clicked by the user.
I have attached image showing multiple selection.
I want one node to be selected at a time.
How can I achieve this ? Please suggest me.
 
Thanks.
Rahul Khinvasara
Top achievements
Rank 1
 answered on 20 Mar 2010
1 answer
116 views
I'm not sure if this is a bug as I didn't have time to properly investigate.  I used the upgrade wizard to download the latest version (q1 2010).  It found the new version, downloaded, and extracted.  The problem was Q1 2010 wasn't listed as one of the version choices to upgrade to.  If you don't want to download it again, the files are downloaded and extracted to %appdata%\Telerik\Updates.  I just hit browse in the select version screen.  The upgrade wizard has always worked better for me (seems to manage the vs toolbox better) so I was glad to get this working.  Hope this helps others.
Erjan Gavalji
Telerik team
 answered on 20 Mar 2010
4 answers
264 views
Hi,

I have one problem with Line Chart.
i want to display a status of some network connections with Line Chart. meanse connected a between a stations.
now, i want to display like that

station1 ---------------station2--------------------------station3

with a diffrent color of line. like station1 to station2 is in red color because connection is lost .while station2 to station3 is green line beacuse connection is exits.

so, what should i do for that. and please suggest me which chart i need to use other than Line Chart.

please see attached image.


ciskomisko
Top achievements
Rank 1
 answered on 20 Mar 2010
6 answers
250 views
So, here is the code to use needdatasource event, but it seems nothing happen after I expand the sub-category
P.S.: I have changed the sql object to oledb

Code-Behind
Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource 
        Dim cmd As New SqlCommand 
        cmd.CommandText = "SELECT * FROM Products where CategoryID = @CategoryID" 
        RadGrid1.DataSource = GetDataTable(cmd) 
    End Sub 
 
    Public Function GetDataTable(ByVal query As SqlCommand) As DataTable 
        Dim ConnString As String = ConfigurationManager.ConnectionStrings("DBMXCatePro").ConnectionString 
        Dim conn As SqlConnection = New SqlConnection(ConnString) 
        Dim adapter As SqlDataAdapter = New SqlDataAdapter 
        query.Connection = conn 
        adapter.SelectCommand = query 
        Dim table1 As New DataTable 
        conn.Open() 
        Try 
            adapter.Fill(table1) 
        Finally 
            conn.Close() 
        End Try 
        Return table1 
    End Function 


ASP Mark Up:
<asp:AccessDataSource ID="AccessDataSource1" runat="server"  
            DataFile="~/App_Data/dbmx_with_category.mdb"  
            SelectCommand="SELECT * FROM [Categories] where isDelete = false"></asp:AccessDataSource> 
        <asp:AccessDataSource ID="AccessDataSource2" DataFile="~/App_Data/dbmx_with_category.mdb"  
        SelectCommand="SELECT * FROM [Products] where CategoryID= ? and IsDelete=false" runat="server">  
                   <SelectParameters>  
                       <asp:Parameter Name="CategoryID" Type="Int32" />  
                   </SelectParameters>  
        </asp:AccessDataSource>  
        <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateDeleteColumn="True"  
            AutoGenerateEditColumn="True" DataSourceID="AccessDataSource1" GridLines="None"> 
<MasterTableView AutoGenerateColumns="False" DataKeyNames="categoryID"  
                DataSourceID="AccessDataSource1" HierarchyLoadMode="ServerBind"> 
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
    <SelfHierarchySettings KeyName="categoryID" ParentKeyName="categoryParentID" /> 
    <Columns> 
        <telerik:GridBoundColumn DataField="categoryID" DataType="System.Int32"  
            HeaderText="categoryID" ReadOnly="True" SortExpression="categoryID"  
            UniqueName="categoryID"> 
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="categoryTitle" HeaderText="categoryTitle"  
            SortExpression="categoryTitle" UniqueName="categoryTitle"> 
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="categoryIcon" HeaderText="categoryIcon"  
            SortExpression="categoryIcon" UniqueName="categoryIcon"> 
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="categorySequence" DataType="System.Int32"  
            HeaderText="categorySequence" SortExpression="categorySequence"  
            UniqueName="categorySequence"> 
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="categoryParentID" DataType="System.Int32"  
            HeaderText="categoryParentID" SortExpression="categoryParentID"  
            UniqueName="categoryParentID"> 
        </telerik:GridBoundColumn> 
        <telerik:GridCheckBoxColumn DataField="isDelete" DataType="System.Boolean"  
            HeaderText="isDelete" SortExpression="isDelete" UniqueName="isDelete"> 
        </telerik:GridCheckBoxColumn> 
    </Columns> 
</MasterTableView> 
        </telerik:RadGrid> 

louis chan
Top achievements
Rank 1
Iron
 answered on 20 Mar 2010
1 answer
154 views
Hi,
I am facing a small problem. I have multiple tabs created dynamically and i want to scroll over the tabs created.
I am using this code as below. When i keep the mouse near the arrow (to scroll over tabs) ,the arrow and the Tab Text overlaps. Its kind of i cant read the tab text.  
 <telerik:RadTabStrip ID="PSPPreviewRadTabStrip" runat="server" EnableAjaxSkinRendering="true"
                    EnableViewState="true" EnableEmbeddedScripts="true" ScrollChildren="True" PerTabScrolling="true"
                    ScrollButtonsPosition="Middle" DataTextField="SectionName" DataValueField="SectionID"
                    ClickSelectedTab="true" OnTabClick="PSPPreviewRadTabStrip_TabClick" OnClientTabSelecting="OnSelecting">
</telerik:RadTabStrip>     

Please let me know solution if there is any way to avoid this?
Can anyone pls reply to this problem ? Thanks in advance
chiranth
Top achievements
Rank 1
 answered on 19 Mar 2010
4 answers
132 views
Hello,

I installed the Q1 2010 controls and I'm having a strange issue.  Every time I add a Telerik control on a web form, it creates the necessary assembly code at the top of the form.  Like so:

<%@ Register assembly="Telerik.Web.UI, Version=2010.1.216.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %> 

The only problem is this is the wrong version of the controls I'm using.  I'm using the .NET 4.0 controls and the code should actually be this:

<%@ Register assembly="Telerik.Web.UI, Version=2010.1.309.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %> 

The difference being the version information.  Why would it act like I'm using .NET 3.5 when I am clearly using 4.0 and when the project was created it was created as a 4.0 project?  The toolbox even displays the correct controls as being 4.0.  For now, I'm going into the code and changing the assembly to correct the version, but ANY time I make a change to a control on the design surface it adds the 3.5 assembly code in addition to my 4.0 assembly code already there.  It is slowing me down quite a bit.  Can someone help me fix this?

Thanks for any help,
Heath Brown
Heath Brown
Top achievements
Rank 1
 answered on 19 Mar 2010
11 answers
127 views
Perhaps someone could explain something very basic to me.

Last week I had a lot of trouble getting an application running after trying an update.  After about three days and reading untold postings I managed to get it back to where it was working.

This morning i created a new RadControls VB.NET Webapplication.  I opened the default.aspx and am getting the "could not load file or assembly....".  So a brand new Radcontrols Web Application does not even work.  And on top of that the application that I spent three days getting work again is now not working again.

What the heck is going on!
Erjan Gavalji
Telerik team
 answered on 19 Mar 2010
19 answers
441 views
First thing that jumped out at me... a Vista Skin... and the old-style menubars.

A RibbonBar might be something to consider in the next upgrade ??
Rumen
Telerik team
 answered on 19 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?