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

Is it possible to build a notification panel message on the top of the page (see also attachment).

Cheers,
Jani
Brian Garson
Top achievements
Rank 2
 answered on 30 Sep 2011
1 answer
123 views
Hello,

I've been trying to make RadComboBox work in sharepoint 2010 for couple of hours but I always get the following error :  Unable to load file or assembly 'Telerik.Web.UI'

Error occur on the following line : <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

I've followed steps described here : http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html

Here is my usercontrol from my Visual webpart

<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Control Language="VB" AutoEventWireup="true" CodeBehind="Im3BottinVueSommaireUserControl.ascx.vb"
    Inherits="Vdq.Im3.Bottin.r0.Im3BottinVueSommaireUserControl" %>
<telerik:radcombobox runat="server" id="RadComboBox1" height="100px" enableloadondemand="true"
    showmoreresultsbox="true" enablevirtualscrolling="true" emptymessage="Type here ...">
    <webservicesettings path="http://localhost:53106/Service1.svc" method="GetData" />
</telerik:radcombobox>

In my web.config :

C:\inetpub\wwwroot\wss\VirtualDirectories\SITE\web.config

<SafeControl Assembly="Telerik.Web.UI, Version=2010.2.826.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="True" />
<SafeControl Assembly="Telerik.Web.Design, Version=2010.2.826.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" SafeAgainstScript="True" />


<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4"/>
    <bindingRedirect oldVersion="1.0.0.0-x.x.x.20" newVersion="x.x.x.35"/>
</dependentAssembly>
<dependentAssembly>
     <assemblyIdentity name="Telerik.Web.Design " publicKeyToken="121fae78165ba3d4"/>
     <bindingRedirect oldVersion="1.0.0.0-x.x.x.20" newVersion="x.x.x.35"/>
</dependentAssembly>
[...]
    </assemblyBinding>


See attached file for screenshot of both telerik dll in the GAC...

Any idea of what's wrong ?

Could you confirm if what i'm trying to achieve is possible ?

Thank you !

Samuel
Top achievements
Rank 1
 answered on 30 Sep 2011
2 answers
104 views
Hello,
I have an objectdatasource that populates a listbox. The objectdatarource select method requires two parameter (the PK of radgrid item).
When the Selecting event of objectdatasource is fired, I cannot access to current edit item, because edititems.count is =0. How can I retrive the primary keys of current edited row in this case?

THanks
Fabio Laserra
Top achievements
Rank 1
 answered on 30 Sep 2011
1 answer
127 views
How do I close the Insert/Edit Form when the Refresh Grid Button is clicked?

I should say I'm using EditFormType="WebUserControl"

Thanks for everyone's continued help.


Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Sep 2011
4 answers
450 views
I have some items in a database that are system items and I don't want users to be able to change them. Is there a way I can hide the GridEditCommandColumn and GridButtonColumn (delete) for specific rows only? e.g. I have 4 rows with a DayKeyName, ID, it's an identity field and I want to hide 1 and 2 but not 3 and 4.

I tried this but I think I'm missing something:
Protected Sub RadGrid_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid.ItemDataBound
        Dim Datakey As Integer = Nothing
 
        If TypeOf e.Item Is GridDataItem Then
            Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
            Datakey = item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("ID")
        End If
 
        Dim tableView As GridTableView = DirectCast(e.Item.OwnerTableView, GridTableView)
        Dim editColumndetail As GridEditCommandColumn = DirectCast(tableView.GetColumn("EditColumn"), GridEditCommandColumn)
 
        If Datakey = 1 Or Datakey = 2 Then
            editColumndetail.Visible = False
        Else
            editColumndetail.Visible = True
        End If
 
    End Sub

Thanks for you help!!
Chris
Top achievements
Rank 1
 answered on 30 Sep 2011
1 answer
72 views
Hello Community and Telerik,

I can't change the subject anymore ;-) It should read >> "set_selectedDate" resets "backColor"  << to make my point clearer ...

This is basically my code:

scheduler.set_selectedDate(app.get_start());
app.set_backColor("green");

Works for a single second or two and then "backcolor" gets cleared again ("set_selectedDate" returns?!?)

As far as I have found out, "set_selectedDate" performs an ajax-request which overrides the "backcolor" after "it returns from the server". Right?

How do I do it correctly?

How can I determine when "set_selectedDate" returns (any hook?) or set "backcolor" surviving that ajax-call/"light-weight-postback"?

Thanks a lot,
Gint
Ivana
Telerik team
 answered on 30 Sep 2011
13 answers
393 views
On our scheduler, in month view mode, when our user clicks on the "Today" link to jump to the current date, it is not readly visible which date is "Todays" date. The user wants to highlight the entire cell, perhaps by changing the background or something similar.

How can this be done. thanks
Peter
Telerik team
 answered on 30 Sep 2011
2 answers
131 views
Hi,

I implement in our soft the RadCaptcha object, and i have seen that the audio files are in English.
Is there a possibility to set the audio files in FRENCH ?

Thanks
Fabrice
Top achievements
Rank 1
 answered on 30 Sep 2011
1 answer
160 views
How can I save image editor with RadButton called save outside the image editor?
I have this function but dont know how to actually close the image editor after save happened and make save image display on Image1.ImageUrl......

function Save() 
        {
         var imageEditor = $find("<%=imageeditor1.ClientID  %>");
         imageeditor1.saveImageOnServer("", true);
......... //what can I put here?
}

Pero
Telerik team
 answered on 30 Sep 2011
4 answers
213 views
Good morning, everyone. I am having a problem with the Add New Record button when the project is being run from a test server. When I click the "Add New Record" button on the RadGrid the Ajax Loading panel appears but the application gets stuck and never moves past this stage. If I reload the page, though, and click "Add New Record" again, it works. Any ideas?
Pavlina
Telerik team
 answered on 30 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?