Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
111 views
Hi All,

I have implemented the self ref hierarchy in my page as per the instruction and it is working fine. but yesterday i found that when there are more than 15 records (15 is page size for grid) on secondary level grid shows pagination footer and after clicking on next page button (secondary level pagination) it updates primary level and navigate to the next page of grid instead of secondary levels next page. :(

Please help me..

This is my code
    <telerik:RadGrid ID="RadGrid1" AllowPaging="true" runat="server" PageSize="15">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView HierarchyDefaultExpanded="true" HierarchyLoadMode="Client" Width="100%"
            DataKeyNames="PRIMARYSERIALNUMBER,SERIALNUMBER">
            <SelfHierarchySettings ParentKeyName="PRIMARYSERIALNUMBER" KeyName="SERIALNUMBER" />
            <Columns>
                <telerik:GridTemplateColumn>
                    <ItemTemplate>
                        <asp:HyperLink ID="hLinkName" runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem, "NAME") %>'> </asp:HyperLink>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>  
chetan jagtap
Top achievements
Rank 1
 asked on 15 Mar 2011
4 answers
331 views
Given all the known advantages/disadvantages of doing an ASP.NET or a WinForm app, which way would you go if you are building an internal application and don't need the "Hey, I could go to ANY computer and get to the asp.net app!" advantage?  I look at the number of threads in the asp.net forum and then the winform forum and I get the overwhelming sense that most are using asp.net.

It's been about 6 years since I've done any serious coding but I need to get back into the game to modernize myself.  Therefore I may agree to write a fair sized application for a company.  Telerik will enable me to accelerate the development of the app, etc.  Now the choice becomes asp.net or winform?

I gravitate away from from asp.net because that platform just seems to fight you each step of the way.  Things that are simple in winforms are not in asp.net.  Are they truly that way or is because I have not done any significant coding in a while?  It also seems that Telerik is embracing the browser apps more than winforms so that should confirm the continued tried of the industry towards asp.net.

I think I already know the response but if you got YOUR choice would you do the winform or the asp.net?
Stefan
Telerik team
 answered on 15 Mar 2011
2 answers
228 views
hi to all
 i have a radgrid bind on neededdatasource and now i want to rebind it on button click before that i want to clear the radgrid.
How can I do this?
help me......
thanks
Jaroslaw
Top achievements
Rank 1
 answered on 15 Mar 2011
6 answers
389 views
I have two RadListBox controls in a ASP.NET user control with the allowtransfer property set to true. I  populate the RadListBox with RadListBoxItems on page load. The RadListBox is populated, but the text is not visible for any of the items. If I transfer the items to the other RadListBox, they transfer, but they are again not visible. I then refresh the page and I can see them in the second RadListBox. I transfer them back to the first RadListBox and the text is then visible in that listbox also. Please help, I can't seem to find what is causing the text to not display.
Genady Sergeev
Telerik team
 answered on 15 Mar 2011
2 answers
172 views

Hi @

I am using Telerik Rad list boxes in my application The list box's are inside Telerik:RadAjaxPanel. I some time get the following error when the page with RadListbox loads.

This is a show stopper in my application. I am forced to go back to asp:list boxes.

The content page is inside a Nested Master Page and master page contain the Rad tab strip.

Please help me how to get rid of this Issue.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Wed, 9 Mar 2011 09:47:16 UTC

Message: Sys.InvalidOperationException: Component 'ctl00_ctl00_ContentPlaceHolder1_Main_uclFieldSelection_RHSListBox' was not found.
Line: 4599
Char: 25
Code: 0
URI: ScriptResource.axd?d=qlvRxOrmpywM_08z8refchHddcbVZsvK4Ywotss_Ymd_2hJVYkLcDxVnLi_OeSkv8B6tfayteJ6SVeKd7o_DwYe4725KqPpiYzA653aPMP_F0rYUNPf5bufsZONZE3BA1W0wDg2&t=ffffffffcb989f59

I have tried the following options without any success:
1) Made sure that ScriptResource.axd reference is in web.config <httphandlers> and <handlers> section.
2) I have replaced the telerik:radajaxpanel with asp:updatepanel
3) I have removed all the client side events from the list boxes.
4) I have made sure that order of ScriptManager is at the top of any other controls

Please suggest me how to proceed.

Genady Sergeev
Telerik team
 answered on 15 Mar 2011
1 answer
326 views
In RadGrid we have a property "EnableColumnViewState" which can be set as false so that the grid when we add and remove columns across postbacks there is no error like "'ColumnName' is neither a DataColumn nor a DataRelation for table Table."

The same Error I am encountering in RadTreeList but i am unable to find a property like "EnableColumnViewState". Is there any Property like this available in RadTreeList currently. If not can anyone please tell me what else could be causing the issue.

Thanks In Advance.

Tsvetina
Telerik team
 answered on 15 Mar 2011
1 answer
91 views
Hi ,

I am using a RadAjaxLoadingPanel in my web page with RadAjaxManagerProxy .I am updating grid control with RadAjaxManagerProxy  and has included this loading Panel while updating. The problem I am facing is that in my application the loading image   icon but hides behind the grid . Its not displayed over the grid . I don't why this is happening because same code I am using on another page in our application and its working perfectly.


Please help in this, Thanks in advance
Radoslav
Telerik team
 answered on 15 Mar 2011
1 answer
118 views
How can I style or get my ajax treeview contorl to look like the one on the Silverlight Dashboard demo?

Thanks,
KS
Shinu
Top achievements
Rank 2
 answered on 15 Mar 2011
3 answers
161 views
Dears,

I’m facing some problems with my rad grid view when i'm doing any postpack please check the attached image

thank you
khalil hamad

Maria Ilieva
Telerik team
 answered on 15 Mar 2011
2 answers
193 views
Hi,

I am philip. I am using your product in our project.

I am using RadAjaxManagerProxy in my code. When I run the code I got the error like, Sys.InvalidOperation: Could not find the update panel with ID 'ctl00_ctl00_ContentPlaceHolder1_txtDailuLimtvaluepanel'. Pls find the code below.. Pls solve the problem to avoid the error. Pls find the attachment of error.

<asp:Content ID="BodyContent" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadWindowManager ID="RadWindowManager" runat="server" 
        Skin="Office2007"></telerik:RadWindowManager>    
    <telerik:RadAjaxPanel ID="radAjaxPanel" runat="server">    
        <div id="content">
            <div id="container">
                <div class="left_col">
                    <table class="table">
                        <tr>
                            <td class="table">
                                <div class="box stacked">
                                    <ucCountryBasicInfo:CountryBasicInfo ID="ucCountryBasicInfo" runat="server" />
                                </div>
                            </td>
                        </tr>             
                    </table>
                </div>
                <div class="right_col">
                    <table class="table">
                        <tr>
                            <td class="table">
                                <h2>
                                    <asp:Literal ID="ltrlHomeCountryActivity" runat="server" Text="Home Country Activity"></asp:Literal>
                                </h2>
                            </td>
                        </tr>
                        <tr>
                            <td class="table">
                                <fieldset>
                                    <table class="table">
                                        <tr>
                                            <td class="tableLeft">
                                                <label>
                                                    <asp:Literal ID="ltrlSirasVelocityProfile" runat="server" Text="Siras Velocity Profile"></asp:Literal>
                                                </label>
                                            </td>                                            
                                            <td>
                                                <telerik:RadComboBox ID="cmbVelocityProfileId" runat="server" 
                                                    AutoPostBack="true" 
                                                    Width="210px" 
                                                    onselectedindexchanged="cmbVelocityProfileId_SelectedIndexChanged1">
                                                </telerik:RadComboBox>                                           
                                            </td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </td>
                        </tr>
                    </table>
                </div>
                <table class="table">
                    <tr>
                        <td style="height: 1px;" valign="top">
                            <div class="box">
                                <fieldset>
                                    <table>                                            
                                        <tr>                                                                                            
                                            <td style="width: 25%;" valign="top">
                                                <table style="width: 100px;height:130px;" >
                                                    <tr>
                                                        <td style="width: 20%;height:16%;" >
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height:20%;">
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlDaily" runat="server" Text="Daily"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height :20%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlWeekly" runat="server" Text="Weekly"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height :20%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlMonthly" runat="server" Text="Monthly"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height :20%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlTransactions" runat="server" Text="Transactions"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                </table>
                                            </td>
                                            <td style="width: 25%;" valign="top"  runat="server" id="tblValue">
                                                <table style="width: 100px;height:120px;" >
                                                    <tr>
                                                        <td style="width: 20%;height:16%;" >
                                                            <label>                                                   
                                                               <asp:Literal ID="ltrlValue" runat="server" Text="Value"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height:20%;" >
                                                            <asp:TextBox ID="txtDailyValueLimit" runat="server" Width="120px" MaxLength="12"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtWeeklyValueLimit" runat="server" Width="120px" MaxLength="12"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtMonthlyValueLimit" runat="server" Width="120px" MaxLength="12"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtTransactionValueLimit" runat="server" Width="120px" MaxLength="12"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                </table>
                                            </td>
                                            <td style="width: 25%;" valign="top" runat="server" id="tblVolume">
                                                <table style="width: 100px;height: 120px;" >
                                                    <tr>
                                                        <td style="width: 20%;height: 16%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlVolume" runat="server" Text="Volume"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtDailyVolumeLimit" runat="server" Width="120px" MaxLength="9"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtWeeklyVolumeLimit" runat="server" Width="120px" MaxLength="9"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtMonthlyVolumeLimit" runat="server" Width="120px" MaxLength="9"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtTransactionVolumeLimit" runat="server" Width="120px" MaxLength="9"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                </table>
                                            </td>
                                            <td style="width: 25%;" valign="top" runat="server" id="tblUsage" >
                                                <table style="width: 100px;height: 120px;" >
                                                    <tr>
                                                        <td style="width: 20%;height: 16%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlUsage" runat="server" Text="Usage"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtDailyUsageLimit" runat="server" Width="120px" MaxLength="4"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtWeeklyUsageLimit" runat="server" Width="120px" MaxLength="4"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtMonthlyUsageLimit" runat="server" Width="120px" MaxLength="4"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="TextBox1" runat="server" Width="120px" MaxLength="4" Visible="false"></asp:TextBox>
                                                        </td> 
                                                    </tr>                                                    
                                                </table>
                                            </td>
                                            <td style="width: 50%;" valign="top" runat="server" id="tblEmpty"></td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </div>
                        </td>
                    </tr>
                </table>                    
                <p class="buttons">
                    <asp:Button runat="server" ID="btnSave" Text="Save" onclick="btnSave_Click" />
                    <asp:Button runat="server" ID="btnReset" Text="Reset" 
                        onclick="btnReset_Click" />
                </p>
            </div>
            <div id="container-footer">
            </div>
        </div>
        <telerik:RadInputManager ID="radInputManager" runat="server">
            <telerik:RegExpTextBoxSetting BehaviorID="DailyValue" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtDailyValueLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="DailyVolume" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtDailyVolumeLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="DailyUsage" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtDailyUsageLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="WeeklyValue" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtWeeklyValueLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="WeeklyVolume" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtWeeklyVolumeLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="WeeklyUsage" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtWeeklyUsageLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="MonthlyValue" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtMonthlyValueLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="MonthlyVolume" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtMonthlyVolumeLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="MonthlyUsage" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtMonthlyUsageLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="TransValue" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtTransactionValueLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="TransVolume" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtTransactionVolumeLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
        </telerik:RadInputManager> 
        <telerik:RadAjaxManagerProxy ID="radAjaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnSave">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="txtDailyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtTransactionsValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtDailyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtTransactionsVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtDailyUsageLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyUsageLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyUsageLimit" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cmbVelocityProfileID">
                <UpdatedControls>                    
                    <telerik:AjaxUpdatedControl ControlID="txtDailyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtTransactionsValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtDailyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtTransactionsVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtDailyUsageLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyUsageLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyUsageLimit" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy> 
    </telerik:RadAjaxPanel>       
</asp:Content>
Maria Ilieva
Telerik team
 answered on 15 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?