Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
58 views
Hi

Since upgrading to IE8.0.7600 I'm struggling with this stylesheet and it's affect on the RADGRID in IE8. The RADGRID has 2 Buttons on a row which can no longer be clicked, also when clicking to expand the Details table now throws a Javascript error.

The rogue stylesheet class is as follows, it's the width: 948px which seems to be causing the proble, if this is removed the page looks awful because everything is moved but the Buttons and details table work fine. I've tried inserting various z-index entries but without success. 

#container

 

 

 

{

 

 

background: #fff none;

 

 

 

height: 100%;

 

 

 

height: auto !important;

 

 

 

margin: 0 auto -100px;

 

 

 

min-height: 100%;

 

 

 

padding: 0;

 

 

 

text-align: left;

 

 

 

width: 948px;

 

}

 

Steve
Stevent
Top achievements
Rank 1
 answered on 14 Jul 2011
1 answer
95 views
I would like to scroll the tooltip according to the browser scroll, is there any property for that
Marin Bratanov
Telerik team
 answered on 14 Jul 2011
1 answer
163 views
I have a page that has RadToolTips on it.  They are never named the same and their number varies.  I can't seem to find a way to access them from javascript on page load because they seem to be hidden.  I need a collection of all the RadToolTips when the page is ready so I can determine their targetcontrolid's and bind onclick events to the target controls so that when a user clicks or hovers the target control, the tooltip is shown.  Any ideas?
Marin Bratanov
Telerik team
 answered on 14 Jul 2011
2 answers
870 views
I have a grid with EnablePostBackOnRowClick = true and GridClientSelectColumn. The problem is that when I try to select various rows with the checkbox in the GridClientSelectColumn a postback is produced and I cannot check the rows.

Is there any way to avoid the postback when selecting the rows through the GridClientSelectColumn?

Thanks in advance 



Rajiv
Top achievements
Rank 1
 answered on 14 Jul 2011
5 answers
206 views
Hi all,

I have a CarNumber column

<telerik:GridTemplateColumn UniqueName="car_number" SortExpression="car_number" HeaderText="Car Number" DataField="car_number" CurrentFilterFunction="Contains">
    <ItemTemplate>
       <asp:Label ID="car_number" runat="server" Text='<%#Eval("car_number")%>' />
    </ItemTemplate>
    <EditItemTemplate>
         <telerik:RadTextBox ID="ed_car_number" runat="server" Text='<%# Bind("car_number")%>' Width="100px" Font-Size="Small" Font-Names="Arial">
         </telerik:RadTextBox>
     </EditItemTemplate>
</telerik:GridTemplateColumn>

And would like set focus in the InsertMode as http://www.telerik.com/help/aspnet-ajax/grid-set-focus-on-textboxes-in-edit-control.html

If (TypeOf e.Item Is GridDataInsertItem And e.Item.IsInEditMode) Then
            Dim MyUserControl As UserControl = e.Item.FindControl(GridEditFormItem.EditFormUserControlID) '
            myRadGrid.Controls.Add(New LiteralControl(String.Format("<script type='text/javascript'>document.getElementById('{0}').focus();document.getElementById('{0}').select();</script>", MyUserControl.FindControl("ed_car_number").ClientID)))
            e.Item.Selected = True
End If

However, it doesn't work.

Please help.

Thanks.

Andy.


 
Andy
Top achievements
Rank 1
 answered on 14 Jul 2011
1 answer
202 views
Hi

How to add emoticons in MOSSRadEditor 5.6 ? I have to add in toolfile.xml?. 

Thanks in advance

Regards,
Selva
Rumen
Telerik team
 answered on 14 Jul 2011
3 answers
199 views

I have upgraded a project to Q2.  On the development machine, everything runs without issue.  On the production machine, I get an Internal Error 500, which I've tracked down to this section that's been added to the web.config (once deleted, everything works again):

<configSections>
  <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
      <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
      <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
        <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
        <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
        <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /></sectionGroup></sectionGroup></sectionGroup></configSections>



Thanks in advance for anyone's help or input.

Edit -
After troubleshooting on the server, it turns out to be an Error 500.19

It appears that scriptResourceHandler, jsonSerialization, profileService, and authentication are duplicated --

Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/webServices/jsonSerialization' section defined 

I can make the problem go away by deleting out these three <section name="..."> sections.

I have included the web.config file both before and after the Q2 update.

Before update:

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  -->
<configuration>
  <appSettings>
 
  </appSettings>
    <system.web>
        <customErrors mode="Off"/>
        <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>
        <pages>
            <controls>
                <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" /></controls></pages>
        <httpHandlers>
            <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
            <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /></httpHandlers>
        <httpModules>
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /></httpModules>
    </system.web>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
            <remove name="RadUploadModule" />
             
            <remove name="RadCompression" /><add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" /></modules>
        <handlers>
            <remove name="ChartImage_axd" />
            <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
            <remove name="Telerik_Web_UI_DialogHandler_aspx" />
            <remove name="Telerik_RadUploadProgressHandler_ashx" />
            <remove name="Telerik_Web_UI_WebResource_axd" /><add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" /></handlers></system.webServer>
</configuration>

After the update, lots of stuff gets added, including the problem lines at the beginning:

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  -->
<configuration>
<configSections>
  <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
      <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
      <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
        <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
        <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
        <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /></sectionGroup></sectionGroup></sectionGroup></configSections>
  <appSettings>
 
  </appSettings>
    <system.web>
        <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        --><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" />
      <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></assemblies></compilation>
        <pages>
            <controls>
                <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></controls></pages>
        <httpHandlers>
             
      <remove verb="*" path="*.asmx" /><add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
            <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" /></httpHandlers>
        <httpModules>
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></httpModules>
    </system.web>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
            <remove name="RadUploadModule" />
             
            <remove name="RadCompression" /><add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></modules>
        <handlers>
            <remove name="ChartImage_axd" />
            <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
            <remove name="Telerik_Web_UI_DialogHandler_aspx" />
            <remove name="Telerik_RadUploadProgressHandler_ashx" />
            <remove name="Telerik_Web_UI_WebResource_axd" />
      <remove name="WebServiceHandlerFactory-Integrated" /><add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></handlers></system.webServer>
<system.web.extensions>
  <scripting>
    <webServices /></scripting></system.web.extensions>
</configuration>

Talys
Top achievements
Rank 1
 answered on 14 Jul 2011
1 answer
198 views
I'm having problems getting my tooltip to hide on mouseout. Its setup like this...

<rad:RadToolTip ID="radShoppingCartMainTT" runat="server" ShowEvent="FromCode" IsClientID="true"
            Sticky="false" AutoCloseDelay="10000" Position="BottomLeft" RelativeTo="Element"
            OffsetY="2" Height="500px" Width="320px" Skin="Default" ContentScrolling="Y"
            Title="">
Content
</rad:RadToolTip>
<span runat="server" id="lnkTT" onmouseover="showTT(this); return false;"></span>
function showtTT(trigger)
{
    var tooltip = $find("TT");
    if(tooltip != null)
    {  
        tooltip.set_targetControl(trigger);
        tooltip.show();
    }
}

I tried adding tooltip.set_hideEvent(Telerik.Web.UI.ToolTipHideEvent.Default); to the JS function, but it didnt work. I created a test page with just the element and tooltip and found that if I changed the ShowEvent to onMouseOver and it works properly. How do I get this functionality using my JS function or an additional attribute in the tooltip?
Marin Bratanov
Telerik team
 answered on 14 Jul 2011
10 answers
247 views
Hi,

I am using the RadWindow/radprompt client side function with the following code;

radprompt(Sometext.',   myCallback, 350, 150, null'Header'''); 

In Firefox and Opera everything behaves as expected but in IE8 the prompt textbox is pre-filled with the value type=text. I am guessing this is from an <input type=text tag or something, perhaps a javascript declaration.

Has anybody else encountered this problem?

Thanks!
Ely
Top achievements
Rank 1
 answered on 14 Jul 2011
2 answers
78 views
Hi,

My client has purchased telerik controls and he gave me project in which I have
Telerik.Web.Design.dll
Telerik.Web.UI.dll
Purchased dll available and referenced it properly.
When we build and run this site it runs successfully.
But when we open a aspx page in design view in VS2010 at that time it didn't display me the controls and gives errors.
On this URL : http://www.telerik.com/help/aspnet-ajax/introduction-vsx-telerik-web-design-assembly.html
My problem is same as this URL.
We don't have installation file so now how can we solve this error?

Thanks

Gaurav
Gaurav
Top achievements
Rank 1
 answered on 14 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?