Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views
What is the "correct" way to add an instance of RadWindowManager to DNN 5.2.x?

We want to have access to the functionality provided by RadWindowManager from several different instances of PortalModuleBase based user controls that may or may not exist on the same page (Tab), depending on user customization of the target site(s)

Best regards
Espen Harlinn
Georgi Tunev
Telerik team
 answered on 08 Feb 2010
2 answers
159 views
Hi,

I wish to reuse some of your gradient images etc from a certain skin (say Office2007), could you please describe (or point me to a guide) how I can go about locating a particular graphic I like.

i.e. say I like the gradient in the header of a radgrid? how can I get hold of it (or even simply reference it in my own css)

Thanks
Matt
Matt
Top achievements
Rank 1
 answered on 08 Feb 2010
2 answers
119 views

Hello,

my project work with dynamic column. If I add a GridBinaryImageColumn I can see it at the RadGrid. But if I start the Edit or the Insert I get an exception. In your documentation you insert javascript and _ItemCreated (…) function. I see a difference to add a GridBinaryImageColumn  to designtime and to runtime

GridBinaryImageColumnEditor editor = ((GridEditableItem)e.Item).EditManager.GetColumnEditor(“Upload”) as GridBinaryImageColumnEditor;

                        TableCell cell = (TableCell)editor.RadUploadControl.Parent; // add at rundtime = null

                        CustomValidator validator = new CustomValidator();

                        validator.ErrorMessage = "Please select file to be uploaded";

                        validator.ClientValidationFunction = "validateRadUpload";

                        validator.Display = ValidatorDisplay.Dynamic;

                        cell.Controls.Add(validator);

add function:

var gbic = new GridBinaryImageColumn();

            gbic.HeaderText = row.ShowName;

            gbic.ReadOnly = row.Edit; //true or false no difference

            gbic.DataField = row.ColumnName; //Upload

            gbic.UniqueName = row.ColumnName;

            gbic.ImageAlign = ImageAlign.NotSet;

            gbic.DataAlternateTextField = "Typ35";

            gbic.DataAlternateTextFormatString = "Image of {0}";

dataGrid.MasterTableView.Columns.Add(gbic);

 

 

(Add another column type it works)

Thanks for your help

(I see the same problem with a GridBinaryImageColumn (add at designtime) if ReadOnly = true and I AddNewRecord)

Veli
Telerik team
 answered on 08 Feb 2010
5 answers
254 views
Hi Team,

I searching desesperatly to return my arguments or other solution to return values from my RadWindow to my main page. I have used fine in last Q3 2008 but now I have tried many methods without solution using Q2.2009. I need urgently one solution using internal or other to fix this problem.
Using

OnClientClose

 

="clientClose" or other javascript including prototype if need

 


From open Radwindow
function OK_Clicked()  
            {  
                var oWindow = GetRadWindow();  
                //Get current content of text area  
                var oNewText = document.getElementById("myID").value;  
                var oNewText2 = document.getElementById("myID2").value;  
                oWindow.argument = oNewText + ";" + oNewText2;  
  
                oWindow.close();              
            }  
 

Main Page
function clientClose(window)  
                                                    {  
                                                        
                                                      //alert(window.argument);  
                                                     if (window.argument != null)  
                                                     {  
                                                       //alert("OnClientClose:" + window.get_name() + " argument:"   + window.argument);  
                                                         var oArea = document.getElementById("myField1");  
                                                         var oArea2 = document.getElementById("myField2");  
                                                       //split argument ";"  
                                                        var s=window.argument;  
                                                        var val=s.split(";");  
                                                        oArea.value = val[0];  
                                                        oArea2.value= val[1];  
                                                     }  
                                                    } 

Thanks.
Georgi Tunev
Telerik team
 answered on 08 Feb 2010
3 answers
113 views
I don't think this is an issue with the combobox, but it doesn't get hidden in IE7/8. It does in FF and Chrome. The list open up behind the  applet. Does anybody have an suggestions?
Tiberiu Saulean
Top achievements
Rank 1
 answered on 08 Feb 2010
1 answer
149 views
Hi,

I have a custom MOSS 2007 web part which uses a RadGrid bound to a LinqDataSource hitting a SQL DB. Everything works fine when running MOSS and SQL on the same machine, but when moving the webpart to an environment where those services reside on separate machines I run into the usual 'double-hop' issue. User on machine A authenticates to MOSS machine B; on machine B the web.config is set to impersonate; but those impersonated credentials cannot be sent to the last hop to SQL machine C.

I don't think I can get away with changing the impersonation account on the entire web application's web.config (web app is used for many, many other things than this one web part). I also don't believe getting Kerberos set up between the MOSS machine B and the SQL machine C would be acceptable for the target environment, but I'm investigating that approach just in case.

Suggestions on how this would typically be done? Best approach I've come up with so far is to:
1. Create a domain account login.
2. Grant that domain login the appropriate access on the SQL box.
3. Edit the DataClasses.designer.cs file to intercept the Get method for the table and wrap the 'return this.GetTable<tablename>();' with additional code to read in an encrypted username / password from the web.config, use them to impersonate the domain account, make the call, and then undo the impersonation.

Note that this requires editing an auto-generated file, which means having to deal with preventing re-generation so I don't lose the chnages, etc.

Any better approaches out there?

Thanks,

William
Tsvetoslav
Telerik team
 answered on 08 Feb 2010
11 answers
130 views
Hi

                In Hierarchical Data Binding child tab is not getting the theme applied.

Source code for aspx:

    <form id="form1" runat="server">
    <div>
    <telerik:RadScriptManager id="ScriptManager1" runat="server"></telerik:RadScriptManager>
    <telerik:RadTabStrip runat="server" Skin="Sunset" EnableEmbeddedSkins="true" EnableTheming="true" EnableEmbeddedScripts="true"  ID="RadTabStrip1"></telerik:RadTabStrip>
    </div>
    </form>

server side coding:

 Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
        If Not Page.IsPostBack Then
            For i As Integer = 1 To 4
                Dim rootTab As RadTab = New RadTab
                RadTabStrip1.Tabs.Add(rootTab)
                rootTab.Text = "Root Tab " & i

                For j As Integer = 1 To 4
                    Dim childTab As RadTab = New RadTab
                    rootTab.Tabs.Add(childTab)
                    childTab.Text = "Child Tab " & i & "." & j
                Next
            Next
            RadTabStrip1.SelectedIndex = 0
        End If
    End Sub


Please help me...





Yana
Telerik team
 answered on 08 Feb 2010
7 answers
269 views
I have created a grid which is to be displayed right-to-left. This grid has a pager item which should also be displayed right-to-left. Regardless of the 'dir' setting my numeric pager item is always displayed left-to-right (but right-aligned). I would like to know how to enforce RTL direction on the numeric pager item so that the numeric hyperlinks are displayed RTL.
I have created a simple page, shown below, which exhibits this behaviour.

Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %> 
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">  
<head runat="server">  
    <title>Numeric Pager RTL Test</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
      
    <div dir="rtl">  
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"/>  
          
        <telerik:RadGrid ID="RadGrid1" runat="server" PageSize="5" Skin="Vista" AllowPaging="True" ShowGroupPanel="True" Width="100%">  
            <PagerStyle AlwaysVisible="True" Mode="NumericPages" PageButtonCount="5" /> 
            <MasterTableView CommandItemDisplay="Top" Dir="RTL"/>  
        </telerik:RadGrid> 
    </div> 
    </form> 
</body> 
</html> 
 

Default.aspx.cs
using System;  
using System.Data;  
using System.Globalization;  
 
public partial class _Default : System.Web.UI.Page   
{  
    protected void Page_Load(object sender, EventArgs e)  
    {  
        System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-SA");  
 
        DataSet ds = new DataSet("NumericPagerDataSet");  
        DataTable dt = new DataTable("GridTable");  
        dt.Columns.Add("Id", System.Type.GetType("System.String"));  
        ds.Tables.Add(dt);  
 
        for (int i = 0; i < 10; i++)  
        {  
            DataRow dr = dt.NewRow();  
            dr.SetField("Id", i.ToString());  
            dt.Rows.Add(dr);  
        }  
 
        RadGrid1.DataSource = ds;  
        RadGrid1.DataBind();  
    }  
}  

The following demo: http://demos.telerik.com/aspnet-ajax/grid/examples/styles/righttoleft/defaultcs.aspx correctly displays the numeric pager hyperlinks right-to-left. I cannot see any obvious difference between my page and the Telerik demo.
I am using RadControls for ASP.NET AJAX Q3 2008.
Any help is greatly appreciated.
Dimo
Telerik team
 answered on 08 Feb 2010
1 answer
81 views
I bought You Program solution.

But I need to customizing your component.

For example, I could use proglam Skin (Office2007, Sunset, WebBlue etc.). but I want to customizing skin color.

Can I change you skin color?

If I could change it. How to change it??
Shinu
Top achievements
Rank 2
 answered on 08 Feb 2010
5 answers
174 views
Hi, 

I thought that telerik chart can support a series time graph. 
(for example, x axis is date/time(YYmmDD HH:MM) and y axis is Temperature).
Need to displace various room temperatures measured on the different time intervals in the same graph.
(let say, I have a data for .. 

Rm1.
___DATE____  __Temp__
091229 09:00    70
091229 10:00    71
091229 12:00    74
091229 13:00    72
.     .
.     .
.     .

Rm2.
___DATE____  __Temp__
091229 09:10    73
091229 10:20    74
091229 12:30    77
091229 13:20    76
.     .
.     .
.     .


Rm3.
___DATE____  __Temp__
091229 09:15    72
091229 10:10    73
091229 11:30    76
091229 13:20    76
.     .
.     .
.     .

Rm4.
.      .
.      .
.      .

my real data have less than 10mins various interval.  I need to display at least 6 month's information in one graph. 

So, does RadChart can support this?? 
I assumed that it can. But, I cannot be sure based on the evaluation version. 

Thank you for your supports in advance.

Ves
Telerik team
 answered on 08 Feb 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?