Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
121 views
everytime when i have 2 columns with the same name in my answer set that i bind to the grid, it automatically add a incrementing number to the end of it.

like
column1             column1                  column1

it will give me this

column1            column11                  column12

1) why does it do that and how do i stop it from doing that?
2) How do i format the cell so that it turn the forecolor to red when it is negative?

please help. thanks.
Iana Tsolova
Telerik team
 answered on 07 Oct 2009
1 answer
118 views
Hi everyone,

we have the problem, that the RadEditor changes its content automatically when switching between the Design and the HTML view.
If we insert:
<select>
<option value="val" selected="val">val</option>
</select>
into the HTML view and then switching to the Design view and back to the HTML view again, then the RadEditor changed the content to:
<select>
<option value="val" selected="true">val</option>
</select>

We do not want that the editor changes anything the user gives as input. We tried several things including ContentFilters="None", but we did not find a solution.

Thanks in advance for your help. 

 

 

 

Rumen
Telerik team
 answered on 07 Oct 2009
2 answers
149 views

I am very new to Telerix and Started with your demo version.But I am getting an error like this once i try to run it.What is this error and how can I solve this.

tnx.


Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700b7
Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptModule'
Config File \\?\C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q2 2009\Live Demos\web.config
Requested URL http://localhost:80/MyTelerix/Defaut.aspx
Physical Path C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q2 2009\Live Demos\Defaut.aspx
Logon Method Not yet determined
Logon User Not yet determined
Config Source
 <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />
  147: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler" />
  148: </modules>
Vesko
Top achievements
Rank 2
 answered on 07 Oct 2009
1 answer
31 views
Hi,
We have an issue with our RadEditor Image Map Tool.  In IE7, it builds the map as expected, but when it is saved, if the link entered is:
/index.htm
onces it's saved and you look at the front end of the page, the url ends up like this:
about:/index.htm

In Firefox it does not do this.

Has anyone had this issue?  Is there a fix for this?

Thanks,
ROB
Rumen
Telerik team
 answered on 07 Oct 2009
4 answers
134 views
I am creating one or more grids dynamically (I call a stored procedure and create one grid for each recordset returned) and I don't manage to get the Grid Export functionality to work (either client or server side).

Is it supposed to work to export a grid control created dynamically?


Thanks

Eric
Eric
Top achievements
Rank 1
 answered on 07 Oct 2009
1 answer
91 views
We are rendering the sliders dynamically in datalist as follow:

<asp:DataList ID="dlIndicator" runat="server" CellPadding="0" CellSpacing="4" RepeatColumns="3" RepeatDirection="Horizontal"
            <ItemTemplate> 
                <table cellpadding="0" cellspacing="2" border="0"
                    <tr><td>&nbsp;</td><td><%#Eval("Name")%></td><td>&nbsp;</td></tr
                    <tr> 
                        <td valign="top"
                            <asp:CheckBox ID="chkIndicator" runat="server" /><asp:HiddenField ID="hdnIndicatorDomain" 
                                runat="server" Value='<%#Eval("IndicatorID")%>' /><asp:HiddenField ID="hdnIndicatorValue" runat="server"  Value='<%#Eval("Value_")%>'/> 
                        </td> 
                        <td> 
                            <telerik:RadSlider ID="rslIndicator" runat="server" MinimumValue="0" MaximumValue="100" 
                                Value="50" OnClientValueChange="HandleValueChange" OnClientLoaded="HandleValueChange" 
                                Skin="Vista" SmallChange="5" Width="100px" /> 
                        </td> 
                        <td> 
                            <asp:Label ID="lblIndicator" runat="server"></asp:Label>
                        </td> 
                    </tr> 
                </table> 
            </ItemTemplate> 
        </asp:DataList> 

<script type="text/javascript" defer="defer"
                function HandleValueChange(sender, eventArgs) 
                { 
                    var spnid = sender.get_id().replace("rslIndicator","lblIndicator"
                    document.getElementById(spnid).innerHTML = sender.get_value(); 
                } 
    </script> 
 


The issue is.. the sliders working fine in IE7.. but not in IE8.
In IE8, when we drag handle in one slider, it automatically drags handles on other sliders.

We are using telerik version : 2008.03.1314.35
Tsvetie
Telerik team
 answered on 07 Oct 2009
4 answers
85 views
Hi Telerik!
I have a page with a multiview.  The views are loaded using Ajax.  The editor is located in the second view.  In Firefox, when I click on "View 2", I am unable to type in the editor 50% of the time.  None of the buttons and dropdowns work either.  The editor will stop working completely if I switch between "View 1" and "View 2" a couple of times.

Below is the code sample that can reproduce the problem.  I am using Firefox 3.0.11 and version 2009.1.527.35 of Telerik.Web.UI.dll.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="telerik.aspx.cs" Inherits="OFF_LIMIT.telerik" %>  
<%@ 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>  
<body>  
  <form id="form1" runat="server">  
    <asp:ScriptManager ID="ScriptManager1" runat="server" />  
      
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">  
    <ContentTemplate>  
      <p>  
        <asp:LinkButton ID="button1" runat="server" Text="View 1" /> >  
        <asp:LinkButton ID="button2" runat="server" Text="View 2" />  
      </p>  
        
      <asp:MultiView ID="multiview" runat="server" ActiveViewIndex="0">  
        <asp:View ID="view1" runat="server">  
          view 1  
        </asp:View>  
        <asp:View ID="view2" runat="server">  
          <telerik:RadEditor ID="m_editor" runat="server" />  
        </asp:View>  
      </asp:MultiView>  
    </ContentTemplate>  
  </asp:UpdatePanel>  
  </form>  
</body>  
</html>  
 
<script runat="server">  
  protected override void OnInit(EventArgs e)  
  {  
    base.OnInit(e);  
    button1.Command += new CommandEventHandler(OnCommand);  
    button2.Command += new CommandEventHandler(OnCommand);  
  }  
 
  void OnCommand(object sender, CommandEventArgs e)  
  {  
    LinkButton button = sender as LinkButton;  
 
    if (button.ID == button1.ID)  
      multiview.ActiveViewIndex = 0;  
    else if (button.ID == button2.ID)  
      multiview.ActiveViewIndex = 1;  
  }  
</script> 
Rumen
Telerik team
 answered on 07 Oct 2009
1 answer
94 views
Hello,

When entering a ";" character in the basic "contains" filter for a text column causes an "IndexOutOfRange" exception.
Below is the stack trace:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

We have been able to duplicate this issue on the RadGrid demo.
Is there a work around? Or, some way to remove this character from a user's filtering.

Thanks,
Jon
Shinu
Top achievements
Rank 2
 answered on 07 Oct 2009
1 answer
189 views
We are getting this warning in the Event Viewer on a Production application (a server without a Telerik installation).

The server was unable to add the virtual root '/telerik/RadControlsQ2_2007_NET2' for the directory 'C:\Program Files\Telerik\RadControls for ASP.NET Q2 2007\NET2' due to the following error: The system cannot find the path specified.


The application has crashed a few times and an IIS reset brings the application back up.  Any ideas on how to remove this warning without an installation of Telerik on the server?
T. Tsonev
Telerik team
 answered on 07 Oct 2009
1 answer
146 views
I have a column in my grid that every cell contains a textbox.
I add an event for these textboxes that every time I press Enter key, then next text box focused (jQuery). I set a break point  in my script and everything was OK. But when I press enter key filtering button is pressed. How can I turn it off?
Princy
Top achievements
Rank 2
 answered on 07 Oct 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
Grant
Top achievements
Rank 3
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
Grant
Top achievements
Rank 3
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?