Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
147 views
Hi All,
          Im using my Login Button inside the RadDock and i can't set the defaultbutton property of my page's form tag.Also i cant get my controls in script which is inside RadDock.I solved it by getting the clientID of btLogin .

  (ie):document.getElementById("<%=btLogin.ClientID %>")

and same problem might have been occured with defaultbutton .Here is my design.

 <form id="form1" runat="server" defaultbutton="btLogin">
<div>
<telerik:RadDockZone ID="rdzLogin" runat="server" Width="100%" Height="350px">
         <telerik:RadDock ID="rdLogin" Title="<b>Login</b>" runat="server" EnableAnimation="true"
             DefaultCommands="None" EnableDrag="false" Skin="Default" EnableRoundedCorners="true">
              <ContentTemplate>
                   <asp:Button ID="btLogin" runat="server" Login" OnClick="btLogin_Click" />
             </ContentTemplate>
        </telerik:RadDock>
    </telerik:RadDockZone> 
       </div>
</form>

I get the following error while setting defaultbutton in form tag itself and when i remove it no problem occurs :

The DefaultButton of 'form1' must be the ID of a control of type IButtonControl.

Can i set defaultbutton from code behind? Please Help me out...

Regards and Thanks,
    Titti.S

TSM
Top achievements
Rank 1
 answered on 25 Feb 2011
6 answers
64 views
I added a RadPanelBar to my project for the first time today. 

It immediately asks that you select "Build RadPanelBar" to begin creating the control.

I go into that, add some test bars, change the text, etc... Then I click OK.  In my design view I see the bars, text, font changes, etc... However, in the source view nothing happens.  Nothing is changed, so if I make any source changes then everything about my bars is lost.  I ended up just editing the RadPanelBar source by hand to add my items and make my font changes.

What am I doing wrong?  Why aren't my modifications made through the editor tool working?  I click "OK" when I finish and the design view changes, but the source remains empty.  It's odd because if I go back into the editor it still has all my settings in there, they just never move over to the Source view.

Is there something I need to do to actually commit the changes made in the RadPanelBar editor to my project?
Greg St.Pierre
Top achievements
Rank 1
 answered on 25 Feb 2011
6 answers
76 views
Hello,

I have a page having a couple of grids

Everything seems working fine, once it is deployed in the server the grids in a specific page is taking life to load if there is no record!

When there is no record, we bind the grid with an object having null reference

Any workarounds?

Thank you

Regards
Raj
Rajz
Top achievements
Rank 1
 answered on 25 Feb 2011
3 answers
82 views
Hi  All,

I am facing weired issue, i have a nested radgrid2 which is placed inside a top level radgrid1.

Radgrid1 has two columns, the 1st one work as primary key for Radgrid2.
Both works fine, but whenever i click the navigation button of Radgrid 2, it loose the data and after that it display
"No Data to display"


Kindly see the inline code as well as attached screen-shots.
-----------------
Code ascx: 
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Most.ascx.cs"
    Inherits="Most%>
<%@ Register Assembly="Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

    <script type="text/javascript" language="javascript">


        //sharepoint postback to work after clicking on telerik export to pdf
        if (typeof (_spBodyOnLoadFunctionNames) != 'undefined' && _spBodyOnLoadFunctionNames != null) {
            _spBodyOnLoadFunctionNames.push("supressSubmitWraper");
        }
        function supressSubmitWraper() {
            _spSuppressFormOnSubmitWrapper = true;

        }
             
        var tableView = null;
        function pageLoad(sender, args) {
            tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
        }

        function RadComboBox1_SelectedIndexChanged(sender, args) {
            tableView.set_pageSize(sender.get_value());
        }

        function changePage(argument) {
            tableView.page(argument);
        }

        function RadNumericTextBox1_ValueChanged(sender, args) {
            tableView.page(sender.get_value());
        }
       
    </script>

</telerik:RadScriptBlock>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<%--/*****************************************/--%>
<table width="980px">
    
    <tr>
        <td valign="top">
            <table width="240px">
                <tr>
                    <td>
                        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>
                                <table class="xyx-columnwidth">
                                    
                                    <tr >
                                        <td>
                                            <table>
                                                
                                                <tr>
                                                    <td align="right">
                                                       
                                                        <asp:Button ID="BtnLookup" runat="server" CssClass="xyx-sumbitbtn" OnClick="BtnLookup_Click"
                                                            OnClientClick="" Text="Submit" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                </tr>
          
}


Iana Tsolova
Telerik team
 answered on 25 Feb 2011
10 answers
264 views
I'm working with the Item Drag and Drop sample, and it works very well.  However, I have modified it slightly.  The source datagrid has a different number of columns than the destination datagrid.  I have modified the code so that when the item is dropped, I manually add the row to the grid.  That all works fine, but I really would like to know which column the item was dropped on.  Is there a way to get this information?

Thanks,
Derrick.
Jack
Telerik team
 answered on 25 Feb 2011
6 answers
304 views
Hello,

Im experiencing a wierd rendering issue with RadEditor and i really need to fix the problem, as it is driving the customer crazy. Take a look at the attached screenshots. Sometimes when I enter the page where the editor is used, the editor is not displayed at all, only a wierd list of bullets (error.jpg). I have been unable to see any pattern as to when the problem occurs, but sometimes I wont see it for days and at other times it will occur 2-3 times a day.

Do you guys have any idea of what could be the problem?

/Andreas
Rumen
Telerik team
 answered on 25 Feb 2011
6 answers
165 views
Hello Everyone

I have tried this link
http://www.telerik.com/help/aspnet-ajax/data-binding-exchange-provider.html
but i always get an error

The request failed with HTTP status 440: Login Timeout.

What might be my mistake?

Thank you
Erwin
Top achievements
Rank 1
 answered on 25 Feb 2011
1 answer
70 views
Hi,
I need some help with the css property to display the text wright for the pane tab when we select orientation as vertical.
Please compare the links below and look for the pane tab's text. I also attached the image pointing the issue.
Splitter in IE
Splitter in FireFox

Thanks,
Nawaz.
Svetlina Anati
Telerik team
 answered on 25 Feb 2011
1 answer
118 views
We tested RadControls_for_ASP.NET_AJAX_2010_1_519_dev with very simple appliocation and found out that IE8 has memory lteaks issue.
The application is just simple RadGridView that is being updating every 5 seconds with the same data. We used RadAjaxManager for the grid.
We need in future to deploy more complicated apps that, loaded to IE8 client page will work for days in the same Session without refresh.

What do we have to do to avoid this problem?

Thank You.
Tsvetoslav
Telerik team
 answered on 25 Feb 2011
1 answer
162 views
I am using RadMaskedTextBox in this way :

 <telerik:RadMaskedTextBox ID="txtMaskedCalculateAmount" runat="server" Mask="#,###,###,###"    PromptChar=" " ToolTip="Unicamente Digitos">
                                     </telerik:RadMaskedTextBox>

This text box is always showing , in text box in every case even text box is empty.
I want to implement this thing here :
The field is displayed only spaces then when user starts typing
9
99
999
9,999 only when 4th digit is type the comma is inserted
99,999
999,999
9,999,999 here comma is inserted after 7th digit is typed

Is it possible with this ?if yes then please provide nme solution.
Tsvetoslav
Telerik team
 answered on 25 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?