Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
Hello,
          I would like to know whether I can accomplish what we have in gmail using RadTreeView control. When the user clicks on inbox on the left, it connects inbox with the email section on the right. Is it possible when a user selects a node in RadTreeView control I want to connect the node with a box on the right.

Thanks,
Bharani
Shinu
Top achievements
Rank 2
 answered on 29 Dec 2010
1 answer
49 views
Hello in my grid .. top of the grid Add new button when i click the button that time want to show all filed that i want to add. Snapshot i attach to this post .. but when i click on grid Edit button want to show only two field for edit

how to achieve this .. how to allow field to edit .. how to disabled other field

In attach file .. shown
Game Name and Game Price . i want to update when  i click on edit button
other wise .
display all fields on Add new record



thanks


Radoslav
Telerik team
 answered on 29 Dec 2010
1 answer
64 views
Hi there Telerik Friends,

I've tried searching for hours and cannot find an answer to this problem. Either I'm going about it the wrong way, or I'm missing something. Hopefully one of you will take the time to help me out!

My question is this:

I have a RadGrid with NestedViewTemplate. I followed the example here. My little test works pretty slick.

Here is a picture of my work-in-progress.

As you'll see -- when you expand a user... you get different Tabs. On the "Tools" tab I have one button to "Delete User". Instead of using a button, doing a postback, and firing off some server-side code, I decided it would be nice to have a "Do you really want to delete this user?" prompt.

I tried following this example to do a "Confirm Postback". Doesn't work though :(

Well, after playing with it for a while...  it works if it's OUTSIDE the NestedViewTemplate... but not when it's buried inside. Anyone else have this issue? Any tips on how to resolve this?

Thanks so much for your time.

-Josh
Radoslav
Telerik team
 answered on 29 Dec 2010
2 answers
75 views
Now, I can't format "LastModifiedAt" column of RadFilter like as "dd/MM/yyyy hh:mm tt". I don't want to set Culture="tr-TR" Page.
Does other way  implement this format?
How to set this field focus?
How to asign ShorCutKey for "OnApplyExpressions" event?

My coding is below:
    <telerik:RadFilter ID="RadFilter1" runat="server"  OnApplyExpressions="radFilterGridControl_SearchGridData">
        <FieldEditors>
            <telerik:RadFilterDateFieldEditor FieldName="LastModifiedAt" DisplayName="LastModifiedAt" DataType="System.DateTime" />
        </FieldEditors>
    </telerik:RadFilter>
               
    <telerik:RadGrid ID="radGridControl" runat="server" AllowFilteringByColumn="True" AllowPaging="True"
         AllowSorting="True"
        GridLines="None">
        <MasterTableView AutoGenerateColumns="False"  >
            <Columns>

                <telerik:GridBoundColumn DataType="System.DateTime" DataField="LastModifiedAt" HeaderText="LastModifiedAt" >
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>

Can you help me this problem?

Thanks,
Mr PhuongLD
Le Danh
Top achievements
Rank 1
 answered on 29 Dec 2010
1 answer
50 views
Folks,

Is it posssible to add additional controls and remove current controls of the Edit Appointment Box?

Cheers
Shinu
Top achievements
Rank 2
 answered on 29 Dec 2010
1 answer
65 views
hi,

I have a rad grid with  edit for mas like below.
<EditFormSettings EditFormType="Template">
                  
                    <FormTemplate>

  <tr>
        <td style="width: 140px;">
            
        </td>
        <td>
            <asp:RadioButtonList ID="rbtntagtype" runat="server" AutoPostBack="true"  onselectedindexchanged="rbtntagtype_SelectedIndexChanged" >
            <asp:ListItem Text="Service" Value="Service" Selected="True"></asp:ListItem>
            <asp:ListItem Text="Doctor" Value="Doctor"></asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
    <tr>
        <td style="width: 140px;">
             <asp:Label ID="Label2" runat="server" Text="Service Tags"></asp:Label>
        </td>
        <td>
            <asp:DropDownList ID="ddlservicetag" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
</FormTemplate>
                </EditFormSettings>

I have a Radio button list.

Based on the radio button list selection have to load the values to drop down.

In code behind i written like below.

protected void rbtntagtype_SelectedIndexChanged(object sender, EventArgs e)
    {
        RadioButtonList rbtntag = (RadioButtonList)sender;

        GridEditableItem edititem = (sender as DropDownList).NamingContainer as GridEditableItem;
        DropDownList ddList = edititem.FindControl("ddlservicetag") as DropDownList;

        DataSet dl_loadservice = new DataSet();

        if (rbtntag.SelectedItem.Value == "Doctor")
        {
            dl_loadservice = objClass_RegisterDept.fn_getservicetags(true);
        }
        else
        {
            dl_loadservice = objClass_RegisterDept.fn_getservicetags(false);
        }
        ddList.DataSource = dl_loadservice;
        ddList.DataTextField = "tagname";
        ddList.DataValueField = "tagid";
        ddList.DataBind();
        ddList.Items.Insert(0, "Select");
    }

in selected index chnage itis saying
GridEditableItem edititem = (sender as DropDownList).NamingContainer as GridEditableItem;
is null..

can anyone suggest me how do i proceed with this..

Thenmozhi
Top achievements
Rank 1
 answered on 29 Dec 2010
4 answers
124 views
Hello,

I have implemented tree-view with context-menu.

Code look like as below
======================================================================
<Telerik:RadScriptManager runat="server" ID="RadScriptManager1" >
</Telerik:RadScriptManager>

<Telerik:RadTreeView runat="server" ID="TVtreeview" BorderWidth="1px" Height="300px"
    padding="2px" Width="800px" BackColor="#CCCCCC" ShowLineImages="false" BorderStyle="Solid"
    LoadingStatusPosition="BeforeNodeText">
    <ContextMenus>
        <Telerik:RadTreeViewContextMenu ID="ContextMenuVerbatium" runat="server">
            <Items>
                <Telerik:RadMenuItem Value="0" Text="Alphabetically Asending" PostBack="True" Enabled="false" />
                <Telerik:RadMenuItem Value="1" Text="Alphabetically Desending" PostBack="True" />
                <Telerik:RadMenuItem Value="2" Text="Ascending By Character Length" PostBack="True" />
                <Telerik:RadMenuItem Text="Desending By Character Length" Value="3" PostBack="True" />
            </Items>
        </Telerik:RadTreeViewContextMenu>
    </ContextMenus>
    <Nodes>
        <Telerik:RadTreeNode Text="Root">
        </Telerik:RadTreeNode>
    </Nodes>
</Telerik:RadTreeView>

======================================================================
I am binding record in above tree-view, it is working perfect last 15 days. Now it is working with some data and in some data it is not working properly it gives error like as below.

Error: this._element is undefined
Source File: http://localhost/mysite/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3de828f0-5e0d-4c7d-a36b-56a9773c0def%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.713.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a7302be66-e7a1-4bc1-8280-71f03d66eba0%3a16e4e7cd%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3ae4f8f289%3ae524c98b
Line: 447
9

Can you please me help me out.

Thanks in advance.
Dimitar Terziev
Telerik team
 answered on 29 Dec 2010
1 answer
55 views
hi
when i export to excel IgnorePaging didn't fire
and show just 50 records from 200 records
thanks
my code:
  grdShareHolder.ExportSettings.IgnorePaging = true;
 grdShareHolder.ExportSettings.ExportOnlyData = true;
  grdShareHolder.ExportSettings.OpenInNewWindow = true;
 grdShareHolder.MasterTableView.ExportToExcel();
Daniel
Telerik team
 answered on 29 Dec 2010
5 answers
186 views
I followed this demo to show a context menu on the RadGrid.
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandmenu/defaultcs.aspx?product=grid

How do I prevent context menu from showing up if the Radgrid's row is in edit mode?
Princy
Top achievements
Rank 2
 answered on 29 Dec 2010
4 answers
115 views
Hi guys
I have a button and a Radwindow in a page. Radwidow contains two drag and drop radgrids (same as drag and drop ragrid demo) I want Ajaxify these controls. I tried to create a RadAjaxManager like this
<telerik:RadAjaxManager runat="server" ID="radAjax" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnAdd">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="AddRemoveItemWindow" />                                    
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="grdPendingOrders">
                <UpdatedControls>                
                    <telerik:AjaxUpdatedControl ControlID="grdPendingOrders" />
                    <telerik:AjaxUpdatedControl ControlID="grdShippedOrders" />                 
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="grdShippedOrders">
                <UpdatedControls>                
                    <telerik:AjaxUpdatedControl ControlID="grdShippedOrders" />
                    <telerik:AjaxUpdatedControl ControlID="grdPendingOrders" />                
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="UseDragColumnCheckBox">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdPendingOrders" />
                    <telerik:AjaxUpdatedControl ControlID="grdShippedOrders" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
When click on btnAdd,  radwindow "AddRemoveItemWindow"  should popup as Modal popup and then drag and drop items in each grid. Everything is working perfectly. My aim is to include btnAdd and radwindow in Radajaxmanager. When I run with above mentioned code, popup window is working good, but while dragging items from one grid to another, getting error. Anybody can help me?
Ben
Top achievements
Rank 1
 answered on 29 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?