Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
297 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
84 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
110 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
144 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
178 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
3 answers
157 views
Can someone help me with a problem.
Actually 2 problems...
The first one is Telerik related but maybe not a Telerik issue per-se
I am using Telerik Telerik.Web.UI.dll Version 2010.3.1317.40 on a DotNetNuke 04.09.05 website
http://Sarvac.ca

On any page using modules I create with Ajax, I get an error that I need to have an Ajax Script Manager on the page.
Adding one does not help.
I don't know why I get that error because I never needed one before because in the DotNetNuke host settings there is an option for Use Ajax and in the module settings a checkbox for Allow Prerendering .
Also, on my Dev server (IIS 7, Windows 7) it works fine- same site files and same web.config but no error.

I get around this by adding the Telerik Script manager and the Telerik Ajax manager and all is OK but...
For my own modules I created I don't mind doing this but for 3rd party modules which I dont have the source code for, it is a problem.

Does anyone know of something that could be different that would cause this issue?
On the prod server that I get the error, it is Windows Server 2003, IIS 6

Second issue:
How do you handle requirements to use 2 different versions of Telerik dll at same time.

This is regarding 3rd party 'Rezults' module I installed from OnyakTech which use an older version of Telerik than I use.
Heres what happenned:
- Uninstalled Onyaktech library
- It also removed Telerik DLL which I need for modules I created
- I replaced the Telerik DLL- OK
- Reinstalled Library- no errors
- Tested the OnyakTech Rezults module- seemed to work OK now
- Replaced the Telerik DLL with newer version
- Rezults broken again.

 " Could not load file or assembly 'Telerik.Web.UI, Version=2009.3.1103.20 "
Bill
Top achievements
Rank 1
 answered on 15 Mar 2011
3 answers
89 views
I'm using the code from the demo Grid / Window Editing. 

This part of the code doesn't work. 

 

 

Dim Details As HyperLink = DirectCast(e.Item.FindControl("DetailsLink"), HyperLink)

 

 

Details is set to nothing.

 


Tsvetoslav
Telerik team
 answered on 15 Mar 2011
1 answer
102 views
I couldn't find a direct answer to this question, and I haven't had any luck making it work either.

For example:
on "Page0.aspx", I have a RadWindowManager and a button.
When I click the button, a RadWindow is created and added to the RadWindowManager server-side.

Initially, the RadWindow loads "Page1.aspx"....from "Page1", I navigate to "Page2.aspx" (This is all inside the RadWindow)

Now, I click the button on "Page0.aspx" and it adds another RadWindow to the RadWindowManager.

My first RadWindow which should be showing "Page2", now goes back to its default page: "Page1".

I've messed with opening RadWindows client-side and that seems to do what I want to a limited extent.

But I want to be able to work with the RadWindows server side.  Possible?
Cori
Top achievements
Rank 2
 answered on 15 Mar 2011
1 answer
321 views
I am having some trouble using the repaint method??
The problem I am having is that the filter is a set of textboxes, drop-down, etc.  When I hide them the grid moves up and expands to fill the available space, as I would like it to do.  But the grid contents just move up and dont expand.

Here is my javascript code (I am able to access the grid, but the repaint method does not seem to exist):
case "tbrQueryPanel":
    var filter = contentWin.document.getElementById("filter");
    if (filter) {
        if (filter.style.display == '') {
            filter.style.display = 'none';
        }
        else {
            filter.style.display = '';
        }
    }
    var grid = contentWin.document.getElementById("Grid_RadGrid");
    grid.repaint();
    break;

Here is my Grid (scrolling and static headers are enabled, and it is nested inside a user control, which is nested inside a radpane, inside another container):
<telerik:RadScriptManager ID="ScriptManager" runat="server" />
<telerik:RadGrid ID="RadGrid" runat="server" Width="100%" Height="100%"
    Font-Names="Verdana" GridLines="Horizontal" AllowSorting="True" ShowGroupPanel="True" 
    Skin="Office2007" AllowPaging="True" PageSize="50" AutoPostBack="True"
    <MasterTableView>
        <HeaderStyle Wrap="false" />
    </MasterTableView>
    <ClientSettings AllowDragToGroup="True">
        <Scrolling UseStaticHeaders="true" AllowScroll="True" SaveScrollPosition="True"/>
        <Selecting AllowRowSelect="True" />
        <ClientEvents OnRowDblClick="RowDblClick" />
    </ClientSettings>
    <PagerStyle AlwaysVisible="true" />
    <ExportSettings ExportOnlyData="true" IgnorePaging="true"/>
</telerik:RadGrid>
...
Galin
Telerik team
 answered on 15 Mar 2011
1 answer
224 views
Hi:

I am just trying to bind radgird from client side with WCF service, I found one example online it is not working.
The senario is i need to pass 3 to 4 parameters to the service to get the result from the service and bind to grid.
if any example that can give an idea will help. I am totally new to WCF.

Thanks
Vasu

Tsvetina
Telerik team
 answered on 15 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?