##LOC[OK]## ##LOC[Cancel]##

8 posts, 0 answers
  1. bala
    bala avatar
    9 posts
    Member since:
    Jan 2008

    Posted 16 Jul 2010 Link to this post

     ##LOC[OK]##  ##LOC[Cancel]##  is displayed in the top of the page where a radwindowmanager is used.

    part of View source of the page is as below


    </div>
    		</div><div id="Singleton_prompttemplate" style="display:none;">
    
    		 <div class="rwDialogPopup radprompt">			
    			    <div class="rwDialogText">
    			    {1}				
    			    </div>		
    			    <div>
    				    <script type="text/javascript">
    				    function RadWindowprompt_detectenter(id, ev, input)
    				    {							
    					    if (!ev) ev = window.event;                
    					    if (ev.keyCode == 13)
    					    {															        
    					        var but = input.parentNode.parentNode.getElementsByTagName("A")[0];					        
    					        if (but)
    						    {							
    							    if (but.click) but.click();
    							    else if (but.onclick)
    							    {
    							        but.focus(); var click = but.onclick; but.onclick = null; if (click) click.call(but);							 
    							    }
    						    }
    					       return false;
    					    } 
    					    else return true;
    				    }	 
    				    </script>
    				    <input  onkeydown="return RadWindowprompt_detectenter('{0}', event, this);" type="text"  class="rwDialogInput" value="{2}" />
    			    </div>
    			    <div>
    				    <a onclick="$find('{0}').close(this.parentNode.parentNode.getElementsByTagName('input')[0].value);"				
    					    class="rwPopupButton" href="javascript:void(0);" ><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[OK]##</span></span></a>
    
    				    <a onclick="$find('{0}').close(null);" class="rwPopupButton"  href="javascript:void(0);"><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[Cancel]##</span></span></a>
    			    </div>
    		    </div>				       
    		</div><div id="Singleton_confirmtemplate" style="display:none;">
    		<div class="rwDialogPopup radconfirm">			
    			<div class="rwDialogText">
    			{1}				
    			</div>						
    			<div>
    				<a onclick="$find('{0}').close(true);"  class="rwPopupButton" href="javascript:void(0);" ><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[OK]##</span></span></a>
    
    				<a onclick="$find('{0}').close(false);" class="rwPopupButton"  href="javascript:void(0);"><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[Cancel]##</span></span></a>
    			</div>
    		</div>		
    		</div><input id="Singleton_ClientState" name="Singleton_ClientState" type="hidden" />
    </div>
    
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 16 Jul 2010 Link to this post

    Hello bala,

    This should not happen - as you can see in the HTML dump, the radconfirm's template is wrapped in a DIV element with style set to display:none. Such behavior could occur if for example there is a global style for DIV elements on that page with style set to display:block !important;. Another reason might be if there is some error on the page, but without examining your case more closely I cannot be sure. Please open a support ticket and send a sample project or a live Url where we can observe the behavior and we will check it.

    All the best,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Glauco Basilio
    Glauco Basilio avatar
    2 posts
    Member since:
    Feb 2006

    Posted 22 Feb 2013 Link to this post

    I know this post is old and Georgi probably already solved his problem. Then I'll put here my experience with this problem because it may help someone.

    I'm having a similar problem in Google Chrome. In my case I realized the extent HootSuite Hootlet 2.2.3 was causing the problem. If your browser has disable all installed extensions and see if the problem was solved. If resolved reactivate again one by one and go testing to see which is causing the extension.

  5. Jim Richy
    Jim Richy avatar
    1 posts
    Member since:
    Jun 2009

    Posted 18 Mar 2013 Link to this post

    I just hit the same issue with a Telerik ASP.Net Controls 2012.1.215.35 and Hootsuite Hootlet in Chrome.
  6. Smartie
    Smartie avatar
    9 posts
    Member since:
    Jun 2007

    Posted 14 May 2013 Link to this post

    Hello,

    Although the words "##LOC[Cancel]##" are not showing on my page. The words "Loc" and "Cancel" are appearing as the top keywords on my site for google.

    Is there anyway to stop these being added to the page?

    Thanks
  7. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 15 May 2013 Link to this post

    Hello,

    You can move the RadWindowManager further down in your page so the HTML it renders is not the first thing search engine crawlers see.

    Another thing you can do is to change the templates of the dialogs so these strings are not included, but the text for the buttons is hardcoded. This help article and this KB article offer ways to do this.


    Kind regards,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  8. Buddha
    Buddha avatar
    2 posts
    Member since:
    Dec 2012

    Posted 26 Dec 2013 Link to this post

    Hi Marin Bratanov,

    I am having similar kind of issue, please help me. Below are the issue details:
    1) Having a RadwindowManager which opens a rad window. I am attaching/adding the radwindow from serverside based on my requirement.
    2) Radwindow is targetted with another page where I am having two text boxes and among them one is read only.
    3) The other text box(not read-only) not having focus properly. It is getting focussed only when the mouse moved top half of it. See the attached screen shot for details.

    Note: This is happening only in chrome. my version is:  Version 31.0.1650.63 m, Also I have tried by moving my RadWindow Manager to the bottom(last control) of my page but no luck.

    Thanks in advance.

    Buddha T,
    MSI

  9. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 27 Dec 2013 Link to this post

    Hello Buddha,

    I am unable to determine how the mentioned behavior is related to the topic of this thread. The problem looks like a browser behavior, these outlines in the snapshot are a result of a custom stylization of the textboxes, this is happening only under Chrome, because the outlines are available for customization and visualization only under Chrome.

    Currently I can assume that this stylization is due to set margins or padding. You can disable the outlines under chrome with a CSS attribute. You can follow this stackoverflow forum thread for more information about this approach.

    If this is not the problem and I am somehow mislead about it, please open a formal support ticket to us with more details and sample code which isolates the problem.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017