Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
125 views
Hello

I am playing with Editor inside RadDock. I found strange behaviour in some browsers (IE9 and Chrome - no other tested)

IE9:
After move of dock, design mode is not editable and blocked.
After move od dock in html mode, content is lost, editing blocked but switch to other mode and back will allow html editing.
Chrome:
When moving Dock in HTML mode, after placing dock into Zone, content is lost.
Also, when just clicking on the docked raddock (or doing  very short dragging), text will disappear from the editor however it is still present (checked with alert in javascript) and will usually reappear after it is moved somewhere else. 

This is not happening if the dock is not placed in zone

It is running without issues on IE8 or  IE9 in compatibility mode or IE9 if using  <meta http-equiv="X-UA-Compatible" content="IE=8" />.


Sample code : 
<div>    
        <telerik:RadDockZone ID="RadDockZone1" runat="server" Height="300px" Width="300px">
               </telerik:RadDockZone>
            <telerik:RadDock ID="RadDock1" runat="server" Width="300px" >
                <ContentTemplate>                     
                    <telerik:RadEditor ID="RadEditor1" runat="server">
                    </telerik:RadEditor>                    
                </ContentTemplate> 
            </telerik:RadDock>
</div>

SW: VS 2008, .NET 3.5, Telerik 3Q 2011

Is there any way to fix such behaviour preferably without use of <meta...

Regards

Pavel
Slav
Telerik team
 answered on 08 Dec 2011
13 answers
2.5K+ views
Hi,
In my project I used RadGrid and I made the Filter Row appearance optional between Show and Hide, I put a "LinkButton" control in "CommanditemTemplate" tag in my Grid and on the "OnClick" event I call a code behind procedure including below statement to switch between the two state  :

RadGrid1.AllowFilteringByColumn = !RadGrid1.AllowFilteringByColumn;

My default state is Hide the Filter row but when I click my LinkButton the first click did not show the filter but the second click show it !! Why this happened !!! why its start to work with the second click only,
I try to solve it by JavaScript and the same problem appear to me,
Please help and advice me.
Thanks

Ban


 

 

Michael
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
88 views
Hi All,,,,

I use javascript to add tab and assign a multipage view to it....

i need to change the width and height of this pageview from the javascript too to fit my page content properly....

i tried to assign an id to this pageview but still be undefined....

I don't know how to do that....

any help will be grate....

thanks

Best Regards
Asa'ad....


Kate
Telerik team
 answered on 08 Dec 2011
1 answer
99 views
Hi,
Since there is no documented "IsDecendantOf" function on the client side, I was wondering if anyone has figured out how to collapse all other branches of the tree when expanding a particular node in javascript.
For example, if I have a tree as follows
    A
        B
        C
            D
    E
        F
            G
I want that when they expand C, E collapses and if they expand F I would want A to collapse.
Basically, if they expand a branch, I want all OTHER branches to collapse.
If anyone has done this and is willing to share how they did it I would be much obliged.
Thanks ... Ed

Bozhidar
Telerik team
 answered on 08 Dec 2011
1 answer
156 views
Hi,
I am using asyncupload (version 2011.1.413.35)  in sitecore as in the demo.
http://demos.telerik.com/aspnet-ajax/upload/examples/async/ajaxprocessing/defaultcs.aspx?product=asyncupload

Though the control shows up in the designer, the select button is not visible on the page.

Here are the snippets of web.config.

<system.webServer>
   <modules>
     <remove name="ScriptModule" />
     <remove name="WebDAVModule" />
     <add type="Sitecore.Nexus.Web.HttpModule,Sitecore.Nexus" name="SitecoreHttpModule" />
     <add type="Sitecore.Resources.Media.UploadWatcher, Sitecore.Kernel" name="SitecoreUploadWatcher" />
     <add type="Sitecore.IO.XslWatcher, Sitecore.Kernel" name="SitecoreXslWatcher" />
     <add type="Sitecore.IO.LayoutWatcher, Sitecore.Kernel" name="SitecoreLayoutWatcher" />
     <add type="Sitecore.Configuration.ConfigWatcher, Sitecore.Kernel" name="SitecoreConfigWatcher" />
     <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule" />
     <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     <remove name="Session" />
     <add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="" />
     <add type="Sitecore.Resources.Media.MediaRequestSessionModule, Sitecore.Kernel" name="MediaRequestSessionModule" />
     <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0" />
     <add name="CalendarScriptModule" type="Sitecore.Modules.CalendarScriptModule, Sitecore.Calendar" />
   </modules>
   <handlers>
     <remove name="WebServiceHandlerFactory-Integrated" />
     <remove name="ScriptHandlerFactory" />
     <remove name="ScriptHandlerFactoryAppServices" />
     <remove name="ScriptResource" />
     <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
     <add name="WebDAVRoot" path="*" verb="OPTIONS,PROPFIND" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
     <add name="WebDAVRoot64" path="*" verb="OPTIONS,PROPFIND" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness64" />
     <add verb="*" path="sitecore_webDAV.ashx" type="Sitecore.Resources.Media.WebDAVMediaRequestHandler, Sitecore.Kernel" name="Sitecore.WebDAVMediaRequestHandler" />
     <add verb="*" path="sitecore_media.ashx" type="Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel" name="Sitecore.MediaRequestHandler" />
     <add verb="*" path="sitecore_xaml.ashx" type="Sitecore.Web.UI.XamlSharp.Xaml.XamlPageHandlerFactory, Sitecore.Kernel" name="Sitecore.XamlPageRequestHandler" />
     <add verb="*" path="sitecore_icon.ashx" type="Sitecore.Resources.IconRequestHandler, Sitecore.Kernel" name="Sitecore.IconRequestHandler" />
     <add verb="*" path="sitecore_feed.ashx" type="Sitecore.Shell.Feeds.FeedRequestHandler, Sitecore.Kernel" name="Sitecore.FeedRequestHandler" />
     <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
     <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
     <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
 
   </handlers>
   <validation validateIntegratedModeConfiguration="false" />
   <security>
     <requestFiltering>
       <requestLimits maxAllowedContentLength="524288000" />
     </requestFiltering>
   </security>
 </system.webServer>
 
 
<httpModules>
       <add type="Sitecore.Nexus.Web.HttpModule,Sitecore.Nexus" name="SitecoreHttpModule" />
       <add type="Sitecore.Resources.Media.UploadWatcher, Sitecore.Kernel" name="SitecoreUploadWatcher" />
       <add type="Sitecore.IO.XslWatcher, Sitecore.Kernel" name="SitecoreXslWatcher" />
       <add type="Sitecore.IO.LayoutWatcher, Sitecore.Kernel" name="SitecoreLayoutWatcher" />
       <add type="Sitecore.Configuration.ConfigWatcher, Sitecore.Kernel" name="SitecoreConfigWatcher" />
       <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=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     </httpModules>
     <httpHandlers>
       <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*"  />
       <add verb="*" path="sitecore_webDAV.ashx" type="Sitecore.Resources.Media.WebDAVMediaRequestHandler, Sitecore.Kernel" />
       <add verb="*" path="sitecore_media.ashx" type="Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel" />
       <add verb="*" path="sitecore_xaml.ashx" type="Sitecore.Web.UI.XamlSharp.Xaml.XamlPageHandlerFactory, Sitecore.Kernel" />
       <add verb="*" path="sitecore_icon.ashx" type="Sitecore.Resources.IconRequestHandler, Sitecore.Kernel" />
       <add verb="*" path="sitecore_feed.ashx" type="Sitecore.Shell.Feeds.FeedRequestHandler, Sitecore.Kernel" />
       <remove verb="*" path="*.asmx" />
       <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
       <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
       <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
       
       <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
       <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
     </httpHandlers>

Is the handler registration correct? In which cases does the control not show?

Thanks,
Satya.



Bozhidar
Telerik team
 answered on 08 Dec 2011
9 answers
269 views
If there are no tabs initially added server side (or declaratively) setting ScrollChildren = true does not work in IE (Firefox seems to work). A workaround is to resize the browser window, then the buttons will appear. Fortunately, I also found a workaround using javascript; by calling the _resize() method of the tabstrip whenever I add a tab client-side.

Are you aware of this issue and will it be fixed in a future release?

Regards,
Sigmund Lunde
Omega AS
Brian Azzi
Top achievements
Rank 2
 answered on 08 Dec 2011
0 answers
103 views
Hello,

Unable to Select Previous Selected Tab on mouseout in Radtabstrip

Scenerio - Selected Tab having multiple sub tabs
First I select one tab and sub tab and move the mouse to another tab then again came back to same tab. Now I am unable to see previous selected tab. Last selected sub tabs related page able to see but showing selected sub tabs is differnt so user is confusing.

 
Guru
Top achievements
Rank 1
 asked on 08 Dec 2011
3 answers
760 views
Hi,

Owing to the layout of my forms I want to have a asp:label tag styled using the same style as labels attached to a RadTextBox, combo box etc.  How would I reuse this?  Using the CSSClass="riLabel" on the username label doesn't seem to do anything so I assume that there is some level of specification behind it.  What would be nice is a RadLabel component...

<tr
    <td class="gridAdminLabel"><asp:Label CssClass="riLabel">Username:</asp:Label></td>
    <td class="gridAdminCell">
        <telerik:RadTextBox ID="uxUsername" Text="" runat="server" CssClass="formTextBox"></telerik:RadTextBox>
        <asp:RequiredFieldValidator ID="uxUsernameReq" runat="server"  ControlToValidate="uxUsername" ErrorMessage="RequiredFieldValidator"
            Text="<img src='/blank.gif' alt='Required field' class='errIconTextBox' />" Width="0" ValidationGroup="LoginValidationGroup"></asp:RequiredFieldValidator>
    </td>
</tr>


Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 08 Dec 2011
9 answers
184 views
Hi there,

I have a few buttons and a RadAjaxManager on the page. Buttons are properly with css style if no RadAjaxManager on the page. As soon as I put a RadAjaxManager on the page and control these buttons, the enabled buttons style will gone.

Please see the attached screen shot for the issue. The top line buttons in the screen shot are all disabled buttons, which are with style properly. The bottom line buttons in the screen shot shows that the "Add New" button Enabled, which has lost its style, and moved to the right most side.

Can anyone please help to give some ideas on how to fix this? Thanks a lot.
   
Meng
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
104 views
Hi,

  I had a problem with radchart. That is how to remove the radchart's background panel or resize it. I have attached a screen shot of the chart where a getting some extra space which should be removed. Please help me in this regards





Regards
Kannan.S
Giuseppe
Telerik team
 answered on 08 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?