Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
174 views

Pretty new to Telerik so still getting to grips with the wide range of controls. I'm currently working on the visual design of an application and need a control that can emulate the user drop down arrow on Facebook as shown in the attached. It's sort of a menu I guess with no button or text.

Any suggestions which control to look at? I don't need the complexity of Facebook such as icons and dynamic content (the count) although I get the impression that UI as ASP.NET could probably handle that too!

Thanks, Rob.

Vessy
Telerik team
 answered on 04 Aug 2015
4 answers
158 views

Hi,

I just implemented load on demand on radtooltipManager which I load user controls into the manager in code behind.

Everything works wonderfully, but I have ​a question. One of my user control displays a dropdown with radtreeview with many nodes.

I can display loading image when the page loads the tooltip containing that user control so it's clear that it's loading, but when user closes the tooltip, it takes so much time before the tooltip is gone. My first impression is that tooltip is slower to close when the content is big in byte size.

 

What's your solution to solve this?

And do you have a way to cache the tooltip content so the 2nd time the system displays the tooltip, it will load faster?

 

Thanks.

Ianko
Telerik team
 answered on 04 Aug 2015
1 answer
86 views

Hi,

I have a Master/Detail Table setup each with numerous databound columns representing a dashboard of tests.  I would like to add an optional row on the DetailTable (child grid) that would be just one column containing a status string - the status is too long to fit on the parent node.  Is there a way to achieve this?

 thanks

-peter

Eyup
Telerik team
 answered on 04 Aug 2015
1 answer
217 views

Hi everyone

I just installed VS 2015 and re-installed Telerik with VS2015 support, but I can't find my Telerik menu option.

Under new projects etc, there are also no Telerik project types?

Please advise.

Thank you.

Momchil
Telerik team
 answered on 04 Aug 2015
1 answer
111 views

Another newbie question that has always perplexed me in terms of server controls. Width & height can be set both as a style or as a property:

<telerik:RadMenu ID="RadMenu1" Runat="server" style="Height=30px;" Height="50px">

What is the difference between the two and which should one actually use?

Thanks, Rob.

Vessy
Telerik team
 answered on 04 Aug 2015
1 answer
311 views

Hello,

 I am trying to find the values of the checkbox which are checking on button click event but its not work.

Please help me out on this.

 

This is aspx file.

<telerik:RadGrid ID="RadGridActivity" AutoGenerateColumns="False"  runat="server" AllowMultiRowSelection="True" FilterType="CheckList" GroupPanelPosition="Top"  >
        
        <ClientSettings Selecting-AllowRowSelect="true" >
           <ClientEvents OnRowSelected="RowSelected" OnRowDeselected="RowDeselected" />
        </ClientSettings>
        <MasterTableView>
            <Columns>
               
                <telerik:GridClientSelectColumn  UniqueName="SelectActivity" HeaderText="Select" ></telerik:GridClientSelectColumn> 
                <telerik:GridBoundColumn UniqueName="ActivityId" HeaderText="ActivityId" DataField="intActivityId" FilterDelay="200" ></telerik:GridBoundColumn>
                <telerik:GridBoundColumn UniqueName="ActivityName" HeaderText="Activity" DataField="strActivityName" AllowFiltering="true" ></telerik:GridBoundColumn>
                <telerik:GridBoundColumn UniqueName="Company" HeaderText="Company" DataField="strCompany" AllowFiltering="true"></telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings EnableRowHoverStyle="true" >

            <Selecting AllowRowSelect="True"></Selecting>
        </ClientSettings>
    </telerik:RadGrid>
    <telerik:RadButton ID="btnAdd" runat="server" Text="Add"></telerik:RadButton>

 

Code behind

 

Protected Sub btnAdd_Click(sender As Object, e As EventArgs) Handles btnAdd.Click

        For Each item As GridDataItem In RadGridActivity.SelectedItems
            Dim id As String
            Dim chec As Boolean

            Dim chk As CheckBox = DirectCast(item("SelectActivity").Controls(0), CheckBox)
            id = item("ActivityId").Text
            chec = chk.Checked

        Next

    End Sub

 ​

Eyup
Telerik team
 answered on 04 Aug 2015
6 answers
180 views
Hi,

Because I am using the Gantt viewer in a real world situation whereby multiple projects are stored in one table I am finding that the ID column cannot be used within the chart.  Ideally I'd like to use an ID column for the chart that is essentially the Row ID starting from 1.

Is there a way to do this as it stands?

I'd really prefer to avoid using the Custom EntityFramework Provider as it seems horribly overcomplicated and when I did try it just didn't work.

Without wanting to sound rude, this control still seems like a Beta control, examples are basic, documentation is missing, critical functionality is missing etc.  It's really off putting seeing that it is now considered to be a live control with the implication that like other controls it will now be left to stagnate. 

I really want to use this kind of thing in my application but am left feeling that I'd really be better off with a commercial Gantt viewer even with only rudimentary requirements...

Regards

Jon
Felix
Top achievements
Rank 1
 answered on 04 Aug 2015
1 answer
160 views

When I inspect the GridCommandEventArgs event args in the OnItemCommand event handler I find...

e.Item.OwnerID "ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_​myControl_gvMyGridWithTheDetailsTable_ctl00_ctl06_Detail10" string

and

e.Item.OwnerTableView.ClientID "ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_​myControl_gvMyGridWithTheDetailsTable_ctl00_ctl06_Detail10" string

However ...

((RadGrid)sender).MasterTableView.DetailTables[0].ClientID "" string (IT'S BLANK!)

and

gvMyGridWithTheDetailsTable.MasterTableView.DetailTables[0].ClientID "" string (IT'S ALSO BLANK!)


gvMyGridWithTheDetailsTable == sender true bool  

and

gvMyGridWithTheDetailsTable.MasterTableView.DetailTables[0] == ((RadGrid)sender).MasterTableView.DetailTables[0] true bool

as you'd expect, but..

e.Item.OwnerTableView == ((RadGrid)sender).MasterTableView.DetailTables[0]    ***false***   bool   

and yes there's only one details table....

((RadGrid)sender).MasterTableView.DetailTables.Count 1  int

What's going on here?  
Why aren't the instances of the GridTableView in the GridCommandEventArgs and the GridTableView of the sending datagrid the same?
Why don't they have the same property values?

I'm attempting customise viewstate for my datagrid, by disabling viewstate on the grid and saving the state I want kept manually.  I was hoping to write generic code for this that would work with RadGrids ​which have DetailTables. In the case of the Detail tables, not being able to correlate the ID of the grid being sorted in the OnItemCommand with the ID of anything in the Pre_Load event of the page is going to stop me from being able to restore the state for the grid.

Angel Petrov
Telerik team
 answered on 04 Aug 2015
1 answer
190 views

hi



all the telerik control is working fine in all browser except safari

e.g. (The RadGridView Filter and paging not working in safari but its working fine with others browsers, ), 

 

Any help

I am using version(2015.1.401.45)

Eyup
Telerik team
 answered on 04 Aug 2015
2 answers
171 views

Hello! I'm working with a RadGrid with HierarchyLoadMode="Client", in the second level of detailTables  I have a GridTemplateColumn with a dropdownlist like this:

<telerik:GridTemplateColumn HeaderText="Alta Petició" HeaderStyle-HorizontalAlign="Center" UniqueName="UNDDLAltaTop" ItemStyle-HorizontalAlign="left">
<ItemTemplate>
          <asp:DropDownList ID="DDLTP" runat="server" OnSelectedIndexChanged="DDLTP_SelectedIndexChanged" />
</ItemTemplate>
</telerik:GridTemplateColumn>

 I'm set datasource of DDLTP in itemDataBound event:

 

if (e.Item.OwnerTableView.Name == "Son")
{
    if (e.Item is GridDataItem)
    {
        GridDataItem item = (GridDataItem)e.Item;
        DropDownList ddl = (DropDownList)item["UNDDLAltaTop"].FindControl("DDLTP");
        setDatasource(ref ddl, "ID_TP"); 
    
}

This works perfect!

 

Now I need to access to itemdata like (ItemCommand Event) to get the value of another column of the row

protected void DDLTP_SelectedIndexChanged(object sender, EventArgs e)
{
 
}

 

If I use an imagebutton to make the postback i can access itemData with ItemCommand Event but I don't like this solution:

<telerik:GridTemplateColumn HeaderText="Alta Petició" HeaderStyle-HorizontalAlign="Center" UniqueName="UNDDLAltaTop" ItemStyle-HorizontalAlign="left">
<ItemTemplate>
          <asp:DropDownList ID="DDLTP" runat="server"/>
          <asp:ImageButton  ID="BAltaPeticio" runat="server" CommandName="Altapeticio"           ImageUrl="../../Imatges/b_Add.gif" ToolTip="Alta Petició" />
</ItemTemplate>
</telerik:GridTemplateColumn>

Can you help me??

 

thanks

 

 

 

 

 

Eyup
Telerik team
 answered on 04 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?