Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
106 views
I currently have on my page a RadSplitter control.  On the left side of the splitter, I have a RadTreeView, and on the right side I have a RadGrid.  I've added the RadAjaxManager to update the RadGrid when a folder is clicked on in the RadTreeView.  The problem I'm getting is that I keep getting a Javascript popup error everyonce in a while when I go to click on a folder in the tree view to load up information into the RadGrid.  The RadGrid appears to be loading, but then stops once this error pops up.  Now if I go and click on another folder after I get this Javascript popup error, everything works fine.

Like I said, I only get this error every once in a while.  I've looked at the other posts in this forum and tried all different things.  None of them really solved my issue.

Here is what I'm getting in the Javascript error popup.

Sys.WebForms.PageRequestManagerPraserErrorException: The message received from the server could not be parsed.  Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'play:none;"></span>|<html>
     <head>
'.

Kai Thao
Pavlina
Telerik team
 answered on 07 Sep 2009
1 answer
314 views
Hello,

I'm wondering if there is a way to add decimal places in the values that are displayed with the RadChart.

Instead of having 0%  I would for example like to display 0.48% 

Thanks,

Ves
Telerik team
 answered on 07 Sep 2009
3 answers
223 views
Hi Support Team,

As I know, the Radslider have the function of zoom image (RadSlider for ASP.NET AJAX -> Functionality -> First Look).
May I know got any function for zoom and crop image using RadSlider?

Thanks.
Suresh K
Top achievements
Rank 1
 answered on 07 Sep 2009
1 answer
98 views
I am using rad rotator, and it is set to "RotatorType = RotatorType.SlideShow" for this it stops animation when mouse is overs the rotator item, is there a an option to avoid stopping the item and allow continuous sliding.

Thanks,
Shivashankar



Georgi Tunev
Telerik team
 answered on 07 Sep 2009
1 answer
202 views
Hi there,

I have a question about radGrid clien-side databinding, using WebServices.
In my RadGrid, I'm grouping datas function of a column. When I update dynamically(client-side) my datagrid, grouping doesn't seem to work well:
independently of the number of elements which belong to the group, this one have always have the same number of items.
Here, I'm grouping fonction of MembreConvers wich is a string.
        <MasterTableView ClientDataKeyNames="IdContact" GroupLoadMode="Client"   
                        NoMasterRecordsText="" ShowHeadersWhenNoRecords="true" Width="100%">  
                        <GroupByExpressions> 
                            <telerik:GridGroupByExpression> 
                                <SelectFields> 
                                    <telerik:GridGroupByField FieldAlias="MembreConvers" FieldName="MembreConvers"   
                                        HeaderText="Participe" /> 
                                </SelectFields> 
                                <GroupByFields> 
                                    <telerik:GridGroupByField FieldName="MembreConvers" /> 
                                </GroupByFields> 
                            </telerik:GridGroupByExpression> 
                        </GroupByExpressions> 
            <Columns> 
                <telerik:GridMaskedColumn DataField="MembreConvers"   
                                SortExpression="MembreConvers">  
                            </telerik:GridMaskedColumn> 
<!-- Continue --> 

And I'm updating it with that javascript, client-side. I need to pass args to my WebMethod, so I'm not using Telerik's codeLess method.
//Called When WebService GetContactListForConversation return              
function SucceededCallbackGetParticipants(result, eventArgs) {  
 
                //Conversation ID - and so window - is in eventArgs.  
                //It allows us to get current conversation's radWindow  
                  
                var radWindowManager = GetRadWindowManager();  
                var window_ = radWindowManager.getWindowById(eventArgs);  
 
                if (window_ != null) {  
                      
                      //Get the frame  
 
                    var frame = window_.get_contentFrame();  
 
                      //Get the window  
                    var windowContent_ = frame.contentWindow;  
 
                    var radGrid = windowContent_.$find("RadGridContacts");  
 
                    //Get Master TableView  
                    var tableView = radGrid.get_masterTableView();  
 
                       //Set dataSource and DataBind  
                    tableView.set_dataSource(result);  
                    tableView.dataBind();  
 
                    //Using setTimeout instead of setInterval(firefox compatible)  
                    setTimeout(function() { GetParticipantsForConversation(eventArgs) }, timeout);  
                } 

WebService returns List<Contact>:
    public class Contact  
    {  
        public string NomPrenom { get; set; }  
        public int IdContact { get; set; }  
        public string EnLigne { get; set; }  
 
        public string MembreConvers { get; set; }  
     // Continue here ....  
} 
On page load, server-side, in "RadGridContacts_NeedDataSource" method I create MasterTableView like that:
//Test                    
  List<Contact> contactsList = new List<Contact>();  
               //there will be 2 groups : "Oui" and "Non".  
              contactsList.Add(new Contact("", 0, true, "Oui"));  
              contactsList.Add(new Contact("", 0, true, "Non"));   RadGridContacts.MasterTableView.DataSource = contactsList;  
 
/*And when I'm updating Client-side, group "Oui" and "Non" are limited to 1 item each. How can I fill them client-side?*/ 
Is there an easy trick to update these groups client-side?

Thanks a lot,

Alex.
Alexandre Fromage
Top achievements
Rank 1
 answered on 07 Sep 2009
1 answer
50 views
Hi

I think i've come across a bug in the advanced edit form using webservice population. A recurring appointment is moved in time when you doubleclick any occurence but the first one and select "edit series".

This can be reproduced in your online demo of webservice data population.

Steps to reproduce:
1: Create a daily recurring event. Starting Sep. 1st  2009 with 10 recurrences
2: Doubleclick Sep. 5th 2009 and select "Edit series"
3: Open advanced form

The advanced form has start date set to Sep 5th with 10 recurrences. By accepting the entire series is moved 5 days ahead.
Your other demos behave as expected and keep the original start date.

Hope you can fix this and maybe even provide an immidiate workaround.
Peter
Telerik team
 answered on 07 Sep 2009
7 answers
213 views
Hi,
I have a Radmenu which has an item template inside it. I am using onmouseover and onmouseout events inside the radmenu.
Here is the error which internex explorer gives. (the error occurs if i fastly mouve the mouse over the items)
Webpage error details 
 
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; FDM; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729) 
Timestamp: Thu, 27 Aug 2009 14:19:42 UTC 
 
 
Message: 'style.getPropertyValue' is null or not an object 
Line: 176 
Char: 1 
Code: 0 
URI: http://www.arkadas.com.tr/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.311.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3af48f6488-574a-46fe-9b15-624f013d8c03%3a16e4e7cd%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3a33108d14%3abd8f85e4%3ae330518b%3a1e771326%3ac8618e41 
 


 Below is my RadMenu.
<telerik:RadMenu Width="150px" DataFieldID="OID" DataValueField="OID"  
    DataTextField="Name" ID="MenuCategories" runat="server"  
    DataSourceID="DataSourceMenu"       
    AppendDataBoundItems="False" DefaultGroupSettings-Flow="Vertical"  
    Flow="Vertical" Skin="MyDefaultLeft" EnableEmbeddedSkins="false" 
    ondatabound="MenuCategories_DataBound" DataFieldParentID="OIDParent"  
    MaxDataBindDepth="2" EnableAutoScroll="True">   
      <ItemTemplate> 
        <table width="140px"> 
            <tr> 
                <td id="td" runat="server" onmouseover='<%#Open(Eval("OID"))%>' onmouseout='<%#Close(Eval("OID"))%>'> 
                    <asp:LinkButton ID="linkButton" Font-Underline="false" OnClick="linkButton_Click" CommandArgument='<%#Eval("OID") %>' runat="server" Text='<%#Eval("Name")%>'></asp:LinkButton> 
                </td> 
            </tr> 
        </table>                 
      </ItemTemplate>          
</telerik:RadMenu> 
 

Here is my code for "Open" and "Close"
public string Open(object o) 
        { 
            string ret = ""; 
             
            if (!Categories.Exists(x => x.OIDParent == new Guid(o.ToString()))) 
            { 
                ret = string.Format( "newwindow=window.radopen('../PageReproductionDetails.aspx?oid={0}',null);" , o.ToString() ) + "newwindow.moveTo(520,300);"; 
            } 
            return ret; 
 
        } 
 
public string Close(object o) 
        { 
            string ret = ""; 
            if (!Categories.Exists(x => x.OIDParent == new Guid(o.ToString()))) 
                ret = "newwindow.close();"; 
            return ret; 
        } 
 

I could not find any solutions.

Regards.

Kamen Bundev
Telerik team
 answered on 07 Sep 2009
1 answer
87 views
Hello all.  I am trying to get a datakeyname from the parent
of a child table when the Context Menu is displayed.  I am
having a difficult time trying to figure this out.  Any ideas?
Thanks.

// Abbreviated function for ease of reading  
function ShowContext(sender,args){  
var menu = $find("GridContextMenu");  
var selectedindex = args.get_itemIndexHierarchical();  
 
//Not sure about below  
var parentindex = sender.get_parentView().getDataKeyNames("EventId");  
 
menu.show(args.get_domEvent());  
} 


Joshua
Shinu
Top achievements
Rank 2
 answered on 07 Sep 2009
1 answer
205 views
I have a hierarchical grid - the Master table and a details table. When the user expands a row in the parent table the details table is loaded. The details table has an Add New Record button. When this is pressed, I need to obtain the value of some column in the parent row that was expanded. This must be done on the client-side using javascript. Note: the parent row is not selected, it's just expanded, so I cannot rely upon obtaining the selected row. I could not find any API method for the client side on how to obtain a value in the parent row. Any suggestions?

Thanks
Johann
Yavor
Telerik team
 answered on 07 Sep 2009
0 answers
111 views
I hv grid , i calculate the the row content total in below i want the total like tis

Grouping within Grouping

grid group by First group by Marks , Age
Then Group by Div

--------------------------------------------------------------------
Emp          Marks                Age             Per       Div
--------------------------------------------------------------------
Marks    : 55            Age : 25                Div  : A
--------------------------------------------------------------------
rahul         55                     25                   60         A
kailsh         55                    25                  70          A
--------------------------------------------------------------------
                        Count        2                                    2
-------------------------------------------------------------------
Marks    : 55            Age : 25                Div  : B
--------------------------------------------------------------------     
nitin             55                   25                   80         B
--------------------------------------------------------------------
                        Count       1                                   1


-------------------------------------------------------------------
Marks    :45            Age : 26                Div  : C
-------------------------------------------------------------------- 
abc           45                     26                  90            c
pqr            45                     26                  90            c
------------------------------------------------------------------
                        Count        2                                    2


I Want Group Footer Like this
If inner group div is different dont show the footer of first group statment , it will calucate the whole group count example shown below .....   It fist groups the  Marks    : 55            Age : 25          Div  : A  Then It it will gorup within that group
Marks    : 55            Age : 25                Div  : B whose Div B ...........Total count of the group is 3 ? how to do this like below example now i will get the output is like above sample

--------------------------------------------------------------------
Emp          Marks                Age             Per       Div
--------------------------------------------------------------------
Marks    : 55            Age : 25                Div  : A
--------------------------------------------------------------------
rahul         55                     25                   60         A
kailsh         55                    25                  70          A
-------------------------------------------------------------------
Marks    : 55            Age : 25                Div  : B
--------------------------------------------------------------------     
nitin             55                   25                   80         B
--------------------------------------------------------------------
                        Count       3                                  3


-------------------------------------------------------------------
Marks    :45            Age : 26                Div  : C
-------------------------------------------------------------------- 
abc           45                     26                  90            c
pqr            45                     26                  90            c
----------------------------------------------------------------
                        Count        2                                    2



kindly please help me urgent ..... How hide the total of first group it calculate the first + second group then show the total.




Thanks
Regards
Rahul





          

     <telerik:RadGrid ID="dgAddCart" runat="server" AutoGenerateColumns="False" GridLines="None"
                    Skin="Black" AllowPaging="True" ShowFooter="true" ShowStatusBar="True">
                    <GroupingSettings  GroupContinuesFormatString=" "  GroupByFieldsSeparator = "  " />
                    
                    <FooterStyle BackColor="White" ForeColor="Red" BorderWidth="2px" BorderColor="ActiveCaption"
                        BorderStyle"Groove" />
Rahul
Top achievements
Rank 1
 asked on 07 Sep 2009
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?