Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
180 views
Hi,

I applied Version 2013 Q2, and suddenly all the forms that use AutoCompleteBox stopped working as expected.Entries deleted by the user client side (using the mouse), still exist in the Entries collection after posting back.This is now causing Database constrains exceptions which means the logic for these form need to be modified.I now have to apply the previous version until this is fixed.

Madani
Newton
Top achievements
Rank 1
 answered on 12 Aug 2013
1 answer
244 views
I have a form where a user can specify the font/style/size of some text which is not present on the same page.

I need to add a couple toggle buttons which are basically the same Bold/Italic buttons which appear in many telerik controls, but just by themselves.  I'm wondering what would be the easiest way to do this. 

I was thinking of just creating a plain button and setting the regular state style to the pressed style when it is clicked.  Does that make sense? 
Danail Vasilev
Telerik team
 answered on 12 Aug 2013
1 answer
96 views
We're using Telerik version 2013.1.417.35. We've got an application with some very old page templating code (that we don't want to change out right now)

The input code is 
<body>
    <!-- this is in the page template ascx vv-->
    <form id="frmMain" method="post" runat="server">
        <!-- Henry thinks Telerik added this above ^^-->
    <div id="pagemiddle">
...
and the generated code seen in IE10 is

<body>
    <!-- this is in the page template ascx-->
    <form name="frmMain" method="post" action="login.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="frmMain">
<div>
<input type="hidden" name="Header_ScriptMgr_TSM" id="Header_ScriptMgr_TSM" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="..." />
</div>
 
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['frmMain'];
if (!theForm) {
    theForm = document.frmMain;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>
 
 
<script src="/UnifiedLogin/WebResource.axd?d=Cr6NY1haBII3CUWgTf-vRxkAVYzK1FJ6XORbJp5zHXYb1faJ2WnIXBUQYE-i4nGMszzp_Bd8NNpxf0uVdI32lDKWS0A1&t=635019945069635093" type="text/javascript"></script>
 
<link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=wu2-nH7iwSqT0TgvbyKgs_V6_TYA07BnX7YMX1qIIJuR4HyrpazOmoyBpnzlHOjhD1V1ffDT6dYFcYuP8e6q5HEg7UksZaSHMz-hLiqrRrp70O690UMQGVfLo2BOoWglTxXwoQ2&t=635088861486377646'></link><link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=GQ8da8vrWIHNQT0th0xfR3MyDFSTWwp_KKoQ9v7jpSqtcaJ8oN5X4iiDUx0DBfKjb2McbL21Oipj5GiIi_lljQ7uCEMc1-03RZQSZQFMw_D62MwFQkNAVXtdr7eQ0tLQOVOZYuOuYyxf08jSv92AeO9X58Q1&t=635088861486377646'></link>
<script src="/UnifiedLogin/WebResource.axd?d=SNhGNua5bytowQD_ES8ruTO4SCXXbtwK-lJPxXcl8mOmp64T4XpO5IObsf1rP-ugdukaf6Id84UYZkzqgspHp55pLaY1&t=635019945069635093" type="text/javascript"></script>
<script src="/UnifiedLogin/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=Header_ScriptMgr_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ab4491a8b-c094-46c4-848c-d2a016749dfa%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2013.1.417.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ab193e46e-1615-44ae-93b4-e80e222e7ddb%3a16e4e7cd%3a874f8ea2%3af7645509%3a24ee1bba%3af46195d3%3a19620875%3a490a9d4e%3abd8f85e4" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>
 
<script src="/UnifiedLogin/WebResource.axd?d=7qErcjeF3n7l-8Wtuwpfpl7dhaTO2Ezy-juh8r8wV2DMMv8roIP3UK5joLMFD8KoeAp0921xSW-aYXt5_rjRc2aMox41&t=635019945069635093" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
//]]>
</script>
 
<div>
 
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="..." />
</div>
        <!-- Henry thinks Telerik added this above ^^-->
    <div id="pagemiddle">


The IE10 console says
HTML1512: Unmatched end tag. 
login.aspx, line 66 character 267
HTML1512: Unmatched end tag. 
login.aspx, line 66 character 561

Line 66 is the link tags:

<link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=...'></link><link class='Telerik_stylesheet' type='text/css' rel='stylesheet' href='/UnifiedLogin/WebResource.axd?d=...'></link>


Is there anything that we can do here?  The </link> is not strictly necessary under IE10/HTML5.  The page has doctype XHTML; but changing that doesn't fix the parsing message.
Henry
Top achievements
Rank 1
 answered on 12 Aug 2013
1 answer
114 views
Hi friends, I certainly am aware that telerik script manager is having all that the default/regular asp.net scrip-manger has but I am working on a website where we're having master page scenario and we do have telerik's script-manager present on the mark-up, but I still face troubles as if the script manager was absent (which is not true) and if add it to my mark-up I'd get an error saying that one instance already exists, which is again not wrong though. What may I be missing ?

Thanks,
-Aarsh
Henry
Top achievements
Rank 1
 answered on 12 Aug 2013
3 answers
124 views
my program creates and downloads a pdf from the radeditor.  However, when I try to open it in Adobe Reader 11.0.3 I receive and error about it either not being a supported type or damaged. In Adobe Reader 11.0.2 it works fine. How can I get it to work in both?
Ianko
Telerik team
 answered on 12 Aug 2013
3 answers
159 views
I have a grid that has a row click event on it.  This event works and I see the breakpoint hit in the serverside code.

With the row value I pull, I can hit a database and get the result I am looking for and assign it to an asp:label control.  

The problem is, I never see that value on the screen in the label.  I have verified the label.text property has the value I want, however I can't get it to show on the screen.

Is there a command I need to fire to refresh the page after the grid is done with the serverside control?

I can provide code snippets if needed.

Thanks in advance.
Jeff
Top achievements
Rank 1
 answered on 12 Aug 2013
5 answers
110 views
I have a treeview which consists of webpages.  I create a RadSocialShare control programmatically so that a Facebook and Twitter link appear next to each page, and I add it to Treeview upon load using

The node for each is created dynamically and added to the tree using

node.Controls.Add()

The problem occurs in the sub nodes, because those are loaded on demand, and it appears that when they are loaded, the javascript behind the social share is not loaded.  So when the link for the social share is click, no action occurs, and no errors are generated.

Boyan Dimitrov
Telerik team
 answered on 12 Aug 2013
1 answer
201 views
I am getting following error when I move the site to IIS 7.5. Working fine on my local machine

Unable to set property 'scriptsFailed' of undefined or null reference. Any help?
Hristo Valyavicharski
Telerik team
 answered on 12 Aug 2013
2 answers
250 views
I have a RadHTML chart that has series added programmaticly in code-behind (C# ASP.NET)  to the chart when a user clicks button on the webpage. If the end-user initiates a postback event (by changing the selected-index on a drop-down list element for example), the series data is lost. The legend still appears with the correct series, as does the XAxis labels, but the actual series data disappears, no lines appear on the chart. I've already checked to see if I have a hanging Series.Clear() and ViewState is set to True.
Michael
Top achievements
Rank 1
 answered on 12 Aug 2013
4 answers
163 views
I am developing Telerik Reporting and Inside a RadGrid I have checkboxes next to the dispalyed columns. What I want is, when the report load for the first time, the first 5 checkboxes should be checked automatically. User can uncheck or select up to 8 items and on preview button click see only the items checked.
All the radgrid columns am being  populated  with AutoGenerateColumns="True" from stored procedure. 
I have added this code and can see the checkboxes. How do I default the first 5 items as checked

<MasterTableView AllowMultiColumnSorting="true" NoMasterRecordsText="There are no data records to display."> 
                                            <Columns>
                                              <telerik:GridTemplateColumn HeaderText=""> 
                                                <ItemTemplate> 
                                                    <asp:CheckBox ID="CheckBoxStatus" runat="server" AutoPostBack="true"  /> 
                                                </ItemTemplate> 



Ebenezer
Top achievements
Rank 1
 answered on 12 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?