Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
205 views
hi

this is srikanth,i am new to telerik Controls

my requirement is

1) place the  check box as  a header of the expand and collapse buttons column.
2) selecting the parent or child  row, changing the parent back ground color as a normal selection of row and changing the child row Table background .


thanks and Regards
Srikanth
nsrikanth 2009
Top achievements
Rank 1
 answered on 18 May 2010
1 answer
113 views
I get the following error after migrating our server from Windows 32 bit 2003 IIS6 to Windows 64 bit 2008 IIS7
I installed Telerik Reporting 2010 and also the asp.net radcontrols 2009 in the server and made sure that these files were copied into
the bin folder of the website.
Please help,

Thanks,
Sanjay D Chudasama

From a client computer the error is 404 - File or directory not found but in the server's internet explorer itself the
Error displayed when accessing the website is as follows:

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2009.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:

Line 1: <%@ page language="VB" autoeventwireup="false" inherits="_Default, App_Web_8ggwac2-" %>Line 2:  <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
Line 3:  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

Source File: /ehr/Default.aspx    Line: 1

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2009.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Iana Tsolova
Telerik team
 answered on 18 May 2010
4 answers
282 views

Hi,
It seems that the RadEditor steals the focus from a textbox setup on pageLoad. This only happens on IE7 and IE8. It behaves as expected on all other browsers.
This is a sample code:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadEditor.aspx.cs" Inherits="Application_Test_Telerik_RadEditor" %>

<!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>Untitled Page</title>
    <script type="text/javascript">

  function pageLoad()
  {
   $get("txt").focus();
  }
   
    </script>
</head>
<body>
    <form id="form1" runat="server">
  <asp:ScriptManager ID="ScriptManager" runat="server" >
  </asp:ScriptManager>
  <input id="txt" type="text" />
  <telerik:radeditor runat="server" ID="RadEditor" SkinID="BasicTools" Width="100%" Height="350px" EditModes="Design" Enabled="true" >
  </telerik:radeditor>
    </form>
</body>
</html>


If I change Enabled="false" the focus remains on the textbox.

Regards.

If I change Enabled="false" the focus remains on the textbox.Regards.
Clayton Kelemen
Top achievements
Rank 1
 answered on 18 May 2010
3 answers
121 views
I've got a problem with an initially invisible (by display:none) instance of RadEditor. It is shown in a lightbox (so it's made visible client-side), but in non-IE browsers this results in the HTML view malfunctioning.

I used the set_html() and set_mode() client-side functions to set the editor's content upon showing it. When I switch from Design view (it always starts in Design view) to HTML view, the editor's HTML content is gone. That is to say, if I handle the OnModeChanged client-side event and use get_html() to get the editor's HTML content, I get an empty string, while there definitely was HTML in the editor.

The whole problem only occurs in non-IE browsers (confirmed in Firefox, Chrome and Opera), and only when the editor is initially invisible.

I've tried (as read on the forum) to use an external stylesheet, but as I expected this solved nothing.

I've used version 2009 Q3. Has this been solved in a newer version or is it a new issue?
Rumen
Telerik team
 answered on 18 May 2010
2 answers
112 views
Simple one here. Just looking to disable the pause onhover effect on the radrotator.
Randy Douglas
Top achievements
Rank 1
 answered on 18 May 2010
1 answer
142 views
Hi,

How is it possible to add the control RadDockZone in the appSettings in order to use the skin registration ?

I tried
<add key="Telerik.Dock.DockZone.EnableEmbeddedSkins" value="false" /> 
<add key="Telerik.DockZone.EnableEmbeddedSkins" value="false" /> 
<add key="Telerik.Dock.RadDockZone.EnableEmbeddedSkins" value="false" /> 
<add key="Telerik.Zone.EnableEmbeddedSkins" value="false" /> 

but none of them works

I want to be able to reproduce the following RadDockZone.
<telerik:RadDockZone runat="server" id="RadDockZone1" EnableEmbeddedSkins="False"
    <telerik:RadDock id="RadDock1" Collapsed="true" Skin="MySkin" EnableEmbeddedSkins="false" EnableDrag="false" DefaultCommands="ExpandCollapse" runat="server"
        <TitlebarTemplate> 
            <asp:Image ImageUrl="~/images/Info_Icon.gif" ImageAlign="AbsMiddle" runat="server" /> 
            <asp:Label Text="<% $ Resources:Resource, lblHelpHeader %>" runat="server" /> 
        </TitlebarTemplate> 
        <ContentTemplate> 
            <align="justify"><asp:Label ID="lblText" runat="server" /></p
        </ContentTemplate> 
    </telerik:RadDock> 
</telerik:RadDockZone> 

It works fine for the RadDock, but I really need to be able to add the EnableEmbeddedSkins="False" for the RadDockZone.

Take a look to the attached file, you will see that there is a border that is used by the RadDockZone when EnableEmbeddedSkins="True" which I really want to get rid of.


Thanks

pylacroix
Top achievements
Rank 1
 answered on 18 May 2010
1 answer
57 views
This is reproducible in the demo at http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

1. Place cursor at the start of the "RadEditor is not simple an HTML Editor" line. Note font size = 12pt
2. Change font size to 72px. Note that the cursor is now huge, but the Font Size dropdown still says 12pt.
3. Type some stuff. The font is much larger, but the Font Size dropdown has remained unchanged.

I would have expected the font size to stay the same while typing.
Rumen
Telerik team
 answered on 18 May 2010
2 answers
131 views
Hi All,

I am dynamically creating a load of datetime controls (code below) and they all use a shared calendar and timeview to save resources.  They work fine except for the fact that I can't figure out how to get an AJAX callback to fire on the SelectedDateChanged event.  If I create a control in the aspx file it's fine however creating dynamically is another matter.  Other than using a JS based callback does anyone have any thoughts?

Dim uxStartDate As RadDateTimePicker = New RadDateTimePicker  
uxStartDate.DbSelectedDate = CDate(startDate)  
uxStartDate.ID = "uxStartDate_" & rowID  
uxStartDate.Width = 180  
uxStartDate.CssClass = "dateCol" 
uxStartDate.SharedCalendarID = "uxSharedCal" 
uxStartDate.SharedTimeViewID = "uxSharedTimeView" 
uxStartDate.DateInput.DisplayDateFormat = "ddd dd/MM/yy HH:mm:ss" 
uxStartDate.AutoPostBack = True 
uxStartDate.AutoPostBackControl = Telerik.Web.UI.Calendar.AutoPostBackControl.Both  
 
 
 
Protected Sub SelectedDateChange(ByVal sender As ObjectByVal e As Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs)  
  ' Do some stuff here  
End Sub 

I am also finding that when I add the control to the Ajaxmanager as below the calendar is displayed at the bottom of the page and non of my controls get displayed, any thoughts?

uxRadAjaxManager.AjaxSettings.AddAjaxSetting(uxStartDate , uxEndDate) 


Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 18 May 2010
5 answers
390 views
Hi Everyone
                  I am using Radgrid in my application. In that i use Show csv export button to acheive it in client side, i just add OnRequestStart() script. it gives me the error onrequeststart is undefined.
Radoslav
Telerik team
 answered on 18 May 2010
4 answers
163 views

I have aspx page(which contains master page), inside that user control is there(.ascx), inside this user control one more user control is there. Inside this user control, I have parent repeater in that i have image button and child repeater, inside the child repeater i have link button, i did ajaxification for image button. below is the detail code

 

<

 

asp:Repeater ID="ParentRepeater" runat="server">

 

 

 

 

 

<ItemTemplate>

 

 

 

<asp:ImageButton ID="ExpandCollapseImageButton"

 

 

runat="server"

 

 

CssClass="dimensionExpCol"

 

 

ImageUrl='<%#Eval("ImageUrl")%>'

 

 

OnClientClick='<%#Eval("Args", "OnClientClick(\"{0}\");return false;")%>'

 

 

 

 

 

 

/>

 

 

 

<asp:Repeater ID="ChildRepeater" runat="server" DataSource='<%#Eval("LinkValues")%>'>

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<div class="dimensionValueWrapper">

 

 

 

 

 

<asp:LinkButton ID="ChildRepeaterLinkButton"

 

 

runat="server"

 

 

CssClass="dimensionValueName"

 

 

 

 

 

Text='<%#Eval("DisplayName")%>'

 

 

CommandName='<%#Eval("CommandName")%>'

 

 

 

 

 

CommandArgument='<%#Eval("CommandArgument")%>'

 

 

 

 

 

OnCommand="OnCommand"></asp:LinkButton>

 

 

</div>

 

 

 

</ItemTemplate>

 

 

 

 

 

</asp:Repeater>

In Code Behind:

 

protected

 

override void OnLoad(EventArgs e)

 

{

 

base.OnLoad(e);

 

 

RadAjaxManager ajaxManager = RadAjaxManager.GetCurrent(Page);

 

 

RadAjaxLoadingPanel loadingPanel =

 

(

RadAjaxLoadingPanel)Page.Master.FindControl("LoadingPanel");

 

ajaxManager.AjaxRequest += OnAjaxManagerAjaxRequest;

 

ajaxManager.AjaxSettings.AddAjaxSetting(

ajaxManager, ParentRepeater, loadingPanel);

 

RegisterJavaScript();

 

}

 

private

 

void RegisterJavaScript()

 

{

 

string script =

 

 

@"

 

<script type=""text/javascript"">

 

function OnClientClick(args)

{

var ajaxManager = $find("""

 

+ RadAjaxManager.GetCurrent(Page).ClientID + @""");

 

ajaxManager.ajaxRequest(args);

}

</script>"

 

;

 

 

ScriptManager.RegisterStartupScript(this.Page, typeof(Page), "Test", script, false);

 

}

 

protected

 

void OnAjaxManagerAjaxRequest(object sender, AjaxRequestEventArgs e)

 

{
//code has been implemented
}

 

protected

 

void OnCommand(object sender, CommandEventArgs eventArgs)

 

{
}

If i click on image button i.e working fine,JavaScript is firing(OnClientClick();) and Ajaxification is also working fine, but inside the child repeater if i click on link buttons total Repeater(Parent) is disappearing. Link button OnCommand event is firing. But I am not able to see the total Repeater. Actually if i click on link button, i am showing some results inside the Grid. I am getting those results as well. But Repeater is disappearing.

Can you tell me the what will be the Reason and what would be the solution for that.

Thanks in Advance

Hari.

Iana Tsolova
Telerik team
 answered on 18 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?