Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
465 views
Hi

I have a doubt. When we are overriding a default style using CSS ! Important, its applied to all the respective controls. How can we avoid this such as I want to apply a hovered style for only one textbox in my page?

Any input to tackle this will be helpful
Katya
Shinu
Top achievements
Rank 2
 answered on 29 Jul 2013
2 answers
51 views
Hi,

Is there a way to make only dates that have been added as Special Days clickable?.

Thanks,

Hendrik
Hendrik Johns
Top achievements
Rank 1
 answered on 29 Jul 2013
1 answer
299 views
Hi,

We are using Rad Pivot grid data binding with OLAP settings. We are using OnebyFour as default layout.
Now We want to change the height of Filter, Row, Column and Aggregate fields of Layout and also width of All fields.
Can you please help us to change height and width of Layout in PivotGrid.
Please find attached png file.
Thanks.

Tsvetoslav
Telerik team
 answered on 29 Jul 2013
1 answer
150 views
Hello.
I encounter a problem with the controller [RadDropDownList].
I built a simple table on the server side (code behind) and manually sets the client function [OnClientSelectedIndexChanged] on the controller
[RadDropDownList].
My problem is that my property RadDropDownList.Enabled is always equal to false. I do not understand why ... If I define no client function on [OnClientSelectedIndexChanged] , my property of my control RadDropDownList.Enabled is equal to True.

Do you have any idea why it is impossible to define the client function [OnClientSelectedIndexChanged] without changing the Enabled property? This is boring because users can not use this controller if enable == false..

Thanks a lot !
Here is my code used to build my table with the control [RadDropDownList] .
for (int a = 0; a < allAudit.GetLength(0); a++)
{
          // .......
 
          int auditID = int.Parse(allAudit[a, 0]);
          double percent = ((double)countTotalAuditable/(double)countTotal) * 100.0;
 
          TableRow row = new TableRow() { BackColor = Color.FromArgb(215, 230, 247) };
          TableCell cell_processName = new TableCell() { HorizontalAlign = HorizontalAlign.Left,VerticalAlign = VerticalAlign.Middle };
          TableCell cell_date = new TableCell() { HorizontalAlign = HorizontalAlign.Center, VerticalAlign = VerticalAlign.Middle };
          TableCell cell_progression = new TableCell() { HorizontalAlign = HorizontalAlign.Center, VerticalAlign = VerticalAlign.Middle };
          TableCell cell_responsable = new TableCell() { HorizontalAlign = HorizontalAlign.Center,VerticalAlign = VerticalAlign.Middle };
 
          Label lblProcessName = new Label() { Text = allAudit[a, 1] };
          Label lblDate = new Label() { Text = DateTime.Parse(allAudit[a, 3]).ToLongDateString() };
          Label lblProgressionAudit = new Label() { Text = percent+" %" };
          RadDropDownList droopDownResponsable = new RadDropDownList();
          droopDownResponsable.EnableEmbeddedScripts = false;
          droopDownResponsable.ID = "droopDownResponsable";
          droopDownResponsable.ClientIDMode = System.Web.UI.ClientIDMode.Static;
          droopDownResponsable.OnClientSelectedIndexChanged = "cbx_responsible_SelectedIndexChanged("+auditID+");";
          SqlDataSource sourceUserList = new SqlDataSource(ConfigurationManager.ConnectionStrings["SCI2ConnectionString"].ToString(), "SELECT [tblUser].[userID], [UserName] FROM [aspnet_Users] INNER JOIN [tblUser] ON [aspnet_Users].[UserId] = [tblUser].[membershipID]");
 
          droopDownResponsable.DataValueField = "UserID";
          droopDownResponsable.DataTextField = "UserName";
          droopDownResponsable.DataSource = sourceUserList;
 
          droopDownResponsable.DataBind();
 
          foreach (DropDownListItem item in droopDownResponsable.Items)
          {
                if (item.Text == allAudit[a, 2])
                {
                      item.Selected = true;
                }
          }
 
          cell_processName.Controls.Add(lblProcessName);
          cell_date.Controls.Add(lblDate);
          cell_progression.Controls.Add(lblProgressionAudit);
          cell_responsable.Controls.Add(droopDownResponsable);
 
          row.Cells.Add(cell_processName);
          row.Cells.Add(new TableCell() { Text = " ", Width = 20 });
          row.Cells.Add(cell_date);
          row.Cells.Add(new TableCell() { Text = " ", Width = 20 });
          row.Cells.Add(cell_progression);
          row.Cells.Add(new TableCell() { Text = " ", Width = 20 });
          row.Cells.Add(cell_responsable);
 
          tableAuditAdministration.Rows.Add(row);
 
          // .......
}
Nencho
Telerik team
 answered on 29 Jul 2013
12 answers
449 views
Hi,
how can I add *.chm extension to RadEditorProm Document Maganer so I was able to insert *.chm files using DocManager.
Ianko
Telerik team
 answered on 29 Jul 2013
9 answers
348 views
All:

I've been going back and forth with support a bit on this issue (we are having trouble understanding each other I think), but thought I would post this here as well since I am scheduled to go into production with an applciation that is having this issue.  I was hoping that someone may have a workaround since I am reluctant to roll out my app with this problem.  We incorporated some of the new controls in Q1 2013 in our project and don't want to have to roll those back. 

I have reproduced this easily in another application as an example.

I noticed that with Q1 2013, when an unhandled server exception occurs during an Ajax callback, a script error occurs in a Microsoft Ajax script function which then causes Javascript processing to stop.  The result is that my own error handling on the client doesn't function, neither does the ending client event on the RadAjaxManager, so everything just comes to a halt.

This only occurs when RadFormDecorator is on the page (regardless of what controls are decorated).  If I remove the RadFormDecorotar, everything is fine.

Here is the code for the .asp page nd the code for the code-behind, where all I am doing is throwing an exception to simulate an unhandled exception on the server.  In IE9, the loading panel will never go away and you can see the script error in the debugger.  In other browsers, like Chrome, you can see the error, but the loading panel does disappear, so it is not as obvious.

I'm also including where the script error occurs: on the line "oldIds = upData.oldUpdatePanelIDs"....the error is that oldUpdatePanelIDs is null.  The snippet for that code is below too from the debugger.

Lastly, here is a video that clearly demonstrates the issue, as well as shows that Q3 2012 did not do this, so it appears to be a breaking change.
http://www.youtube.com/watch?v=1FuNEoNWBec

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager runat="server" ID="ScriptManager"></asp:ScriptManager>
 
        <telerik:RadAjaxManager runat="server" ID="RadAjaxManager">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="btnTest">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="pnlAll" LoadingPanelID="LoadingPanel" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
 
        <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel" BackColor="Black" Transparency="50"></telerik:RadAjaxLoadingPanel>
  
        <asp:Panel runat="server" ID="pnlAll">
            This is the test page.
            <br /><br /><br /><br />
            <asp:Button runat="server" ID="btnTest" Text="Test Me" />
        </asp:Panel>
 
        <telerik:RadFormDecorator Enabled="true" runat="server" ID="RadFormDecorator1" Skin="Default" DecoratedControls="Buttons"   />
         
    </form>
</body>
</html>


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
namespace WebApplication2
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        public WebForm1()
        {
            this.Init += WebForm1_Init;
        }
 
        void WebForm1_Init(object sender, EventArgs e)
        {
            btnTest.Click += btnTest_Click;
        }
 
        void btnTest_Click(object sender, EventArgs e)
        {
            throw new Exception("THis is a test") ;
        }
    }
}

Henrik
Top achievements
Rank 2
 answered on 29 Jul 2013
1 answer
144 views
I want to copy data from Excel and paste into the listview and split the list view as per the column copied from excel in javascript.

Daniel
Telerik team
 answered on 29 Jul 2013
3 answers
83 views
please i have a problem and wish someone can help me out.
How can i loop through a grid view and get all the rows and transfer the data into another page to print a receipt.
Thanks in advance
Eyup
Telerik team
 answered on 29 Jul 2013
1 answer
135 views
  Last week I updated my Rad Controls asp.net from 2013.1.417.35 to 2013.2.611.35 with this I have a couple of questions.

1: When opening a Visual Studio I usually get the notification of any Telerik Updates and select the Get it Now option. This is what I did on the last go around and updated that way. I noticed that doing so it installed the update in the C:\User\AppData\Roaming\Telerik\Updates\Telerik.Web.UI_2013_2_611_Dev_hotfix folder.  Is this the best way, preferred way or the not correct way to update Telerik Controls. I like to keep my controls up to date,

2: After updating the controls, I continued to work on my project and once finished I moved over to our production server my changes plus the updated DLL's to the bin folder. Everything seemed to work fine until I came to any of the Rad Grids that had significant customizations that I made in which selecting a record caused the loss of all my Session Variables. After a little process of elimination, I found that pulling out the earlier Rad Grid and adding a new one to the page with some changes to how I made those previous customizations solved the problem. Is this error on my part of improper modifications or something I will have to do to all of the Rad Grids that I customized using the older version of the controls. Putting back the older version of the DLL's did not work, but adding an entirely new Rad Grid was my only option. Any suggestions.

Thanks John.

 

Andrey
Telerik team
 answered on 29 Jul 2013
7 answers
708 views
Hi guys.

Is it possible to call a javascript function in itemcommand event fires?

How can I achieve this?
Eyup
Telerik team
 answered on 29 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?