Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
100 views
I have a form with bunch of controls and a RadChart. Based on user's input I create the serieses (point chart) on the server side. Everything works fine except when the user chooses different parameter(s), the form seems to be posting the ploted data back to the server which is a problem for us. For one, it takes too long and second we get max data length error as the plotted data might exceed 4 meg.

The question is, is there any way to tell the Radchart not to post back data?
Thanks for the help.

-MK
Billy8988
Top achievements
Rank 1
 answered on 28 Jul 2008
1 answer
210 views

Hi All,

I am building a grid with detailed table to show Departments and in the detailed table there are Persons and SubDepartments. I am trying to build another detailed table to show the Persons inside the SubDepartments, however I was the first Detailed table to have the expand button only if it is SubDepartments and not showing it when it is Persons inside the main Departments.
Here is what I have in the aspx;

<radG:RadGrid ID="rgDep" runat="server" AutoGenerateColumns="False" GridLines="None" Skin="WebBlue">  
    <MasterTableView DataKeyNames="ContactID" HierarchyLoadMode="ServerBind">  
        <Columns> 
          <radG:GridBoundColumn DataField="ContactID" Display="False" HeaderText="ContactID" ReadOnly="True"   
            UniqueName="ContactID">  
          </radG:GridBoundColumn> 
          <radG:GridBoundColumn DataField="Contact" HeaderText="Department" ReadOnly="True" UniqueName="Contact">  
            <ItemStyle Font-Bold="True" /> 
          </radG:GridBoundColumn> 
          <radG:GridBoundColumn DataField="Ext" HeaderText="Extension" ReadOnly="True" UniqueName="Ext">  
          </radG:GridBoundColumn> 
          <radG:GridBoundColumn DataField="Pager" HeaderText="Pager" UniqueName="Pager">  
          </radG:GridBoundColumn> 
          <radG:GridBoundColumn DataField="Office" HeaderText="Office" UniqueName="Office">  
          </radG:GridBoundColumn> 
          <radG:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="Fax">  
          </radG:GridBoundColumn> 
          <radG:GridBoundColumn DataField="IP" HeaderText="IP" UniqueName="IP">  
          </radG:GridBoundColumn>           
        </Columns> 
        <RowIndicatorColumn Visible="False">  
        <HeaderStyle Width="20px"></HeaderStyle> 
        </RowIndicatorColumn> 
        <ExpandCollapseColumn> 
            <HeaderStyle Width="19px"></HeaderStyle> 
        </ExpandCollapseColumn> 
        <DetailTables> 
            <radG:GridTableView runat="server" HierarchyLoadMode="Client" GroupLoadMode="Client" DataKeyNames="DepID, ContactID" HierarchyDefaultExpanded="True" Width="100%">  
                <RowIndicatorColumn Visible="False">  
                    <HeaderStyle Width="20px" /> 
                </RowIndicatorColumn> 
                <ExpandCollapseColumn Visible="False">  
                    <HeaderStyle Width="19px" /> 
                </ExpandCollapseColumn>              
                <Columns> 
                    <radG:GridBoundColumn DataField="ContactID" Display="False" HeaderText="ContactID" ReadOnly="True"   
                        UniqueName="ContactID">  
                    </radG:GridBoundColumn> 
                    <radG:GridBoundColumn DataField="ContactType" HeaderText="ContactType" UniqueName="ContactType">  
                    </radG:GridBoundColumn>                                      
                    <radG:GridBoundColumn DataField="DepID" Display="False" HeaderText="DepID" 
                        ReadOnly="True" UniqueName="DepID">  
                    </radG:GridBoundColumn> 
                    <radG:GridBoundColumn DataField="Contact" HeaderText="Contact" UniqueName="Contact1">  
                    </radG:GridBoundColumn> 
                    <radG:GridBoundColumn DataField="EXT" HeaderText="Ext" UniqueName="Ext1">  
                    </radG:GridBoundColumn> 
                    <radG:GridBoundColumn DataField="Pager" HeaderText="Pager" UniqueName="Pager1">  
                    </radG:GridBoundColumn> 
                    <radG:GridBoundColumn DataField="Office" HeaderText="Office" UniqueName="Office1">  
                    </radG:GridBoundColumn> 
                    <radG:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="Fax1">  
                    </radG:GridBoundColumn> 
                    <radG:GridBoundColumn DataField="IP" HeaderText="IP" UniqueName="IP1">  
                    </radG:GridBoundColumn> 
                </Columns> 
                <ParentTableRelation> 
                    <radG:GridRelationFields DetailKeyField="DepID" MasterKeyField="ContactID" /> 
                </ParentTableRelation> 
                  
                <DetailTables> 
                    <radG:GridTableView runat="server" HierarchyLoadMode="Client" GroupLoadMode="Client" DataKeyNames="DepID" HierarchyDefaultExpanded="True" Width="100%">  
                        <RowIndicatorColumn Visible="False">  
                            <HeaderStyle Width="20px" /> 
                        </RowIndicatorColumn> 
                        <ExpandCollapseColumn Visible="False">  
                            <HeaderStyle Width="19px" /> 
                        </ExpandCollapseColumn> 
                        <Columns> 
                            <radG:GridBoundColumn DataField="DepID" Display="False" HeaderText="DepID" 
                                ReadOnly="True" UniqueName="DepID">  
                            </radG:GridBoundColumn> 
                            <radG:GridBoundColumn DataField="Contact" HeaderText="Contact" UniqueName="Contact2">  
                            </radG:GridBoundColumn> 
                            <radG:GridBoundColumn DataField="EXT" HeaderText="Ext" UniqueName="Ext2">  
                            </radG:GridBoundColumn> 
                            <radG:GridBoundColumn DataField="Pager" HeaderText="Pager" UniqueName="Pager2">  
                            </radG:GridBoundColumn> 
                            <radG:GridBoundColumn DataField="Office" HeaderText="Office" UniqueName="Office2">  
                            </radG:GridBoundColumn> 
                            <radG:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="Fax2">  
                            </radG:GridBoundColumn> 
                            <radG:GridBoundColumn DataField="IP" HeaderText="IP" UniqueName="IP2">  
                            </radG:GridBoundColumn> 
                        </Columns> 
                        <ParentTableRelation> 
                            <radG:GridRelationFields DetailKeyField="DepID" MasterKeyField="ContactID" /> 
                        </ParentTableRelation> 
                    </radG:GridTableView>              
                </DetailTables>      
                  
            </radG:GridTableView>              
        </DetailTables>       
    </MasterTableView>      
    <ClientSettings> 
        <Selecting AllowRowSelect="True" /> 
    </ClientSettings> 
</radG:RadGrid> 
It looks big but really it is not.
I am thinking to do this in the Detailed Table ItemDataBound, I just don't know how to pull the values to verify if it persons or subDepartments.

Thanks for all the help,
Shehab
Sebastian
Telerik team
 answered on 28 Jul 2008
2 answers
108 views
Hi,

after registering scriptmanager I get the line

<

add assembly="Telerik.Charting, Version=2.0.3.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>



added to my web.config.
This (I'm almost sure) happens also when I add any RadControl to a page.
I don't use charts - the dll is not copied to the bin folder - why that ref?
VS: 2008 - german
RC-Ajax: q2 2008

Regards

Manfred
Ves
Telerik team
 answered on 28 Jul 2008
1 answer
98 views
Hello,

is it possible to use Sharepoint permissions in the RadEditor ?
We want two groups of publisher.
First group need alle possibilities of radeditor.
The second group need less possibilities fo radeditor.

Is it possible to bind a sharepoint permission on an Tools.xml setting file ?

I found these example :
 RadEditor1.ToolsFile = "~/Editor/Examples/Default/FullSetOfTools.xml";

But I don't want program anything. I only want to configure.

Greatings
Martin
George
Telerik team
 answered on 28 Jul 2008
2 answers
161 views
Hi All,

I am using  radgrid and radajaxmanager.
on page load it gives me error as

1>Microsoft JScript runtime error: 'Sys.WebForms.PageRequestManager' is null or not an object.

2>
I want client side row selection .Here i set the grid property but still it not allow me to select the row.

I bind the grid on page load.
The Code Are Folllows.

<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/CTX.master" CodeBehind="frmRepairOrder.aspx.vb" Inherits="CtraxENet2.frmRepairOrder"  Trace= "false" %>

 <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
   
<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="server">
       
   

<telerik:RadCodeBlock ID="radCodeBlock" runat="server" >
           
         <script type="text/javascript">
             function RowSelected(sender, args)
             {
                     
           
                        
                document.getElementById('<%=hFieldRowSelected.ClientID %>').value="true";
              
                document.getElementById('<%=hFieldSelectdRowValue.ClientID %>').value=args.getDataKeyValue("ro_number")+"#"+args.getDataKeyValue("branch");;
               
                 //
                 __doPostBack("Page","rGridRepairOrder");
             }
        </script>
       
        </telerik:RadCodeBlock>

 <telerik:RadAjaxManager ID="radAjaxManger1" runat="server" EnableAJAX="true">
    <AjaxSettings >
    <telerik:AjaxSetting AjaxControlID ="rGridRepair1" >
    <UpdatedControls >
    <telerik:AjaxUpdatedControl ControlID ="rGridRepair1" LoadingPanelID ="radLoadingPnl" />
    </UpdatedControls>
    </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>
   
    <telerik:RadAjaxLoadingPanel ID="radLoadingPnl"  runat="server" BackColor="Control" Transparency="15" >
     <asp:Image ID="imgCustom1" runat="server"
                    ImageUrl="~/images/loadingFinal.gif" />
    </telerik:RadAjaxLoadingPanel> 



    <telerik:RadGrid id="rGridRepair1" LoadingTemplateTransparency="15"
              runat="server" allowsorting="True" ClientSettings-AllowKeyboardNavigation="true" 
                                skin="Outlook" AutoGenerateColumns="False" AllowPaging="True"
               GridLines="None"  Width="99.5%"
              Height="90px" ShowStatusBar="True" >
             
                <ClientSettings AllowKeyboardNavigation="True">
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="False" />
                    <ClientEvents  OnRowSelected="RowSelected" />
                    <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                </ClientSettings>
               
              
                <PagerStyle Mode="NextPrevAndNumeric" Position="Top" />
                <HeaderStyle Height="20px" />
                <ItemStyle Height ="20px" />
                <MasterTableView EditMode="InPlace" GridLines="Both" DataKeyNames="branch,ro_number" ClientDataKeyNames="branch,ro_number" PageSize="2">
                    <RowIndicatorColumn Visible="False">                       
                        <HeaderStyle Width="20px" />
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn Visible="False" Resizable="False"
                        AutoPostBackOnFilter="True">                      
                        <HeaderStyle Width="20px" />
                    </ExpandCollapseColumn>
                    <Columns>                   
                   
                        <telerik:GridBoundColumn DataField="branch" HeaderText="Branch" UniqueName="Branch" ReadOnly="True" CurrentFilterFunction="IsNull" Display="False">
                            <HeaderStyle Width="100px" />
                            <ItemStyle Width="100px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ro_number" Display="False" HeaderText="Repair Order Number"
                            UniqueName="ro_number" ReadOnly="True">
                            <HeaderStyle Width="100px" />
                            <ItemStyle Width="100px" />
                        </telerik:GridBoundColumn>
                       
                        <telerik:GridBoundColumn DataField="Cust_veh_fa" HeaderText="Vehicle Type" UniqueName="VehicleType" MaxLength="50">
                            <HeaderStyle Width="150px" />
                            <ItemStyle Width="150px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="reg" HeaderText="Vehicle Registration Number"
                            UniqueName="VehicleRegistrationNo" MaxLength="10">
                            <HeaderStyle Width="150px" />
                            <ItemStyle Width="150px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="stock_no" HeaderText="Stock Number" UniqueName="StockNumber">
                            <HeaderStyle Width="150px" />
                            <ItemStyle Width="150px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="driver" HeaderText="Driver Code" UniqueName="DriverCode">
                            <HeaderStyle Width="150px" />
                            <ItemStyle Width="150px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="charge_acct" HeaderText="Charge Account" UniqueName="ChargeAccount">
                            <HeaderStyle Width="250px" />
                            <ItemStyle Width="250px" />
                        </telerik:GridBoundColumn>
                       
                    </Columns>                   
                    <EditFormSettings>
                        <EditColumn UniqueName="EditCommandColumn1">
                        </EditColumn>
                    </EditFormSettings>
                   
                    <PagerStyle Mode="NextPrevAndNumeric" Position="Top" />
                   
                </MasterTableView>         
               
               
                <EditItemStyle BorderColor="#C0C0FF" BorderStyle="Inset" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
               
                <SelectedItemStyle BackColor="LightGray" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                    Font-Strikeout="False" Font-Underline="False" Wrap="True" />
            </telerik:RadGrid>
   
</asp:Content>
Daniel
Telerik team
 answered on 28 Jul 2008
1 answer
85 views
Hi,
I am using Rad calender-special day view. I am trying to apply some styles. could you please let me know how to add cell padding and cell spacing for the cells of the calender?

Thank you.
Dimo
Telerik team
 answered on 28 Jul 2008
6 answers
247 views
Hi

I have a RadTreeView and want to execute some javascript when the client clicks a context menu. I've done this many times in the past but am now getting: 'set_cancel is not a function'.

I'm using version 2008.01.0619.20 of Telerik.Web.UI.dll

Update: Solved!
 

 

maesdomi
Top achievements
Rank 1
 answered on 28 Jul 2008
0 answers
147 views
Hi

Has anyone yet managed to create some kind of automated install for RadControls for ASP.NET AJAX that also adds required lines (http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax.html) to SharePoint 2007 web.config (usually located in C:\Inetpub\wwwroot\wss\VirtualDirectories\80) ?

I created .wsp package using older helps from RadControls for ASP.NET (and MOSS integration guide) but I haven't founded yet that is it possible to add those needed lines with manifest.xml or .ddf file.

I am grateful if anyone can help with this problem. With older Telerik RadControls for ASP.NET there was no need to do this kind of stuff but with this deep integration with Ajax, this is obligatory.
Sakari Hilama
Top achievements
Rank 1
 asked on 28 Jul 2008
1 answer
174 views
Is it possible to control a multipage view that is in one content place holder with a tabstrip in another content place holder?  For instance, I have this code:

<

asp:Content ID="Content1" ContentPlaceHolderID="chp1" Runat="Server">
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="multipageProfile" SelectedIndex="1">
        <Tabs>
            <telerik:RadTab runat="server" Text="View Profile">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="View Pics" Selected="True">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
</
asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="chp2" Runat="Server">
    <telerik:RadMultiPage ID="multipageProfile" runat="server" SelectedIndex="1">
        <telerik:RadPageView ID="viewProfile" runat="server">
        Profile Page
        </telerik:RadPageView>
        <telerik:RadPageView ID="viewPics" runat="server">
        Pics Page
        </telerik:RadPageView>
    </telerik:RadMultiPage>
</
asp:Content>

The problem is that if the multipage view is in ContentPlaceHolder "chp2", it does not allow the tabstrip to control it.  It works perfect if I move the multipage to "chp1".

Thanks for the help.

Paul
Telerik team
 answered on 28 Jul 2008
1 answer
96 views
I've been using RadTabStrip along with a RadMultiPage and am getting "&nbsp;" inserted into the RadPageView randomly.  The content of each RadPageView is a single usercontrol.
Paul
Telerik team
 answered on 28 Jul 2008
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?