Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
117 views
I'm testing RadProgressArea with RadAsyncUpload, and it is not showing the file name. Instead, it just has

Uploading File: Uploading Files...

I'm using it as
<table>
    <tr id="trUpload" runat="server">         <td><div style="padding-bottom:15px">File</div></td>         <td><div style="width:5px;"/></td>         <td>             <telerik:RadAsyncUpload runat="server" ID="rauUpload" MultipleFileSelection="Automatic" EnableInlineProgress="false" />             <telerik:RadProgressManager runat="server" ID="rpmUpload" />             <telerik:RadProgressArea runat="server" ID="rpaUpload" />         </td>     </tr> </table>
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 24 Apr 2013
1 answer
179 views
Hi, 
       here is the structure of my page:

Radajaxmanager

<radajajaxpanel>
<radajajaxpanel id = "1">

</radajajaxpanel>
<radajajaxpanel id="2">

</radajajaxpanel>
</radajajaxpanel>

So basically I have radajaxmanager and radajaxpanel on the same page and also radajaxpanel has 2 radajaxpanels inside it. It was working fine in version 2008 but after upgrading to 2012 , its throwing following error :

Microsoft JScript runtime error: Sys.InvalidOperationException: A control is already associated with the element.

This error is happening for the one of the nested ajaxpanel element. I have inherited this application and wanted to make it faster by using cdn feature of version 2012. Is there any way to make it work without redesigning the complete application as this is the common page architecture across the application. Thanks.

Regards
Kris

Venelin
Telerik team
 answered on 24 Apr 2013
1 answer
96 views
Hi guys,

I have 2 RadComboBoxes, the First ComboBox 'ProductGroups' gets populated directly from a SQL database, once i have made a selection from the 'ProductGroups' ComboBox the Second RadComboBox 'Products' should be populated automatically Only with the data that is related to the selectedValue made from the First ComboBox. So If an item was NOT selected from the first comboBox the second ComboBox Will not be populated.

ProductGroups (1st) box populates properly i am just having issues populating the second Box with data, the Second ComboBox does not have any TreeViews inside of it, its just single item select.

Here are my 2 Classes i am using

public class ProductGroup
    {
        #region Properties
 
        [Key]
        public int ProductGroupID { get; set; }
        
        [Column("ProductGroup")]
        public string ProductGroupName { get; set; }
        [Column]
        public bool Active { get; set; }
 
        #endregion
 
 
        #region Methods
        public static IEnumerable<ProductGroup> GetActiveProductGroups()
        {
            iThNkContext db = new iThNkContext();
 
            var ProductGroupList = db.ProductGroups.Where(grp => grp.Active == true).OrderBy(p => p.ProductGroupName);
 
            return ProductGroupList.ToList();
        }
        #endregion
    }


public class Product
    {
        #region Properties
 
        [Key]
        public int ProductID { get; set; }
         
        [Column("Product")]
        public string ProductName { get; set; }
        [Column]
        public bool Active { get; set; }
        [Column]
        public int ProductGroupID { get; set; }
 
        #endregion
 
        #region Methods
        // Checks for active products and will only return active ones in the form of a list.
            public static IEnumerable<Product> GetActiveProducts(int productGroupID)
            {
 
                    iThNkContext db = new iThNkContext();
 
                    var productList = db.Products.Where(p => p.ProductGroupID == productGroupID && p.Active == true).OrderBy(p => p.ProductName);
 
                    return productList.ToList();
 
            }
        #endregion
 
    }


And here is the other code i am using to do the actual populating

protected void cboProductGroup_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
        {
            cboProductGroup.DataSource = iThNkPOCO.Models.ProductGroup.GetActiveProductGroups();
            cboProductGroup.DataBind();
        }
 
        protected void cboProductGroup_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
        {
            cboProduct.DataSource = iThNkPOCO.Models.Product.GetActiveProducts(Convert.ToInt32(e.Value));
            cboProduct.DataBind();
        }

I dont get any Errors, the second RadComboBox just isnt populating.

Thanx in advance
Goat_
Top achievements
Rank 1
 answered on 24 Apr 2013
5 answers
510 views
Hi,

I want to hide Radwindow from external javascript file, I  tried  various ways  to hide  Radwindow(without Radwindowmanager) but could not hide it completely.   With  " $find(delWindow).hide();" I was able to hide Radwindow but it did not hide the  semitransparent overlay.
How can I call close()/hide() method on a Radwindow from external file?


$find(delWindow).hide();
$telerik.$("[id$='NGDeleteWindow']").hide(); . 



  //Hide Delete Window
                    function NGCloseDeleteWindow() {
                        var id = $telerik.$("[id$='DeleteWindow']").attr("id");
                        var delWindow = $find(id);
                        $find(delWindow).hide();  //$telerik.$("[id$='NGDeleteWindow']").hide(); 

                                                                  
                        //ClearNGridReferenceVariables();
                                                
                    }




Thanks,
Prava
Marin Bratanov
Telerik team
 answered on 24 Apr 2013
1 answer
129 views
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
 
     <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="800" Height="500">
          <telerik:RadPane ID="navigationPane" runat="server">
               Left Pane
          </telerik:RadPane>
          <telerik:RadSplitBar ID="RadSplitbar1" runat="server" CollapseMode="Forward">
          </telerik:RadSplitBar>
          <telerik:RadPane ID="contentPane" runat="server" PersistScrollPosition="False">
               Right Pane
                   <div id="Map">
    </div>
          </telerik:RadPane>
     </telerik:RadSplitter>
    </form>
</body>
 Hi i have this above code for my web application, so basically i need a help, I cant find tutorial on demo.telerik so I need your help. 
the slider is a bit too thick as compare to this website.
http://demos.telerik.com/aspnet-ajax/splitter/examples/splitterorientation/defaultcs.aspx

2nd problem is if i drag the slider toward left, the content on the right panel did not enlarge and it stay the same
the content on the right panel is <div id ="Map"></div>. some sort of liek there is not auto resize to fit the right panel
Vessy
Telerik team
 answered on 24 Apr 2013
3 answers
168 views
In Chrome, Firefox, and other common browsers, I get a client-side validation error whenever I attempt to upload a file bigger than 2GB (OnClientValidationFailed is called). However, in IE 9, I don't get a warning when using the ASP.NET handler or flash (warning only appears on Silverlight). in IE, the upload continues but never succeeds.

MaxFileSize is set to 2097152000 bytes which is 2 GB.

Is there a way to get IE to do client size validation for the file size? If not, what is the best alternative?
Plamen
Telerik team
 answered on 24 Apr 2013
2 answers
119 views
Does the split button support sub-grouping. For example.

Parent
-Child #1
    -Child #1 Menu Item
-Child #2
    -Child #2 Menu item
Michael
Top achievements
Rank 1
 answered on 24 Apr 2013
1 answer
122 views
Hi

    How can I check all the checkboxes in a radgrid on headercheckbox click?? Please suggest some possible solutions.

thanks
Savyo
Princy
Top achievements
Rank 2
 answered on 24 Apr 2013
2 answers
145 views
Hi,
     I have a radlistview in my page. How can I remove its border. Your help is appreciated
thanks
Savyo
Savyo
Top achievements
Rank 1
 answered on 24 Apr 2013
1 answer
129 views
Hi
I hava a radbarcode in my radgrid. I want to export this. Please help me with this. A sample export would help.

thanx
RT
Princy
Top achievements
Rank 2
 answered on 24 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?