Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
260 views
hi I want to ask how to get datakey value from radgrid in hierarchy mode , when double click event?

function RowDblClick(sender, args) {
            alert(args.getDataKeyValue("RJENIS"));
}

thats work only for the parent , but I want to get datakey value from the child.
please suggest...

waiting for your reply.
Edi
Top achievements
Rank 1
 answered on 19 Nov 2010
7 answers
379 views
Hi

I have a RadSlider on a page which renders correctly if the page is opened directly, however when the page is in an iframe the control is not rendered properly.

I get the up / down buttons and the slider image, but no bar, it only renders if the control is refreshed for example by having it as an updated control from RadAjaxManager.

Any ideas?

Andy

Tsvetie
Telerik team
 answered on 19 Nov 2010
2 answers
31 views
Is it possible to use different configuration files for different lists within one site?
Andy
Top achievements
Rank 1
 answered on 19 Nov 2010
1 answer
397 views
I  used the below CSS to change the Font color in the Disabled RadCombobox.

<code snip>
.RadComboBox_Default .rcbDisabled .rcbInputCell .rcbInput,
.RadComboBoxDropDown_Default .rcbDisabled
{
    background-color: #808080;
    color: blue;
    font-weight: bold;
}
<code snip end>

But the font color change is reflected only in FireFox, but it IE 8 the font color is default gray color.

Note: This css change is mentioned in the below Telerik Forum URL
http://www.telerik.com/community/forums/aspnet/combobox/changing-the-default-style-for-disabled-or-enabled-false-radcombobox.aspx
.RadComboBox_Default .rcbDisabled .rcbInputCell .rcbInput,
Cori
Top achievements
Rank 2
 answered on 19 Nov 2010
3 answers
204 views
Hello
I'm trying the Radbutton control, but reach a point where I use a classic asp button and a control radtooltip to show control user to login, to do with the button shows the classic asp perfect result, but doing so with radbutton control only shows me assigned to the button text.

Code for Asp Clasic
<telerik:RadToolTip ID="RadToolTipLogin" runat="server" HideEvent="ManualClose" TargetControlID="Loginin"
        IsClientID="true" Skin="Windows7" VisibleOnPageLoad="false" ShowEvent="OnClick">
        <Demo:UserLogin ID="WebUserLogin1" runat="server" />
</telerik:RadToolTip>
<asp:Button runat="server" ID="Loginin" Text="Login" />

Code radbutton
<telerik:RadToolTip ID="RadToolTipLogin" runat="server" HideEvent="ManualClose" TargetControlID="Loginin"
        IsClientID="false" Skin="Windows7" VisibleOnPageLoad="false" ShowEvent="OnClick">
        <Demo:UserLogin ID="WebUserLogin1" runat="server" />
</telerik:RadToolTip>
 <telerik:RadButton ID="Loginin" runat="server" Skin="Windows7" Text="Login"    Width="90px" AutoPostBack="false" Icon-PrimaryIconUrl="~/images/lock16.png">
</telerik:RadButton>

Thanks for the help 

Alex.
.co







Damien
Top achievements
Rank 1
 answered on 19 Nov 2010
1 answer
102 views

Hello,
I have a GridNumericColumnEditor wich works fine with positive numbers ,but when i insert a negative number it automaticly puts the minus sign
to the right of the number.

for example i get 33- insted of -33.
what shuld i do to get the minus sign to the left of the number.

I tried to work with the NumberFormat-NegativePattern property and set it to "-n" but it was not worked.

Here is my decleration to my GridNumericColumnEditor

 

<telerik:GridNumericColumnEditor runat="server" ID="VALUEEditor">
    <NumericTextBox runat="server" ID="txtBox1"   NumberFormat-DecimalDigits="7" EnabledStyle-Width="22"  EnabledStyle-HorizontalAlign="Left"    MaxLength="16">
    </NumericTextBox>
</telerik:GridNumericColumnEditor>

thank,
Gerry

Martin
Telerik team
 answered on 19 Nov 2010
2 answers
160 views
When running IE8 with Compatibility View mode the RadButton text is sometimes missing or distorted after scrolling out of view and back into view.  You can see this with some of the demos like the Split Button demo.

http://demos.telerik.com/aspnet-ajax/button/examples/splitbutton/defaultcs.aspx

Sometimes it repaints the text correctly after a couple of seconds. 

Is there a workaround for this problem?
John
Top achievements
Rank 1
 answered on 19 Nov 2010
2 answers
167 views
Hi,
  I have a problem regarding the retrieving latest 10 images into rad rotator from folder by using the image path stored in sql server.
For this i placed the asp:image tag in item template of radrotator and assigned imageurl to handler.ascx file. but i'm not sure about passing "id" from image url to handler.ascx file.
here, in handler.ascx file i retrieved the image path's from sql server db.
Help me from this problem...
saratchand
Top achievements
Rank 2
 answered on 19 Nov 2010
6 answers
258 views
Hi,

We have a user control that has a rad ajax panel on there to "ajaxify" the page.  Upon clicking the Submit button we fire off an ajax request to the server and then add some javascript to our panels response scripts.

This is working in all browsers except... yes you guessed it... IE6!

In IE 6 all of the server side code is executed but the client script that was added to the response scripts is not fired.  We then get the following error message:

"Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed."
This is thrown at the following location:

_endPostBack: function PageRequestManager$_endPostBack(error, executor, data) {
        if (this._request === executor.get_webRequest()) {
            this._processingRequest = false;
            this._additionalInput = null;
            this._request = null;
        }
 
        var eventArgs = new Sys.WebForms.EndRequestEventArgs(error, data ? data.dataItems : {}, executor);
        Sys.Observer.raiseEvent(this, "endRequest", eventArgs);
        if (error && !eventArgs.get_errorHandled()) {
            throw error;
        }
    },

I have no idea where to go from this point so any help is greatly appreciated.  I have also included the
code below to help diagnose what the issue could be.

<telerik:RadAjaxPanel ID="rap" runat="server" Width="100%" OnAjaxRequest="rap_AjaxRequest"
    LoadingPanelID="ralp">
    <div id="enquiryWrapper">
        <div id="detailsDiv">
            <h2>
                Your Details</h2>
            <h3>
                Name:</h3>
            <p>
                <asp:TextBox ID="NameBx" runat="server"></asp:TextBox></p>
            <h3>
                Telephone:</h3>
            <p>
                <asp:TextBox ID="TelBx" runat="server"></asp:TextBox></p>
            <h3>
                Email:</h3>
            <p>
                <asp:TextBox ID="EmailBx" runat="server"></asp:TextBox>
                <asp:HiddenField ID="hidSubject" runat="server" ClientIDMode="Static" />
            </p>
        </div>
        <div id="requestDiv">
            <h2>
                Nature of your enquiry</h2>
            <textarea id="EnqTxtBx" cols="40" rows="10"></textarea>
        </div>
        <div id="submitDiv">
            <h2>
                Submit your request</h2>
            <img id="sendBtn" alt="SendButton" src="themes/buttons/SendBtn.png" class="clickable"
                title="Submit your Enquiry" onclick="SendEnquiry()" onmouseover="javascript:this.src='themes/buttons/sendBtn-on.png'"
                onmouseout="javascript:this.src='./themes/buttons/sendBtn.png'" />
            <img id="cancelBtn" alt="CancelButton" src="themes/buttons/CancelBtn.png" class="clickable"
                title="Cancel" onclick="SlideOut(0,'top','OUT')" onmouseover="javascript:this.src='themes/buttons/cancelBtn-on.png'"
                onmouseout="javascript:this.src='themes/buttons/cancelBtn.png'" />
            <div id="EnqMessageDiv" runat="server" style="display: none;">
                <img src="./themes/cross.png" alt="Invalid: " runat="server" id="MessageImg" style="width: 16px;
                    height: 16px;" />
                <asp:Label runat="server" ID="MessageLbl"></asp:Label>
            </div>
        </div>
    </div>
</telerik:RadAjaxPanel>
<telerik:RadScriptBlock ID="rsb" runat="server">
    <script type="text/javascript">
        function SendEnquiry()
        {
            var oAjax = <%= rap.ClientID %>;
            var txtBx = document.getElementById("EnqTxtBx");
            var EnqTxt = txtBx.value;
            oAjax.ajaxRequest("Enq|"+EnqTxt+"|");
        }
    </script>
</telerik:RadScriptBlock>
<telerik:RadAjaxLoadingPanel ID="ralp" Runat="server" Skin="Default" Transparency="50">
</telerik:RadAjaxLoadingPanel>

protected void rap_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
        {
            string[] Args = e.Argument.Split('|');
 
            if (Args[0] == "Enq")
            {
                ..... Process data .....
 
                if (dnCustom.strFuncs.isValidEmail(EmailBx.Text))
                {
                    if (!PromatMail.SendMail())
                    {
                        BlankFields();
                        rap.ResponseScripts.Add("alert('Sorry! We are experiencing errors in our mail server at this time. Please try again later'); SlideOut(0,'top','OUT');");
                    }
                    else
                    {
                        BlankFields();
                        if (!CustMail.SendMail())
                        {
                            rap.ResponseScripts.Add("alert('Thankyou for your enquiry we will get back to as soon as possible'); SlideOut(0,'top','OUT');");
                        }
                        else
                        {
                            rap.ResponseScripts.Add("alert('Thankyou for your enquiry we will get back to as soon as possible'); SlideOut(0,'top','OUT');");
                        }
                    }
                }
                else
                {
                    rap.ResponseScripts.Add("alert('The Email address you supplied is invalid. please amend it and try again.');");
                }
            }
        }


Thanks in advance,

M
Maria Ilieva
Telerik team
 answered on 19 Nov 2010
1 answer
57 views
Hi,

I have a grid having a DetailTable. If I try to group with a column in DetailTable ,Feilds are not binding Properly.
Some Columns are showing values of some other fields and Some Columns are missing.
Please help me to solve this issue.
Tsvetina
Telerik team
 answered on 19 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?