Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
166 views
HI,
    I have a radbinaryimage in grid view . When clicked on the image i need to redirect them to another page where it shows the image based on the query string passed.  Can any one suggest me how to do that....  I tried to put the radbinaryimage inside the asp link button. it worked for list view not in grid view.


Its URGENT

Radoslav
Telerik team
 answered on 02 Feb 2010
1 answer
131 views
I understand that the RadControls are said to support the 64 bit environment.  Does this mean they can be referenced in an application that is built to target x64 specifically and will run in a web application that is running under 64 bit mode (not legacy 32 bit mode)?

I do not have my environment available to test yet, so I am posing the question (will have it in a day or so).

Thanks!
Sebastian
Telerik team
 answered on 02 Feb 2010
5 answers
594 views

I am getting the below error, I have all the references in the references and also web.config but still the error persists. I tried cleaning the cache but no change, the error is still coming how to oversome it.

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0012: The type 'System.Web.UI.ScriptManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Source Error:


[No relevant source lines]

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\App_Web_selection.aspx.cdcab7d2.zu2jxu86.0.cs    Line: 187



C:\Varun> "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\assembly\dl3\0a240a6c\000e7706_f3e4c701\MySql.Data.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\assembly\dl3\c9f63f4d\a1be5b93_e5a3c901\AjaxControlToolkit.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\App_Web_a3cyqadh.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\assembly\dl3\aa6ad42e\00c60154_7494ca01\Telerik.Web.UI.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\assembly\dl3\0834427c\008c3c2c_2897c701\edtFTPnetPRO.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\assembly\dl3\610ee1a6\e810c48b_6c9fca01\iReach.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\assembly\dl3\220e9857\c111e991_e5a3c901\RadTabStrip.Net2.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /out:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\App_Web_selection.aspx.cdcab7d2.zu2jxu86.dll" /debug- /optimize+ /w:4 /nowarn:1659;1699;1701  "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\App_Web_selection.aspx.cdcab7d2.zu2jxu86.0.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\App_Web_selection.aspx.cdcab7d2.zu2jxu86.1.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.3053
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\App_Web_selection.aspx.cdcab7d2.zu2jxu86.0.cs(187,57): error CS0012: The type 'System.Web.UI.ScriptManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\assembly\dl3\aa6ad42e\00c60154_7494ca01\Telerik.Web.UI.DLL: (Location of symbol related to previous error)
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\App_Web_selection.aspx.cdcab7d2.zu2jxu86.0.cs(344,52): error CS0012: The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\35022879\15bb4e6e\assembly\dl3\aa6ad42e\00c60154_7494ca01\Telerik.Web.UI.DLL: (Location of symbol related to previous error)
Veselin Vasilev
Telerik team
 answered on 02 Feb 2010
1 answer
174 views
Hi, Has anyone out there tried to connect a CDN such as Rackspace Files with FileExplorer?  If anyone has done it, I would love to talk to you. Thanks.
Fiko
Telerik team
 answered on 02 Feb 2010
6 answers
130 views
Hi,

Out-of-the-box marking sorted columns (with special "up" and "down" icons) looks well but requires a lot of space (it is especially significant in the case of a narrow, icons only containing column). I would like to be able to sort columns but without any marking.
First, I've removed images:
div.RadGrid .rgHeader .rgSortDesc  
{  
  width0px;  
  height1px;  
  background-imagenone;  
(the same for rgSortAsc).
It works perfect under IE7 and Opera. But in this case, there is a button added (when the column is sorted in any direction); this button has its caption made of a single space character. It is perfectly invisible under these two browsers but under any other one it still occupies some additional space.
Important: I'm using the "Simple" skin.
Can I do anything to leave the header of the sorted column unchanged?

Best regards
Tomasz
Tomasz M.Lipiński
Top achievements
Rank 1
 answered on 02 Feb 2010
1 answer
103 views
Hi all.
I have a own server control which derive from RadGrid
public class MyGrid : Telerik.Web.UI.RadGrid{}

I want to render that control in the update panel (I don't want the postback to the server when e.g. I want to sort data in column).
How can i do that?

My code at this moment.
        protected override void CreateChildControls() 
        { 
            base.CreateChildControls(); 
            Control parent; 
            Control container; 
 
            ScriptManager sm = ScriptManager.GetCurrent(Page); 
 
            if (sm == null || !sm.EnablePartialRendering) 
            { 
                container = new Control(); 
                parent = container; 
            } 
            else 
            { 
                UpdatePanel up = new UpdatePanel(); 
                container = up.ContentTemplateContainer; 
                parent = up; 
            } 
 
            this.Controls.Add(parent); 
        } 
 
        protected override void RenderContents(HtmlTextWriter output) 
        { 
            EnsureChildControls(); 
             
           //parent.RenderControl(output); 
            base.RenderContents(output); 
        } 

[edit]
I'va found a RadAjaxManager control. Maybe this will be better for this solution than update panel, but still I don't know how to render my derived class with this control. I need this all in one dll file.
Łukasz Kuryło
Top achievements
Rank 1
 answered on 02 Feb 2010
1 answer
123 views
I have copied the demo code for the RadUpload control that you have on this site, with the remove button.

However, how do I intercept this remove event so that I can remove the image off the screen. Also what is the difference between remove and delete on the Rad control.

Regards

Robert Smith
Shinu
Top achievements
Rank 2
 answered on 02 Feb 2010
1 answer
139 views
I can create a GridHyperLinkColumn to invoke javascritp


<
telerik:GridHyperLinkColumn NavigateUrl="javascript:alert('test');" 
                             Text="Test" />  

Can I create a GridButtonColumn to invoke javascript?


<
telerik:GridButtonColumn ButtonType="ImageButton"   
                          UniqueName="SelectColumn" 
                          ImageUrl="App_Themes/SETheme/SESkin/Grid/MoveLeft.gif" 
                          Reorderable="false" 
                          Resizable="false" 
                          HeaderStyle-Width="25" /> 

which property should I set (...="javascript:alert('Test');") ?
Princy
Top achievements
Rank 2
 answered on 02 Feb 2010
5 answers
105 views
Hi

Is it possible to style only today's day in weekly view column header?
If so, please provide a sample.

Thanks much
Peter
Telerik team
 answered on 02 Feb 2010
7 answers
278 views
Hello,

I'm attempting to use the filterOnEnter functionality.  I can place a breakpoint in the filterOnEnter() function and verify that I am receiving the 'onkeypress' keycodes.  That is all of them except keycode=13 which of course is the 'Enter' key which is the keycode to fire the action.

    Protected Sub rgrdTickler_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles rgrdTickler.ItemCreated
        If TypeOf e.Item Is GridFilteringItem Then
            Dim filterItem As GridFilteringItem = TryCast(e.Item, GridFilteringItem)
            For Each col As GridColumn In rgrdTickler.MasterTableView.Columns    ' rgrdTickler.MasterTableView.RenderColumns
                ' I have set 'AutoPostBackOnFilter=True' to our filter columns
                If col.AutoPostBackOnFilter = True Then
                    'Get column name
                    Dim colName As String = col.UniqueName
                    'Get reference to filter textbox for column
                    Dim txt As TextBox = TryCast(filterItem(colName).Controls(0), TextBox)
                    If Not txt Is Nothing Then
                        txt.Attributes.Add("onkeypress", String.Format("filterOnEnter(this, event, ""{0}"", ""{1}"");", rgrdTickler.ClientID, colName))
                    End If
                End If
            Next
        End If
    End Sub

I have included my _ItemCreated function.  Is it possible to get C# demo code in VB?

Thanks.....
Iana Tsolova
Telerik team
 answered on 02 Feb 2010
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?