Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
237 views
Dear Friends,

I have a RadGrid with Following Columns

Name     DOB      Address      City       Country

I am populating this grid in JavascriptI didn't get how to populate DOB Date field, City Dropdown and Country Dropdown columns.

In code behind I have ItemCreated Event, But I didn't get how to trigger it from Javascript. Becuase i am binding the grid through Javascript.

So, Please help me to resolve this issue.


Regards,
Rajendran
Konstantin Dikov
Telerik team
 answered on 04 Feb 2015
1 answer
80 views
I'm trying to add a label and checkbox after the Page Size drop down in the standard pager. However, when I do this:

protected void AssetGrid_OnItemEvent(object sender, GridItemEventArgs e)
{
    if (e.EventInfo is GridInitializePagerItem)
    {
        var showAllLabel = new Label {Text = "Show All"};
        var showAllCheckBox = new CheckBox();
 
        (e.Item as GridPagerItem).PagerContentCell.Controls.Add(showAllLabel);
        (e.Item as GridPagerItem).PagerContentCell.Controls.Add(showAllCheckBox);
    }
}

The result is the controls above the whole pager. 
Eyup
Telerik team
 answered on 04 Feb 2015
4 answers
151 views
Basically, the height of the textbox fields in my Filter Row are too small and they are cutting off the text being typed. It works fine but you cannot see the text. I have tried several things (css, programmatic, properties, etc) but I cannot change the height. I can change the width with no problems. Removing themes and formatting does not help either. There has to be a n easy solution for this. See my screen below.
Eyup
Telerik team
 answered on 04 Feb 2015
1 answer
64 views
Are there any examples where the listbox mover boxes are databound on the left side  to a datasource, and the right side, with the data items associated with the current selected row in a grid? For instance, I want to use the listbox control within my datagrid as a gui to control a one (grid record) to many (listbox options) relationship, but I can't find any documentation on that type of setup. Any help would be appreciated.

Thank you!
Michael
Bozhidar
Telerik team
 answered on 04 Feb 2015
1 answer
75 views
When I have a RadTreeList with TreeListTemplateColumn defined, the RadContextMenu is not available when the mouse is over the Text for the Node.  When the mouse is moved off of the text, the RadContextMenu is available. By available, I mean right mouse click will bring up the menu.

If I replace the TreeListTemplateColumn with a TreeListBoundColumn, the new RadContextMenu is available over the text.

Thank you
Maria Ilieva
Telerik team
 answered on 04 Feb 2015
1 answer
130 views
I have a RadTreeList that contains a Template Column holding a DropDownlist.  I am populating the DropDownList during the ItemDataBound event:

Protected Sub RadTreeList1_ItemDataBound(sender As Object, e As TreeListItemDataBoundEventArgs) Handles RadTreeList1.ItemDataBound
If TypeOf e.Item Is TreeListEditableItem AndAlso CType(e.Item, TreeListEditableItem).IsInEditMode Then
Dim tmpItem As TreeListEditableItem = TryCast(e.Item, TreeListEditableItem)
Dim tmpControl As MultiView = TryCast(e.Item.FindControl("MultiView1"), MultiView)

Select Case tmpItem.DataItem("SelectionType").ToString
Case "DROPDOWN"
tmpControl.ActiveViewIndex = 0
Dim tmpDrop As DropDownList = TryCast(tmpControl.FindControl("DropDownList1"), DropDownList)

Using dbContext As New EntitiesModel
Dim tmpInt As Integer = tmpItem.DataItem("SowGroupID")
tmpDrop.AutoPostBack = True
tmpDrop.DataValueField = "SowSelectionID"
tmpDrop.DataTextField = "SelectionName"
tmpDrop.DataSource = dbContext.LibSOWSelections.Where(Function(c) c.SowGroupID = tmpInt).OrderBy(Function(c) c.Seq_No).ToList
tmpDrop.DataBind()
End Using
Case "CHECKBOX"
tmpControl.ActiveViewIndex = 1
Case "TEXTBOX"
tmpControl.ActiveViewIndex = 2
Case Else
tmpControl.ActiveViewIndex = 3
End Select
End If
End Sub

This works fine, but the problem is that I have the DropDownList posting back on change so that I can perform some logic, but when it posts back, I lose the selection of the dropdownlist.  It is rebinding and I do not know where I can capture the selected value.

Any help would be appreciated.
Maria Ilieva
Telerik team
 answered on 04 Feb 2015
6 answers
159 views
Hi, 
here my problem:
I want to load some RadPivotGrid inside a RadListView according to some parameters in the listview's datasource.
Everything works fine but when I try to expand groups (or something else that cause a postback) the listview is rebinded and the radpivotgrids are reloaded from scratch.
I have tried to put pivot grid inside a user control surrounded by a radajaxpanel but even if the the ajax panel fires the loading panel associeted the problem persist.
Could you help me?
Do you need an example?

Thanks 
Maria Ilieva
Telerik team
 answered on 04 Feb 2015
3 answers
95 views
Hi folks,

I need compute the percentual of my parents tasks according to the children tasks.
Exists a client method for this?

tks.

ps.
sry my bad english.

best regards.

Bozhidar
Telerik team
 answered on 04 Feb 2015
1 answer
93 views
How to display AddNewRecordButton  on Right Side in CommandItemTemplate instead of normal left side
Eyup
Telerik team
 answered on 04 Feb 2015
0 answers
82 views
Using a tab strip with bitmaps for the tabs, per sample code provided online.  The ski bitmap is still showing next to the images.  The .jpgs are not centered but offset on the tabs and you can see the lines of the tabs in the skins next to the bitmaps and even below the bitmaps when looking at the web site.  The example in the demo seems to work perfectly the way I like but have not been able to get to that state.  Also can not get the strip to go to the bottom of the page, etc.  Have tried setting the sizes to correspond exactly to the bitmaps but nothing has worked.  Again bitmaps are shifted to the right and you can see the lines of a tab strip.  Have tried multiple different skins, basically need a skin which does not have any graphics at all.  Last thing I tried was setting the skin rendering to false but that has not fixed the issue either.

Don


<body>
    <form id="form1" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"></telerik:RadAjaxManager>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"></telerik:RadStyleSheetManager>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
    <div>
                <telerik:RadTabStrip runat="server" ID="RadTabStrip1"
                    MultiPageID="RadMultiPage1" Width="500px" SelectedIndex="4" Skin="Windows7"
                    Height="35px" Align="Center" BackColor="White" EnableAjaxSkinRendering="False">
                    <Tabs>
                        <telerik:RadTab ImageUrl="/images/Weight.jpg"   ToolTip="Weight"      
                            SelectedImageUrl="/images/Weight-hover.jpg"  align="center"
                            HoveredImageUrl="/images/Weight-hover.jpg"   Width="100" BackColor="white" ></telerik:RadTab>
                        <telerik:RadTab ImageUrl="/images/people.jpg"   ToolTip="Athletes"    
                            SelectedImageUrl="/images/People-hover.jpg"  align="center"
                            HoveredImageUrl="/images/People-hover.jpg"   Width="100" BackColor="white" ></telerik:RadTab>
                        <telerik:RadTab ImageUrl="/images/calendar.jpg" ToolTip="Calendar"    
                            SelectedImageUrl="/images/Calendar-hover.jpg" align="center"
                            HoveredImageUrl="/images/Calendar-hover.jpg" Width="100" BackColor="white" ></telerik:RadTab>
                        <telerik:RadTab ImageUrl="/images/Notes.jpg"    ToolTip="Notes"       
                            SelectedImageUrl="/images/Notes-hover.jpg"   align="center"
                            HoveredImageUrl="/images/Notes-hover.jpg"    Width="100" BackColor="white"></telerik:RadTab>
                        <telerik:RadTab ImageUrl="/images/MyPage.jpg"   ToolTip="My Exercise"
                            SelectedImageUrl="/images/MyPage-hover.jpg"  align="center"
                            HoveredImageUrl="/images/MyPage-hover.jpg"   Width="100" BackColor="white"></telerik:RadTab>
                    </Tabs>
                </telerik:RadTabStrip>
                <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="4"
                    CssClass="outerMultiPage">
                    <telerik:RadPageView runat="server" ID="PageView1">
                        <telerik:RadCalendar ID="RadCalendar1" Runat="server" Skin="Glow">
                            <WeekendDayStyle CssClass="rcWeekend" />
                            <CalendarTableStyle CssClass="rcMainTable" />
                            <OtherMonthDayStyle CssClass="rcOtherMonth" />
                            <OutOfRangeDayStyle CssClass="rcOutOfRange" />
                            <DisabledDayStyle CssClass="rcDisabled" />
                            <SelectedDayStyle CssClass="rcSelected" />
                            <DayOverStyle CssClass="rcHover" />
                            <FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Glow" />
                            <ViewSelectorStyle CssClass="rcViewSel" />
                        </telerik:RadCalendar>
                    </telerik:RadPageView>

                    <telerik:RadPageView runat="server" ID="PageView2">
                    </telerik:RadPageView>
Dariush Habibi
Top achievements
Rank 1
 asked on 03 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?