Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
102 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
97 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
175 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
187 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
120 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
145 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
104 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
5 answers
127 views
Hello,
I upgraded to new Telerik version 2014_1_403 from 2011_3_1305 and compatibility issues started...

ASP :
            <telerik:RadGrid runat="server" DataSourceID="dsStandardProduct" ID="uiChoicesGrid"
                Width="900" >
                <MasterTableView AutoGenerateColumns="false" AllowAutomaticInserts="true" AllowAutomaticUpdates="true"
                    AllowAutomaticDeletes="true" CommandItemDisplay="Top"  InsertItemDisplay="Top"
                    DataKeyNames="ProductTypeID, ValueRangeID" EditMode="InPlace">
                    <Columns>
                           <telerik:GridCheckBoxColumn SortExpression="IsStandard" HeaderText="Standard" HeaderButtonType="TextButton" DataField="IsStandard" UniqueName="IsStandard">
                        </telerik:GridCheckBoxColumn>
                        <telerik:GridBoundColumn SortExpression="OvercostEuros" HeaderText="Overcost (Euros)"
                            HeaderButtonType="TextButton" DataField="OvercostEuros" UniqueName="OvercostEuros">
                        </telerik:GridBoundColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>

VB : 
    Private Sub uiChoicesGrid_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles uiChoicesGrid.ItemDataBound
        If TypeOf e.Item Is GridDataInsertItem Then
            Dim item As GridDataInsertItem = e.Item
            Dim chk As CheckBox = item("IsStandard").Controls(0)
            Dim txt As TextBox = item("OverCostEuros").Controls(0)
                                 logic continues...

But the above line of code "Dim txt As TextBox = item("OverCostEuros").Controls(0)" generates an Argument Out Of Range Exception 

Please suggest. 
Thanks

fatma
Top achievements
Rank 1
 answered on 03 Feb 2015
3 answers
259 views
I Have a radgrid running with EnableLinqExpression="false". I am using this to get the filter string to support by the database. but when i try to filter with Datecolumn (GridDateTimeColumn) I were not able to execute the sql generated by filter string. my database is an Oracle 11g. is there any way to generate the filter string to support by oracle database? 

Viktor Tachev
Telerik team
 answered on 03 Feb 2015
5 answers
723 views
I have a grid with telerik:GridBoundColumn where I try to change the text color to red.
If the text data is unformatted it works, but not if the text is HTML Code / is a url.
Have tried with ItemStyle-ForeColor="Red" and:

Protected Sub RadGrid1_ItemDataBound(sender As Object, e As GridItemEventArgs)
    If TypeOf e.Item Is GridDataItem Then
        Dim dataItem As GridDataItem = TryCast(e.Item, GridDataItem)
        Dim myCell As TableCell = dataItem("FormularUrl")
        myCell.ForeColor = Color.Red
    End If
End Sub

Konstantin Dikov
Telerik team
 answered on 03 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?