Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
112 views
Greetings,

I have a radgrid where its datasource is bound from an XML output.  It has multiple hierarchy levels and has (auto genearted columns = true).  On the  2nd level of the hierarchy there are several details tables that automatically get binded. (Please reference image below).  However, there are columns which get auto generated displaying the ID's for the detail tables.  My goal is to programmatically hide all the ID's in all detail tables.   I can hide the CusomterID programmatically using the following code below: 

For Each item As GridDataItem In Radgrid_CRGList.Items        
               
       ''Root Level of Radgrid
         Radgrid_CRGList.MasterTableView.GetColumnSafe("OrderID").Visible = False        

     ''2nd Level of Radgrid - 1st Detail Table
      Radgrid_CRGList.MasterTableView.DetailTables(0).GetColumnSafe("CustomerID").Visible = False        
   
    ''2nd Level of RadGrid - 2nd Detail Table                                
'''  Place code here to hide EmployeeID ''

Next 


The issue is that I can't figure out the code to hide the EmployeeID in the 2nd details table on the same hierarchy level of the radgrid.  Please Help!









Aret
Top achievements
Rank 1
 answered on 30 May 2014
6 answers
95 views
In my case there seems to be a problem with the RadDropDownTree in which the DropDownTreeEntries collection is not properly managed by RadDropDownTree.  When RadAjaxManagerProxy is configured as shown in the following code example the Entries collection is always appended to, It never shrinks. If I comment out the line containing AjaxUpdatedControl then the RadDropDownTree begins working correctly again. I also tested this in a straight up ASP page with RadAjaxManager and found that RadDropDownTree works as expected. It seems that this problem only exists if using a RadAjaxManagerProxy on a Content page. Has anyone else seen this behavior and is there a workaround.    
  
 <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">       
        <AjaxSettings>           
            <telerik:AjaxSetting AjaxControlID="RadButton2">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="MasterUpdatePanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>



Plamen
Telerik team
 answered on 30 May 2014
5 answers
185 views
Hi,
I have a form with pivotgrid and 2 htmlchart syncronized with the same data.
Pivotgrid's columns, rows and aggregates are customizable by the users.
I need to produce a report with the same pivotgrid layout/data and charts.

Is it possible?

I was thinking about to save session with RadPersistenceManager and use it in same way to create the report..

My real issue is to recreate the same pivotgrid layout..

Kostadin
Telerik team
 answered on 30 May 2014
1 answer
93 views
I'm following this:

http://demos.telerik.com/aspnet-ajax/menu/examples/programming/declarativedatasources/defaultvb.aspx

and first of all, the "flow" is vertical by default and I can't get it to change to horizontal no matter what I do. Also, the xml file in the example will not work with an xml data source when you choose "text" as the DataTextField - it says "Object of type System.Web.UI.Controls.XmlHierarchyData does not have a text property. It only works when I put a text property on the <Menu> tag like this: <Menu Text="Menu">

What gives? Why can't I get this to work in any kind of way?
Aneliya Petkova
Telerik team
 answered on 30 May 2014
5 answers
734 views

Hi,

i want to open popup when user click on view hyperlink in radgrid.
please let me know how to achieve this functionality in RadGrid control.

something like this...

<

 

a href="#" onclick="openWindowEdit('<%# DataBinder.Eval(Container.DataItem, "VersionId") %>'); return false;"

 

 

id="lnkPWindow" style="font-weight:bold;z-index: 104; left: 237px; position: absolute; top: 90px">[VIEW/EDIT]</a>

this is done on link button on page....and samething i want in grid.
or some other way to achieve this type of functionality in Grid.

waiting for your reply.

 

Sagar
Top achievements
Rank 1
 answered on 30 May 2014
1 answer
189 views
Hi everyone,

I have 3 ​PivotGridAggregateField, the first is a quantity, second is a price, and third is a ​CalculationExpression, a multiplication between quantity and price. The problem i have, is in Grand Total Column, because the first and second grand total columns are ok, but third grand total column not, the result in this grand total column, is a multiplication between quantity grand total column and price grand total column. Can i edit this values or hide any grand total column or failing, edit aggregate functions in grand total columns?...

Thks.....

Best regards. 
Kostadin
Telerik team
 answered on 30 May 2014
1 answer
160 views
I have a modal that gets dynamically loaded when a user clicks a button on a grid. The modal content is populated from an ascx user control. It has to be inside the update panel as the values change dynamically when the user clicks the grid.

I add the following to display the modal:

Me.LoadMyUserControl("~/controls/Log.ascx", Panel1)
Dim MessageScript As String = "$('#modal-interact').modal('toggle');"
ScriptManager.RegisterStartupScript(Me, GetType(Page), "UniqueID1", MessageScript, True)


The problem is, when i submit the modal since the modal is ajax-y it does a partial postback causing the modal not to close.

I've tried using an onclientclick to close the modal then postback via javascript but the postback does not occur. 

This will close the modal, but not fire the postback:

<script type="text/javascript">
    function confirmthis()
    {
        $('#modal-interact').modal('hide');
        return true;
}
    </script>

Then of course removing the onclientclick and just handling the onclick triggers the postback, but does not hide the modal. 
Radoslav
Telerik team
 answered on 30 May 2014
1 answer
57 views
hi im having a issue in telerik Schedule, currently im binding sqldatasource to my Schedule, in my store procedure im querying my Schedule table but suppose i have records of million of entries in my Schedule database table, If i call my Schedule then will it query million records to bind data to Schedule control ?
is that possible any thing like that if i select specific month, day or week then only it will query my command (month, week or any other date) fore database on each time
Boyan Dimitrov
Telerik team
 answered on 30 May 2014
1 answer
75 views
Hey telerik...
I've a cross this "error" when testing my new drag and drop feature on my site.
I tried both local and on your demo site, same result.
It's looking like the ListBox is leaking a bit, when I go "crazy" with the drag and drop.
The selected items get stuck on the cursor, and the whole site hangs.

Is there something i can do to fixs this?

See videos of the problem here:
http://www.screencast.com/t/JzcXehBvd9BJ
http://www.screencast.com/t/7lcJz91cvMhr
Boyan Dimitrov
Telerik team
 answered on 30 May 2014
4 answers
251 views
I have run into an issue with the latest version 2013.2.717.35 when using the eventname property in the radajaxmanager. Using this version and setting an eventname for a control causes a yellow screen of death. See the attached jpg. I have tried this in 3 different projects with all yielding the same result. If I remove the eventname property then all works well. If I revert back to version 417.35, there are no problems using the eventname property. Any suggestions?

My ajax code:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnTest" EventName="btnTest_Click">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadTextBox1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Event code:
Private Sub btnTest_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnTest.Click
 
End Sub

Controls:
<telerik:RadTextBox ID="RadTextBox1" runat="server" TabIndex="1" EmptyMessage="Empty">
</telerik:RadTextBox>
<telerik:RadButton ID="btnTest" runat="server" AutoPostBack="true" Text="Click">
</telerik:RadButton>

Konstantin Dikov
Telerik team
 answered on 30 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?