This is a migrated thread and some comments may be shown as answers.

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

7 Answers 254 Views
Window
This is a migrated thread and some comments may be shown as answers.
bala
Top achievements
Rank 1
bala asked on 16 Jul 2010, 12:03 PM
 ##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>

7 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 16 Jul 2010, 01:02 PM
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
0
Glauco Basilio
Top achievements
Rank 1
answered on 22 Feb 2013, 02:23 PM
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.

0
Jim Richy
Top achievements
Rank 1
answered on 18 Mar 2013, 05:48 PM
I just hit the same issue with a Telerik ASP.Net Controls 2012.1.215.35 and Hootsuite Hootlet in Chrome.
0
Smartie
Top achievements
Rank 1
answered on 14 May 2013, 09:08 AM
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
0
Marin Bratanov
Telerik team
answered on 15 May 2013, 10:22 AM
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.
0
Buddha
Top achievements
Rank 1
answered on 26 Dec 2013, 12:35 PM
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

0
Ianko
Telerik team
answered on 27 Dec 2013, 09:44 AM
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.
Tags
Window
Asked by
bala
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Glauco Basilio
Top achievements
Rank 1
Jim Richy
Top achievements
Rank 1
Smartie
Top achievements
Rank 1
Marin Bratanov
Telerik team
Buddha
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or