Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
131 views
hi,
i have radgrid.i use nvarchar for dataype of which i trying to show with radgrid.i change width but i cant fix it.also i use DataFormatString="<nobr>{0}</nobr>" .it looks like this.
Dimo
Telerik team
 answered on 26 Nov 2009
5 answers
102 views
Hello,
I open a modal RadWindow whose internal aspx page use a div with an image as background. On this page I use also a RadFormDecorator applied on all the controls.

I have two problems:
1) When open for the first time it's all ok but when I close it and then I reopen it, the RadWindow has a "corrupted" appearance.
In particular the characters appear modified, as they were plotted without any antialiasing. You can see this behavior in the attached image file in 1A (first time) and 1B (second time open). I have also set the property  ReloadOnShow  to true on this RadWindow.
2) On the page shown inside the RadWindow, when I select something on a combobox and this provokes an ajax update of the form, when updated it seems that the combobox has no text inside it but when passing over this combobox with the mouse, the selected text appears. You can see this effect on the attached image on 2A and 2B figures.

Thanks for any help in solving these problems.
Georgi Tunev
Telerik team
 answered on 26 Nov 2009
2 answers
230 views

Hi,
I would like to see and use the old- and new values of the Items when the following functions are raised:
RadGrid1_ItemInserted(object source, GridInsertedEventArgs e)
RadGrid1_ItemUpdated(object source, GridUpdatedEventArgs e)
RadGrid1_ItemDeleted(object source, GridDeletedEventArgs e)
The reason is that the administrator wants to keep track of all changed data, true an email. By viewing wich data exactly has changed, inserted or Delete (firstName).
(FirstName, LastName, Email, Position,)


Something like this below:
if (Convert.ToString(old_values[key]) != Convert.ToString(new_values[key]))



I found different solutions but didn't quit cover the challenge I encounter:
Link1
Link2
Link3
Link4

Thanks,

Idar




Idar Sprock
Top achievements
Rank 2
 answered on 26 Nov 2009
1 answer
118 views
Does RadChart support funnel type?
Giuseppe
Telerik team
 answered on 26 Nov 2009
1 answer
157 views

Hi,

I am trying to add a RadGrid to GridTemplateColumn in GridTableView  . But it doesn't show up. Below is the code snippet. Am I missing something.

Thanks,
Gijo Joseph.





                            GridTableView tableView = new GridTableView(radGrid1);  
 
                            if (lastAddedDetailTable.ID == "RadGrid1")  
                            {  
                                radGrid1.MasterTableView.DetailTables.Add(tableView);  
                            }  
                            else  
                            {  
                                ((GridTableView)lastAddedDetailTable).DetailTables.Add(tableView);  
                            }  
 
                            //tableView.ItemsCreated += new GridItemEventHandler(radGrid1_ItemCreated);  
                              
                            //tableView.Width = Unit.Percentage(100);  
                            //tableView.Font.Bold = true;  
                            //tableView.BorderWidth = 2;  
                            //tableView.BorderColor = System.Drawing.Color.Red;  
 
                            if (filterElement.Attribute("parameters") != null)  
                                tableView.Name = filterElement.Attribute("parameters").Value;  
 
                            if (filterElement.Attribute("dataKeyNames") != null)  
                                tableView.DataKeyNames = filterElement.Attribute("dataKeyNames").Value.Split(',');  
 
 
 
                            string[] columnNames = filterElement.Attribute("columns").Value.ToString().Split(',');  
 
                            foreach (string columnName in columnNames)  
                            {  
                                GridBoundColumn boundColumn = new GridBoundColumn();  
                                tableView.Columns.Add(boundColumn);  
                                colName = columnName;  
                                if (colName.Contains("[F]"))  
                                {  
                                    boundColumn.Visible = false;  
                                    colNamecolName = colName.Substring(0, colName.IndexOf("[F]"));  
                                }  
                                boundColumn.UniqueName = colName;  
                                boundColumn.DataField = colName;  
                                boundColumn.HeaderText = colName;  
                                boundColumn.HeaderStyle.Font.Bold = true;  
                            }  
 
                            GridTemplateColumn templateColumn = new GridTemplateColumn();  
                            tableView.Columns.Add(templateColumn);  
                            templateColumn.ItemTemplate = new GridTemplate(filterElement.Attribute("name").Value); 
using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Text;  
using System.Web.UI;  
using Telerik.Web.UI;  
 
namespace Data.Reports  
{  
    public class GridTemplate : ITemplate  
    {  
         protected RadGrid childGrid;     
         private string colName;  
         public GridTemplate(string cName)  
         {  
             colName = cName;  
         }  
 
         public void InstantiateIn(System.Web.UI.Control container)  
         {  
             childGrid = new RadGrid();  
             childGrid.ID = colName;  
             //childGrid.NeedDataSource +=new GridNeedDataSourceEventHandler(childGrid_NeedDataSource);  
             childGrid.DataSource = DBClass.GetDataSP(Grid.referencePath, null);      
             container.Controls.Add(childGrid);  
 
         }  
 
         public void childGrid_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)  
         {  
             childGrid.DataSource = DBClass.GetDataSP(Grid.referencePath, null);      
         }  
    }  
Mira
Telerik team
 answered on 26 Nov 2009
1 answer
83 views
Hello All,

I've searched the examples/forums, but I've been beating my head against a wall for the last four hours trying to figure out how to remove the Full-Screen Button & Custom Links from an editor. As far as Custom Links are concerned, I removed the links section from my ToolsFile, but I'm still not having any luck (aside from the fact that now custom links is blank, but the field is still there. What might I be missing?

Incidentally, I'm using ver: 2008.3.1125.35

Thanks,

Brandon Osborne
Dobromir
Telerik team
 answered on 26 Nov 2009
1 answer
125 views
Hi,

Is it possible to release the source code for the visual style builder?  It would be a nice application to use to help learn Silverlight.

Richard
Paul
Telerik team
 answered on 26 Nov 2009
5 answers
153 views
I have switched the RadAjaxManager to the MasterPage and added the RadAjaxManagerProxy to the custom control.  My problem is when I use the find method it is no longer anymore.  I am not sure what I am dong wrong here.


function refreshDependantsGrid(arg)
{
    if(arg=='')
         $find("<%= RadAjaxManager1.GetCurrent(this.Page).ClientID %>").ajaxRequest("Grid1Rebind");
    else
         $find("<%= RadAjaxManager1.GetCurrent(this.Page).ClientID %>").ajaxRequest("Grid1RebindAndNavigate");
}
function refreshCommentsGrid(arg)
{

    if(arg=='')
         $find("<%= RadAjaxManagerProxy1.ClientID %>").ajaxRequest("Grid2Rebind");        
    else
         $find("<%= RadAjaxManagerProxy1.ClientID %>").ajaxRequest("Grid2RebindAndNavigate");        
}   

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
        <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="RadGrid2" />
            <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
        </UpdatedControls>
    </telerik:AjaxSetting>
....
Pavlina
Telerik team
 answered on 26 Nov 2009
3 answers
153 views
I have a listbox with checkboxes.  When I disable it in the code-behind it disables correctly in IE but in Firefox it's still fully enabled.  I don't receive any javascript errors.  Has anybody else run into this issue?  I have version 2009.2 826 of the Telerik Ajax controls.

Thx.
Paul
Telerik team
 answered on 26 Nov 2009
7 answers
331 views
My company upgraded to RadControls for ASPNET Ajax Q2 2009  from RadControls for ASPNET Ajax Q3 2008 and now I get the error 'Could not load file or assembly 'Telerik.Web.UI.dll' or one of its dependencies. The system cannot find the file specified.'  for every Telerik control in the VS Solution. Since then I have uninstalled Q2 2009 version and the Q3 2008 version, deleted the .Net cache files and all references in the web.config file. Restarted my dev system and reinstalled 2008 Q3. Same error for every Telerik control in the project. The one thing that makes it work is to change all references in the registration of the Telerik.Web.UI tagPrefix from 'telerik' to something else.

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="tel" %>

and then change all of the controls' prefixes. This makes it work but not really a fix. (Other developers work on the same projects)

 


Does anyone have any suggestions? 
Pavlina
Telerik team
 answered on 26 Nov 2009
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
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
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?