Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views
Hi,

    I am using radchart in my page. i have to show html table inside of radchart

How to do this?????????

Please let me know............ Urgent


Thanks,
Prasanna
Yavor
Telerik team
 answered on 25 Jan 2013
2 answers
120 views
How to find the treelistboundcolumn value in void function call

<telerik:RadTreeList ID="RadTreeListWork" runat="server" OnNeedDataSource="RadTreeListWork_NeedDataSource"
                        ParentDataKeyNames="WorkParentId" DataKeyNames="WorkId" AutoGenerateColumns="False"
                        OnItemDataBound="RadTreeListWork_ItemDataBound" EditMode="PopUp" AllowMultiItemEdit="False"
                        Culture="(Default)" GridLines="None" IsItemInserted="false" ShowOuterBorders="False"
                        Width="900px">
                        <%--AllowPaging="true" PageSize="10"--%>
                        <Columns>
                            <telerik:TreeListBoundColumn DataField="WorkId" HeaderText="WorkId" ReadOnly="true"
                                UniqueName="WorkId" HeaderStyle-Width="75px" ForceExtractValue="Always" Visible="false" />
                            <telerik:TreeListBoundColumn DataField="WorkParentId" HeaderText="WorkParentId" HeaderStyle-Width="65px"
                                UniqueName="WorkParentId" ReadOnly="true" ForceExtractValue="Always" Visible="false" />
                            <telerik:TreeListBoundColumn DataField="WorkName" HeaderText="Name" UniqueName="WorkName"
                                HeaderStyle-Width="70px" />
                            <telerik:TreeListBoundColumn DataField="WorkDescription" HeaderText="Description"
                                UniqueName="WorkDescription" HeaderStyle-Width="170px" />


.cs

foreach (TreeListDataItem item in RadTreeListWork.Items)
               {
                   dtl1 = new xmlDSPrepareClaimDtl();
 
                   int? id = (int?)item.GetDataKeyValue("WorkId");
                   int? Parentid = (int?)item.GetDataKeyValue("WorkParentId");

i find like that id is coming but parent id and other things are not come

Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 25 Jan 2013
3 answers
85 views
My application contains a datagrid. Each record have different values but buttons(Edit button) with same name against each record. how to click a particular button corresponding to a particular record using test studio
Princy
Top achievements
Rank 2
 answered on 25 Jan 2013
3 answers
58 views
Hello,

I am using radgrid with pop up edit form ,Edit form is opening on double click of row. 
radfrid has "status" column inside it

following are the status
Approved , verified , declined.

so I want to open edit form only if there is decline status so user can resubmit the record
 if  status is approved and verified  I don't want to open edit form on double click.

Please give any suggestion.

Thanks and regards,
Amit

Shinu
Top achievements
Rank 2
 answered on 25 Jan 2013
0 answers
106 views
//The code will generate RadTreeNode. The node has multiple subnodes.
EntityCollection
<MusicEntity> collection = GetMusicData(); EntityCollection<MusicEntity> collection = GetMusicData(); treMusic.Nodes.Clear(); ArrayList ptnodes = new ArrayList(); RadTreeNode nodeWorkplane = new RadTreeNode(p.PWork); RadTreeNode nodeUser = new RadTreeNode(p.UserProject.Items[0].UserName); RadTreeNode musicgroupnode = new RadTreeNode(p.MusicSubGroup.MusicGroup.Name, String.Empty); RadTreeNode musicsubgroupnode = new RadTreeNode(p.MusicSSubGroup.Name, String.Empty); RadTreeNode musicnode = new RadTreeNode(p.MusicTitle); musicsubgroupnode.Nodes.Add(musicnode); musicgroupnode.Nodes.Add(musicsubgroupnode); nodeUser.Nodes.Add(musicgroupnode); nodeUser.Nodes.Add(nodeWorkplane); pgnodes.Add(nodeUser); foreach (RadTreeNode pg in ptnodes) { treMusic.Nodes.Add(pg); }

From the code above, this is treenode that will display.

User1
  -> Music Group node 1
    -> Music SubGroup node 1
         -> Music Node 1

  -> Node Workplane 1

User1
  -> Music Group node 2
     -> Music SubGroup node 2
         -> Music Node 2
   -> Node Workplane 2

My question how i can combine user1 in one node. Thank you for helps. so the following node that i want to achieve:

User1
      -> Music Group node 1
        -> Music SubGroup node 1
             -> Music Node 1


      -> Music Group node 2
         -> Music SubGroup node 2
             -> Music Node 2

      -> Node Workplane 1
      -> Node Workplane 2
Mark de Torres
Top achievements
Rank 1
 asked on 25 Jan 2013
1 answer
181 views
Hi,

I have a requirement in my project that i have to export the data from RadGrid to excel.

This can be achieved by using the following command:

.MasterTableView.ExportToExcel();

But i want a few rows in the excel (which is exported) grouped by means of expand and collapse feature to the left of the row.

Please find attached the screenshot.

Thanks in advance

Regards, Vasanth
Shinu
Top achievements
Rank 2
 answered on 25 Jan 2013
3 answers
226 views
Hello

Can you tell me you to loop on selectedItems

 var listbox = $find("<%= lbEssenceDispo.ClientID %>");
 var items = listbox.get_selectedItems();

I've not found how to do

Thank a lot

Anne
Princy
Top achievements
Rank 2
 answered on 25 Jan 2013
5 answers
278 views
Hi,

I have implemented a pager with custom button.

<PagerStyle ForeColor="Blue" Mode="NextPrevAndNumeric"
                    NextPageImageUrl="immagini/u221.png"

Works great, but i want to hide the NextPage Button on Last Page of radgrid, or when i select from combobox the max size of the PageSize.

Shinu
Top achievements
Rank 2
 answered on 25 Jan 2013
5 answers
416 views
Does RadGrid supports Copy and paste from excel or any other tools? I would like to be able to copy some data  from an excel file to the RadGrid!

Thanks,
Mahyar
Daniel
Top achievements
Rank 1
 answered on 24 Jan 2013
1 answer
69 views
sorry i don't know where to post my sitefinity questions? is there a sitefinity forum?

i'm developing an web application with sitefinity 5, using MVC mode. my question is, is it possible that setting default values of my widget's public properties?

I used [DefaultValue("...")], but sf throws an exception when editing this property;
I commented out the above line, and sf doesn't throw exceptions;
I set default value to that property via constructor or another field, but neither work.

i just want the below code work:
[ControllerToolboxItem(Name = "coc", SectionName = "test", Title = "coc")]
    public class MyCocController : Controller
    {
        [Category("URLs")]
        [DefaultValue("/coc/details")]
        public string UrlDetails { get; set; }
 
        public ActionResult Index()
        {
            return View();
        }
    }

Any ideas?
Courtney Wilson
Telerik team
 answered on 24 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?