Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
398 views
Hi,

I think the title of this thread is clear enough to know what I really want to get, isn“t it? :-)

I want somehow to access to filter options of header context menu and delete "Group by" and "Ungroup" options from this menu. Is is possible?

Thank you in advance
July
Top achievements
Rank 2
 answered on 03 Nov 2011
2 answers
161 views
How to clear the session variable on window close.
In other words,
After the window close it should clear all the session variable

Any help?
Eva
Top achievements
Rank 1
 answered on 03 Nov 2011
3 answers
1.0K+ views
I have a grid that has databound columns that are defined in the aspx code.  When preparing the data for NeedDataSource(), more columns will be dynamically added to the right side of the grid.  This all works great.  My problem is that some of these dynamically added columns will need the color of the font of the LinkButton (for sorting) in the header to turn gray once databound.  Which header column needs to change will be tracked on the server side.  So my question is:  Where is the best place on the server side (which event) to change the font color for the header column and how?

I've tried setting the .ForeColor property to gray & setting the .CssClass property in the ItemCreated, ItemDatabound, & PreRender events to no avail.  I do have a custom skin on my grid.
Rob
Top achievements
Rank 1
 answered on 03 Nov 2011
3 answers
337 views
Hello,

I am using asp.net ajax radeditor 2009.3.1314.35. I have tried the solution from "Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file." but no help. Actually on my localhost the solution works but on the server it always gives me this error and throws the dialog window to the login page.

---------------------------
Message from webpage
---------------------------
Web.config registration missing!
 The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > RadEditor > Dialogs > Introduction
---------------------------
OK   
---------------------------

Any idea whats wrong ?

Rumen
Telerik team
 answered on 03 Nov 2011
8 answers
89 views
Hi,

I have a rating column inside a ragrid, which usually works fine, however I am encountering an error when I add new items to it for the first time.

If items are loaded from the database, then they appear correctly, however if I update the previously empty data source with a new item, the rating column will display hyperlinks for 1,2,3,4,5, rather than the star images that are usually present.  Please see the attached screenshots for more details.

I haven't come across this problem anywhere else on the forum, so any help would be appreciated.
Mathew
Top achievements
Rank 1
 answered on 03 Nov 2011
3 answers
115 views
I use MasterPage .
In master page, I put RadScriptManager and RadAjaxManager in it.
In child page, I put RadAjaxManagerProxy in it. A RadAjaxPanel with several controls in it.
Two buttons controls the RadAjaxPanel's sub-controls visibilty.
When RadEditor set visible=false, then set visible=true, the RadEditor will not work.


Site1.Master
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="TestRadControlMP.Site1" %>
  
<%@ 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">
  
<head runat="server">
    <title></title>
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
          
        </asp:ContentPlaceHolder>
    </div>
    </form>
</body>
</html>

Site1.Master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
  
namespace TestRadControlMP
{
    public partial class Site1 : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
  
        }
    }
}


WebForm1.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="WebForm1.aspx.cs" Inherits="TestRadControlMP.WebForm1" %>
  
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Button1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="Button2">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <br />
    1. Click Button2
    <br />
    2. Click Button1
    <br />
    3. RadEditor态RadComboBox does not work.
    <br />
    <asp:Button ID="Button1" runat="server" Text="Button1" 
        onclick="Button1_Click" />
    <asp:Button ID="Button2" runat="server" Text="Button2" 
        onclick="Button2_Click" />
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">
        <telerik:RadEditor ID="RadEditor1" runat="server">
        </telerik:RadEditor>
        <telerik:RadTextBox ID="RadTextBox1" runat="server">
        </telerik:RadTextBox>
        <telerik:RadComboBox ID="RadComboBox1" runat="server">
            <Items>
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" 
                    Value="RadComboBoxItem1" />
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" 
                    Value="RadComboBoxItem2" />
            </Items>
        </telerik:RadComboBox>
    </telerik:RadAjaxPanel>
</asp:Content>

WebForm1.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
  
namespace TestRadControlMP
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
  
        }
  
        protected void Button1_Click(object sender, EventArgs e)
        {
            RadEditor1.Visible = true;
            RadTextBox1.Visible = true;
            RadComboBox1.Visible = true;
        }
  
        protected void Button2_Click(object sender, EventArgs e)
        {
            RadEditor1.Visible = false;
            RadTextBox1.Visible = false;
            RadComboBox1.Visible = false;
        }
    }
}


Web.Config
<?xml version="1.0"?>
<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>
    </compilation>
    <httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
    </httpHandlers>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>
  </system.webServer>
</configuration>
Ray
Top achievements
Rank 1
 answered on 03 Nov 2011
2 answers
76 views

Dear  All ,

    Kindly help me regarding the following issue.

Issue :     I toogled a background image to Rad combox  control.
                style class is as follows 
                

.RadComboBox_SP .rcbArrowCell a
{
    position: relative;
    outline: 0;
    overflow: hidden;
    display: block;
    width: 18px;
    height: 16px;
    text-decoration: none;
    text-indent: -9999px;
    font-size: 1px;
    background-image: url('../../myImages/png_search.png');
    background-repeat: no-repeat;   
}

the toogled image is  not getting set properly in IE 7.0  ,

please find the attached screen shot ,  i  placed Radcombobox inside a repeater ,when ever i start click on add new line gets add to the repeater , once the vertical scroll overflows toogled image is comming out . this is happening with IE 7 only (working fine with IE8) . but my requirement is to make it proper in IE 7.

 

Please help me to  solve  this issue .

please go through the attached screen shot.
                  
Thanks in Advance
          

Ivana
Telerik team
 answered on 03 Nov 2011
1 answer
141 views
Greetings,

I have been searching for the solution for a while now but can't understand where it comes from:

The situation is simple, with this code:

<telerik:GridTemplateColumn UniqueName="Debriefing">
    <ItemTemplate>
        <asp:HyperLink runat="server" ID="DebriefingRDV" Text="Rapport"></asp:HyperLink>
    </ItemTemplate>
</telerik:GridTemplateColumn>

"Rapport" appears in my grid but i can't click on it! this is just text!

Thank you for your help!
Adigard
Top achievements
Rank 1
 answered on 03 Nov 2011
2 answers
71 views
I have searched forums but unable to find anything related. In IE editor does not render properly but in chrome/ff it does. 
John
Top achievements
Rank 1
 answered on 03 Nov 2011
1 answer
41 views

 I am going to set content url of panel bar at runtime with Jquery. Something like below


var frameURL = ā€˜http://msn.com’; //Example

 

var panelBar = $find("<%=this.MiddlePane1.ClientID%>");                      

 
panelBar.set_contentUrl(frameURL);

 

it’s took more time to load complete page on above panel, window look like hang.

 

Instead of that I want to show progress image, until entire page is not render at panel bar.

 

Any suggestion Guys.

Kate
Telerik team
 answered on 03 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?