Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
Hello I'm adding controls to a radCalander and to TooltipManager dynamically.
the controls are added to the rad calander and to the TooltipManager on dayRender event. days added to the current displayed month displayed properly and are working properly,controls added to days beyond the 15 of the next month are added and displayed properly but do not invoke the tooltipManager.
I noticed they are beeing added with day render When U page to to the next month, and not on PageLoad like those who work properly.
Is there a solution to this problem or instructions on were to add tooltipmanager tooltips so that they will work on months beyond the current.
Svetlina Anati
Telerik team
 answered on 07 Jul 2010
3 answers
152 views
I have a grid with a MasterTable and a DetailsTable.

If I expand a row on the MasterTable I can, as you would expact, collapse it again.

If, however, I select a row in the DetailTable and then try and collapse the MasterTable row, I get the following JScript error (in IE8)...
"Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Collection was modified; enumeration operation may not execute."

I haven't got any client-side script of my own so it's nothing I've done (at least, not knowingly).

FWIW, the error is reported 62,099 characters in to line 6 of MicrosoftAjax.js.

Anyone any ideas why?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 07 Jul 2010
1 answer
215 views
I'm using Visual Studio 2010 Ultimate/Framework 4.0 final and "Telerik RadControls for ASP.NET Ajax 2010.1.415.40" in a normal web application.
I have a Templated asp:Login control inside a RadAjax Panel; like this:
                        <telerik:RadAjaxPanel ID="rap" runat="server" EnablePageHeadUpdate="false" LoadingPanelID="ralp" ClientEvents-OnRequestStart="function() {return false;}"> 
                            <asp:Login ID="l1" runat="server" onauthenticate="l1_Authenticate" onloggedin="l1_LoggedIn"> 
                                <LayoutTemplate> 
                                    <fieldset> 
                                        <div class="field"> 
                                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" /> 
                                            <asp:TextBox ID="UserName" runat="server" CssClass="text en" MaxLength="512" autocomplete="off" /> 
                                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" CssClass="validation-error"  
                                                ValidationGroup="Login1" SetFocusOnError="true" EnableClientScript="true" /> 
                                        </div> 
                                        <div class="field"> 
                                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" /> 
                                            <asp:TextBox ID="Password" runat="server" TextMode="Password" CssClass="text en"></asp:TextBox> 
                                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" CssClass="validation-error"  
                                                ValidationGroup="Login1" SetFocusOnError="true" EnableClientScript="true" /> 
                                        </div> 
                                        <div class="field"> 
                                            <asp:Label ID="RememberMeLabel" runat="server" Text="" AssociatedControlID="RememberMe" /> 
                                            <asp:CheckBox ID="RememberMe" runat="server" Text="" /> 
                                            <span class="validation-error">&nbsp;</span> 
                                        </div> 
                                        <asp:Panel ID="pnlCap" runat="server" Visible="false" class="field captcha"> 
                                            <asp:Label ID="lblEnterCaptchaCode" runat="server" AssociatedControlID="txtCaptchaCode" /> 
                                            <asp:TextBox ID="txtCaptchaCode" runat="server" CssClass="text en" Width="130" ValidationGroup="Login1" /> 
                                            <asp:RequiredFieldValidator ID="rfvCap" runat="server" ControlToValidate="txtCaptchaCode" CssClass="validation-error"  
                                                ValidationGroup="Login1" SetFocusOnError="true" /> 
                                            <br /> 
                                            <br /> 
                                            <telerik:RadCaptcha ID="captcha" runat="server" ValidationGroup="Login1" CaptchaAudioLinkButtonText=""  
                                                CaptchaTextBoxLabel="" EnableRefreshImage="True" CaptchaLinkButtonText="<span>تولید ØªØµÙˆÛŒØ± Ø¬Ø¯ÛŒØ¯</span>"  
                                                ValidatedTextBoxID="txtCaptchaCode"> 
                                                <CaptchaImage TextColor="#009900" EnableCaptchaAudio="True" FontFamily="Courier New" UseAudioFiles="True" LineNoise="Medium"  
                                                UseRandomFont="False" ImageAlternativeText="کد Ø§Ù…نیتی" Width="150" RenderImageOnly="True" /> 
                                            </telerik:RadCaptcha> 
                                        </asp:Panel> 
                                        <div class="buttons left"> 
                                            <asp:ImageButton ID="LoginButton" runat="server" CommandName="Login" CssClass="login-button" AlternateText="Log In" ImageUrl="http://cdn.samservice.dev/images/spacer.gif" 
                                                ValidationGroup="Login1" /> 
                                        </div> 
                                        <div class="message-field"> 
                                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal> 
                                        </div> 
                                    </fieldset> 
                                </LayoutTemplate> 
                            </asp:Login> 
                        </telerik:RadAjaxPanel> 

If I remove the ClientEvents-OnRequestStart="function() {return false;}" form RadAjaxPanel, the client-side validation only works the first time the page loads. The first time I use a wrong username/password to login, the page comes back with no validator attached! and from now on the page only will validate server-side.
I tried almost everything I found around the internet and nothing seemed to be able to stop this behavior.
The only solution I've came across is that return false on OnRequestStart!
Is there something I'm doing wrong?

Update: and this solution only works in firefox. Tested in IE and the faulty behavior persists...
Update2: I just found out that after the first callback returns, Page_Validators is [ ] while it was [span#cph_l1_UserNameRequired.validation-error, span#cph_l1_PasswordRequired.validation-error] at the first load...
I'll try to reconstruct it on ResponseEnd...
Update3: It seems the whole mechanism is lost after the first callback. C# code:
rap.ClientEvents.OnResponseEnd = String.Format("EnableValidators(['{0}', '{1}', '{2}']);", rfvCap.ClientID, rfvPW.ClientID, rfvUN.ClientID); 
Javascript (jQuery) Code:
function EnableValidators(list) { 
    //Page_Validators  
    var a = $(list).filter(function (index, el) { 
        return (document.getElementById(el) != null); 
    }).toArray(); 
    Page_Validators = jQuery.makeArray($(jQuery.map(a, function (el, i) { 
        return (document.getElementById(el)); 
    })).toArray()); 
} 
 but the validationGroup is lost too; even if I reset the Page_Validators as above and call the Page_ClientValidate("Login1"); client-side function, the page stays valid!

Somebody help!!!
Achilles
Top achievements
Rank 1
 answered on 07 Jul 2010
2 answers
162 views
Hello Telerik Team,

I have a client side Combo box that I am populating from a Web Service.  I would like to use the 'IsSeparator' functionality to populate the combo box with Separator items.

Is this possible using JSON results from the server?

Thanks
Bob

Bob
Top achievements
Rank 1
 answered on 07 Jul 2010
1 answer
84 views
Is there a built-in fonction in the editor to disable the <a> tags when in preview mode?
Rumen
Telerik team
 answered on 07 Jul 2010
4 answers
502 views
i want get Datatable from RadGrid in code behind.
this is way is possible?
i need datatable in my code .
please help me.

IT
Top achievements
Rank 2
 answered on 07 Jul 2010
4 answers
306 views

We are working with the Telerik RadMenu.  We want to change the graphic for the Menu Bar, our users need the option to change the graphic that appears at the top left.  Our options are to use the Telerik button image or a Menu Bar image without any graphic.  Both images contain the menu bar with the circle corner.  How do we display the proper menu bar background of the tope left corner and the uploaded graphic from the end-user?

Thomas Abruzzo
Top achievements
Rank 1
 answered on 07 Jul 2010
3 answers
90 views
I have two Raddatepicker controls on my webpage. Calendar pop-up position is not showing correctly.   It is showing perfect in IE. in Firefox the popup is away from the textbox.
Maria Ilieva
Telerik team
 answered on 07 Jul 2010
7 answers
273 views
On each content page I placed code in the Load event when Postback is true and False to capture that the user is still logged in. When the user interacts with the controls inside the RadAjax panel those lines of code in the Load event don't trigger. I also tried the Prerender event but it doesn't seem to trigger that event either.
Problem: on which page event or panel event could I place my code that fires any time a user interacts with controls inside the RadAjax panel?
Maria Ilieva
Telerik team
 answered on 07 Jul 2010
2 answers
774 views
Hi,

Can anyone please suggest me how can I disable the "Maximize" and "Minimize" buttons of a RadWindow?

Thanks
Debashis Pyne
Top achievements
Rank 1
 answered on 07 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?