Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
247 views
Hi,
Couple of out customers using Avast antivirus are reporting Trojan detected they are unable to use the site properly because of this.
We are using  version 2011.3.1115.40

I used following service(http://virusscan.jotti.org/en) to scan txt file with the js inside and "avast" and "g data" reported
JS:Blacole-AV
in the js content

I can send you the suspected js if needed.

Hope this is only false alert since only these two AV products report problems found?

Br
Joona
Ivan Zhekov
Telerik team
 answered on 28 Aug 2012
3 answers
154 views
Hi,

Our customer gets a message from their anti-virus program when they visiting our website with Telerik controls. More information below: 
Program: Avast
Malware name: JS:Blacole-AV
Type: Trojan Horse
From: Telerik.Web.Ui.Webresource.axd

I hope this is a false postive?
What should we do?

Kind regards,

Jelle
Iana Tsolova
Telerik team
 answered on 28 Aug 2012
2 answers
121 views
I have an ASP.NET image control in a templated column within RadGrid (lastest release)

I have been able to adjust the background color of the cell as shown in the code below. However, the client prefers that I use customized icons that would vary based on several data conditions.

I am hoping there is a way that I can access the ImageUrl property of the control in this cell.
 
Note that this control differs from my color-coding example quoted below, but I think that whatever statement I need would fit into that overall logic.

 

<telerik:GridTemplateColumn DataField="id"
    FilterControlAltText="Filter column column" HeaderText="Info"
    UniqueName="ID_column" SortExpression="id">
    <ItemTemplate>
           <asp:Image ID="targetControl" runat="server" ImageUrl="images/info16.gif" />
    </ItemTemplate>
Protected Sub Event_Grid_ItemCreated(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles Event_Grid.ItemCreated
    Dim Temp As String = Nothing
    Dim Event_Date As Date = Nothing
    Dim End_Date As Date = Nothing
    If TypeOf (e.Item) Is GridDataItem Then
        Try
            Event_Date = CDate(e.Item.DataItem("event_date_sort"))
            End_Date = CDate(e.Item.DataItem("end_date"))
            Dim gdi As GridDataItem = CType(e.Item, GridDataItem)
            If End_Date < Today Then
                gdi.Cells(2).BackColor = System.Drawing.Color.Silver
            ElseIf (End_Date >= Today) And (Event_Date <= Today) Then
                gdi.Cells(2).BackColor = System.Drawing.Color.PaleGreen
            ElseIf Event_Date < DateAdd(DateInterval.Month, 1, Today) Then
                gdi.Cells(2).BackColor = System.Drawing.Color.Yellow
            Else
                gdi.Cells(2).BackColor = System.Drawing.Color.WhiteSmoke   
            End If
            If e.Item.DataItem("type_code") = "x" Then
                gdi.Cells(2).BackColor = System.Drawing.Color.Tomato
            End If
        Catch ex As Exception
            'leave default shading
        End Try
    End If
End Sub

Tomica
Top achievements
Rank 2
 answered on 28 Aug 2012
0 answers
48 views
Hi!

How can I change the background color of the menu in css without using images or sprites, only with RGB codes?

The menu is always gray :( I can change the color when it is selected but the background and borders are always gray.

Thanks.
João
João
Top achievements
Rank 1
 asked on 28 Aug 2012
9 answers
197 views
Hi,

I am binding AutoCompleteBox  with my DB. In my table there are names like( xyz's company,robin's house etc.).
When i type x it shows me the name list but when i select the xyz's company i just got error because of single quotes.

Please help!!!!!!!!

Thanks in Advance.


 
Kalina
Telerik team
 answered on 28 Aug 2012
1 answer
69 views
I have a situation where I need to only allow the selection of items in a RadTreeList that the user is authorized to select.  I looped through the data and disabled all the dataitems that the user wasn't authorized to access and I thought everything was working fine until I clicked the checkbox in the header that is used to select all items.

Apparently, it's still marking all the "rows" as selected even though they are disabled.  I'm pretty sure this checkbox is javascript driven and I was able to capture the click via one of the client-side events, but I cannot find documented anywhere a javascript method/property that will allow me to determine if the item is enabled or not.  That way, I could just undo the selection.

This was fairly straightforward with a treeview control (which I cannot use for this particular data) because it had properties (eg get_enabled) that was accessible for that control, but doesn't appear to be available for RadTreeList

Any suggestions?  I need a solution quick because this is being raised as a stop-ship defect
Tsvetina
Telerik team
 answered on 28 Aug 2012
2 answers
58 views
Hi,

We are going to use wcf services to bind appointments in the calendar.

For this we have given

    <WebServiceSettings Path="CalendarService.svc" ResourcePopulationMode="ServerSide" />

Now we are using wcf service hosted inside our website.

So we want to know that whether we can use a webservice hosted separate in IIS? not inside our website?


Thanks,
Mahesh 
Genady Sergeev
Telerik team
 answered on 28 Aug 2012
1 answer
86 views
We have popup edit grid, In which we allow user to upload mulitple files. User can click any row in grid so that popup will appear and he can select multiple files. We have achieved this in our application. Howerver, we want user to view attached files after uploading but we could not succeed.

Can you please help us in this regard. Thanking you in advance.
Kostadin
Telerik team
 answered on 28 Aug 2012
1 answer
63 views
Is there a way to show/hide the scrollbar based on the RadPageView's length? Say I only want to see them when the content is longer than the page width.

Thanks,
Rut
Kate
Telerik team
 answered on 28 Aug 2012
2 answers
54 views
Hi,

I am using get_allNodes() and it appears to only return root and expanded nodes (it's not returning any children of collapsed parent nodes). At least, this is the count that nodes.length is giving me. Is this expected behavior?

Thanks,
Ted
Ted
Top achievements
Rank 1
 answered on 28 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?