Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
155 views
I'm having an issue using the SQL DBContent Provider for my files.
The structure is a follows:

root/100/   (View) no (Upload nor delete)
root/100/Supporting documents  (Upload and delete)

// Binding the Radfile explorer
RadFileExplorer1.Configuration.ContentProviderTypeName = typeof(DBContentProvider).AssemblyQualifiedName;
RadFileExplorer1.Configuration.ViewPaths = new string[] { "ROOT/" + id };
RadFileExplorer1.Configuration.UploadPaths = new string[] { "ROOT/" + id + "/Supporting Documents" };
RadFileExplorer1.Configuration.DeletePaths = new string[] { "ROOT/" + id + "/Supporting Documents" };

But it does not work any reason why?
Furthermore, the look is very different on IE7 and Firefox. On FF it shows the menus disable but on IE7 look enable but actually they are not working.

Vessy
Telerik team
 answered on 22 Jan 2013
2 answers
96 views
Hi,

I am trying to incorporate the RadColorPicker control to one of our pages.  But when I did so, the page would not load.  When I remove the reference, the page loads as expected.  I tried adding it in the codebehind page via .Controls.Add() and the behavior is the same.  

Additionally, I viewed the browser markup source, and it's blank.  (seems like not a single character was pushed to the browser).

I can't seem to find this issue anywhere else.  Does this problem sound familiar or has been reported before?

Thanks,
Dino
Slav
Telerik team
 answered on 22 Jan 2013
1 answer
91 views
I'm using an older version of the Telerik ASP.NET AJAX controls, but have some problems:

- Typing in a ComboBox does not jump down to the appropriate entry in the list in IE8+ or Chrome (e.g. typing "s" doesn't select the first name beginning with S).
- The Save button on the toolbar of a RadMultiPage control doesn't work in IE9 (clicking it just goes to #). No errors/warnings in the console.

I am using version 2008.2.826.20 which is obviously quite old. I don't want to have to buy an entire new version for this project, is there a bug fix version I can get? Thanks.
Kate
Telerik team
 answered on 22 Jan 2013
1 answer
115 views
Hi..

My folder structure is based on nodes and not physical folders.
I have noticed that when I setup FileExplorer using Folder node, the CreateNewFolder  functionality is not visible, but if I try using FileExplorer for Physical folders, CreateNewFolder   is visible.

Any idea how I can enable CreateNewFolder   for my scenario, that is with node folders?

I think someone(Shaun Peet) here: http://www.telerik.com/community/forums/aspnet-ajax/file-explorer/i-had-to-build-my-own-because.aspx#793543 asked for this functionality back in 2008, has this been made possible yet now in 2013? (I guess no since I'm having this issue)

Thanks!
Khayrattee
Top achievements
Rank 1
 answered on 22 Jan 2013
1 answer
118 views
Hello:

I'm having an issue after updated my applications to the latest telerik dll, 

If im Using Client setting AllowRowSelect true, when I edit a row I cannot click on the text boxes, is this a bug or i have to do something extra in order to keep everything working.

My grid configuration looks like this

<telerik:RadGrid runat="server" ID="gv"
PageSize="10" Skin="Office2007"
AllowSorting="true" AllowMultiRowSelection="true" AllowPaging="True" ShowGroupPanel="false"
HeaderStyle-HorizontalAlign="Center"
AutoGenerateColumns="false" AllowAutomaticDeletes="false" AllowAutomaticInserts="false" AllowAutomaticUpdates="false"
OnNeedDataSource="gvNeedDataSource" OnRowDrop="gvRowDrop"
OnPreRender="gvPreRender"
OnDetailTableDataBind="gvDetailTableDataBind" OnItemDataBound="gvItemDataBound"
OnUpdateCommand="gvItemUpdated"  OnDeleteCommand="gvDeleteCommand"
OnItemInserted="gvItemInserted" OnInsertCommand="gvInsertCommand">
<PagerStyle Mode="NextPrevAndNumeric"/>
<ClientSettings AllowRowsDragDrop="True" AllowColumnsReorder="false" ReorderColumnsOnClient="false" EnableRowHoverStyle="false">
<Resizing AllowColumnResize="false" />
<Selecting AllowRowSelect="true" EnableDragToSelectRows="false"/>
 <Scrolling AllowScroll="false" UseStaticHeaders="false"/>
 </ClientSettings>
<MasterTableView Name="gv1" CommandItemDisplay="Top" EditMode="InPlace" DataKeyNames="ID">
 
<Columns>
<telerik:GridBoundColumn UniqueName="Description" SortExpression="Description" HeaderText="Description" HeaderButtonType="TextButton" DataField="Description" HeaderStyle-Width="150px" ItemStyle-HorizontalAlign="Center"></telerik:GridBoundColumn>
</MasterTableView>
</telerik:RadGrid>



Thks in advance ;)
Eyup
Telerik team
 answered on 22 Jan 2013
1 answer
794 views
Hello All,
I have some controls in rad parent window. I want to access these controls from child window. How can i accomplish this task.
Is there any possible way to send data to child window (like query string concept) when it open.

thank you
abhi
Marin Bratanov
Telerik team
 answered on 22 Jan 2013
4 answers
238 views

Hi,
 I am trying to add 'RadComboBox4_SelectedIndexChanged'  function on the server side code.
But when I run the application, I am getting the following error message.

CS1061: 'ASP.relatedcombobox_aspx' does not contain a definition for 'RadComboBox4_SelectedIndexChanged' and no extension method 'RadComboBox4_SelectedIndexChanged' accepting a first argument of type 'ASP.relatedcombobox_aspx' could be found (are you missing a using directive or an assembly reference?)

My code is:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RelatedComboBox.aspx.cs" Inherits="GridRadControlsWebApplication1.RelatedComboBox" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<!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" > 
<head runat="server">  
    <title></title>  
</head> 
<script language="javascript" type="text/javascript">  
 
    function pageLoad() {  
        //updateCombos();  
           
    }  
    function updateCombos() {  
        // initialize the global variables  
        // in this event all client objects  
        // are already created and initialized  
        var combo = $find("<%= RadComboBox1.ClientID %>");  
        var comboSubType = $find("<%= RadComboBox2.ClientID %>");  
        var comboReqBy = $find("<%= RadComboBox3.ClientID %>");  
        alert("test");  
        if (combo.get_value() == "03") {  
            comboSubType.enable();  
        }  
        else {  
            comboSubType.disable();  
        }  
        // add the code to populate ReqBy list  
        if (combo.get_value() == "01") {  
            var comboItem1 = new Telerik.Web.UI.RadComboBoxItem();  
            comboItem1.set_value('01');  
            comboItem1.set_text('01-Complainant');  
 
 
            var comboItem2 = new Telerik.Web.UI.RadComboBoxItem();  
            comboItem2.set_value('02');  
            comboItem2.set_text('02 - Provider');  
 
            comboReqBy.clearItems();  
            comboReqBy.get_items().add(comboItem1);  
            comboReqBy.get_items().add(comboItem2);  
            comboItem1.select();  
            combo.commitChanges();  
 
        }  
        if ((combo.get_value() == "02") || (combo.get_value() == "03") || (combo.get_value() == "04")) {  
 
            var comboItem2 = new Telerik.Web.UI.RadComboBoxItem();  
            comboItem2.set_value('02');  
            comboItem2.set_text('02 - Provider');  
 
            comboReqBy.clearItems();  
            comboReqBy.get_items().add(comboItem2);  
            comboItem2.select();  
            combo.commitChanges();  
 
        }  
        if (combo.get_value() == "05") {  
 
            var comboItem1 = new Telerik.Web.UI.RadComboBoxItem();  
            comboItem1.set_value('03');  
            comboItem1.set_text('03 - CNA');  
 
 
            var comboItem2 = new Telerik.Web.UI.RadComboBoxItem();  
            comboItem2.set_value('04');  
            comboItem2.set_text('04 - DSW');  
 
            comboReqBy.clearItems();  
            comboReqBy.get_items().add(comboItem1);  
            comboReqBy.get_items().add(comboItem2);  
            comboItem1.select();  
            combo.commitChanges();  
 
        }  
      
    }  
      
    function OnIDRTypeChanged() {  
       updateCombos()   
    }  
 
    function LoadReqBy(combo, eventArqs) {  
        var item = eventArqs.get_item();  
        //countriesCombo.set_text("Loading...");  
        comboReqBy.clearSelection();  
 
        // if a IDR type is selected  
        if (item.get_index() > 0) {  
            // this will fire the ItemsRequested event of the  
            // countries combobox passing the continentID as a parameter  
            comboReqBy.requestItems(item.get_value(), false);  
        }  
 
    }  
 
    function ItemsLoaded(combo, eventArqs) {  
        if (combo.get_items().get_count() > 0) {  
            // pre-select the first item  
            combo.set_text(combo.get_items().getItem(0).get_text());  
            combo.get_items().getItem(0).highlight();  
        }  
 
    }   
</script> 
<body> 
 
    <form id="form1" runat="server">  
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">  
        </telerik:RadScriptManager> 
        <telerik:RadComboBox ID="RadComboBox4" runat="server" AutoPostBack="true" 
        OnSelectedIndexChanged="RadComboBox4_SelectedIndexChanged">  
        </telerik:RadComboBox> 
          
          
        <telerik:RadComboBox ID="RadComboBox1" Runat="server" AutoPostBack="true"   
        OnClientSelectedIndexChanged="OnIDRTypeChanged" > 
          
            <Items> 
                          
               <telerik:RadComboBoxItem Text="01-Complaint" value="01"/>  
               <telerik:RadComboBoxItem Text="02-Survey" value="02"/>  
               <telerik:RadComboBoxItem Text="03-Sanction" value="03"/>  
               <telerik:RadComboBoxItem Text="04-Application Denials" value="04"/>  
               <telerik:RadComboBoxItem Text="05-CNA/DSW" value="05"/>  
                          
                      
            </Items> 
        </telerik:RadComboBox> 
          
        <telerik:RadComboBox ID="RadComboBox2" Runat="server">  
        <Items> 
                          
              <telerik:RadComboBoxItem Text="01-Licensure" value="01" /> 
              <telerik:RadComboBoxItem Text="02-License Revocation" value="02"/>  
              <telerik:RadComboBoxItem Text="03-License Denial" Value="03" /> 
                          
       </Items> 
        </telerik:RadComboBox> 
          
        <telerik:RadComboBox ID="RadComboBox3" Runat="server" > 
          
        <Items> 
                          
                        <telerik:RadComboBoxItem Text="01-Complainant" value="01" /> 
                        <telerik:RadComboBoxItem Text="02-Provider" value="02"/>  
                        <telerik:RadComboBoxItem Text="03-CNA" Value="03" /> 
                        <telerik:RadComboBoxItem Text="04-DSW" Value="04" /> 
                          
                        </Items> 
        </telerik:RadComboBox> 
          
      
    </div> 
    </form> 
</body> 
</html> 
 

using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Web;  
//using System.Web.UI;  
//using System.Web.UI.WebControls;  
using System.Data.SqlClient;  
using System.Configuration;  
//using System.Data.DataTable;   
using System.Data;  
using Telerik.Web.UI;  
using Telerik.Web.Design;  
 
 
 
namespace GridRadControlsWebApplication1  
{  
    public partial class RelatedComboBox : System.Web.UI.Page  
    {  
        protected void Page_Load(object sender, EventArgs e)  
        {  
            string test = "123";  
        }  
        private void RadComboBox4_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)  
        {  
            string test1 = "12345";  
        }  
        protected void RadComboBox3_ItemsRequested(object o,RadComboBoxItemsRequestedEventArgs e)  
        {  
            // e.Text is the first parameter of the requestItems method  
            // invoked in LoadCountries method  
            LoadReqBy(e.Text);  
        }  
        protected void LoadReqBy(string IDRType)  
        {  
            string connectionString = ConfigurationManager.ConnectionStrings["SQL_AppConString_Dev"].ConnectionString;  
            SqlConnection SqlConnection = new SqlConnection(connectionString);  
 
            //select a country based on the continentID  
            SqlDataAdapter adapter = new SqlDataAdapter("select * from [LOOKUP_VALUES] where TABLENAME='IDR_MAIN' "+  
            " and COLUMNNAME='REQUESTED_BY' AND ALLOWEDTYPES=@IDRType", SqlConnection);  
            adapter.SelectCommand.Parameters.AddWithValue("@IDRType", IDRType);  
 
            DataTable dt = new DataTable();  
            adapter.Fill(dt);  
 
            RadComboBox3.DataTextField = "VALDESC";  
            RadComboBox3.DataValueField = "VALUE";  
            RadComboBox3.DataSource = dt;  
            RadComboBox3.DataBind();  
        }  
    }  
}  
 

Any idea??

Thanks,
Rita

Boyan Dimitrov
Telerik team
 answered on 22 Jan 2013
7 answers
553 views
Hi all,
I have to display year in X axis . For each year there is more than 2 series(company names) and for each company their Appraisal in y Axis.
How can i implement multiple series.I tried "RadChart1.DataGroupColumn " But more than 2 companies not listing for each year..

Eg: Year: 2009 -------Comp:comp1,comp2,comp3---- Appraisal: comp1-->2,comp2-->5,comp3-->8
And for year 2010 ------Comp:comp1---- Appraisal: comp1-->2
etc...

Please reply,,,
Lekha
Peshito
Telerik team
 answered on 22 Jan 2013
4 answers
341 views
Hi ,

I am using telerik rad charts in my application. When the data values are 0 for Pie Chart. The Chart is not displayed instead Nan is displayed. I want to get rid of this Nan and show a friendly message like "No Data available". Please help me in this.


Thanks,
Nikolay
Telerik team
 answered on 22 Jan 2013
2 answers
68 views
Hi so I have a rad grid in a form where by the push of a button, it makes it visible and can input additional user of the form if wanted. It works when barely creating the form, and also when I open the form and there are alreadu sers added on that grid, but when I open an existing form that has not had any users added yet and I want to add them:
I click on Add New
insert the new user in the grid
and the page tells me it succesfully entered it
does not display on the grid
but does update on sql db
and when i reopen the form, the record i inserted is there.

Is there a reason why it does not display it right away...this only happens in these cirucmstances beacause when i barely create the form and add users right away it inserts them and i can see them, but when I do it under these circumstances, it does not.

HELP!
Eyup
Telerik team
 answered on 22 Jan 2013
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?