Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
163 views
Hi Admin,
I'm coding Listview in UserControl display data from database( Image store in database with type Binary data)
I have a problem when i can't show image in listview. Do you have a Demo to solve it, pass data Image?.
Princy
Top achievements
Rank 2
 answered on 07 Aug 2014
2 answers
85 views
Hi,

I'm handling series without exceptions.
So in other words - the user always edits the whole series (or a single appointment if no recurrence is defined).

I found a thread here how to suppress the "Series or single appointment" dialog on editing.
It suppresses the dialog - and shows the edit form for series - this is fine, but it also suppresses the delete confirmation.

I found out how to "filter between edit and delete" - but I have no idea how to go on.
What I want is a "normal" confirmation dialog "Do you want to delete the series"???

Here my code so far....
function RecurrenceActionDialogShowingHandler(sender, args) {
 
    if (args._recurrenceAction == 1) {
        args.set_cancel(true);
    }
    //Edit this instance only: 
    //args.set_editSeries(false); 
 
    //Edit the entire series: 
    args.set_editSeries(true);
}

It suppresses the selection for edit - but shows it for delete.

Manfred
ManniAT
Top achievements
Rank 2
 answered on 07 Aug 2014
1 answer
65 views
There are some wrong icons in RadTreeList with MetroTouch skin, these icons appears with the option ButtonType= ImageButton on the TreeListEditCommandColumn, you can see it on your own demos http://demos.telerik.com/aspnet-ajax/treelist/examples/dataediting/net35automaticdataediting/defaultcs.aspx with the MetroTouch skin enabled.
Greetings.

Galin
Telerik team
 answered on 07 Aug 2014
4 answers
219 views
Set RadDropDownTree SelectedItem Image

This sample of code is used to show in the selected item of a RadCombobox a IMAGE

<script language="javascript" type="text/javascript">
    function showImageOnSelectedItemChanging(sender, eventArgs) {
        var input = sender.get_inputDomElement()
        input.style.background =
            "url(" + eventArgs.get_item().get_imageUrl() + ") no-repeat";
        input.style.paddingLeft = "22px";
    }
 
    function showFirstItemImage(sender) {
        var input = sender.get_inputDomElement()
        input.style.background =
            "url(" + sender.get_items().getItem(0).get_imageUrl() + ") no-repeat";
        input.style.paddingLeft = "22px";
    }
</script>


I want to do the same in a RadDropDownTree. It's possible?

Best Regards and many thanks in advance for your help



Aneliya Petkova
Telerik team
 answered on 07 Aug 2014
1 answer
170 views
I have a saved the multiple checked items into my database, when I retrieve out the records, it only checked one item in the listbox instead of multiple. I have also verified that the records returned in the datatable contains 3 records.

aspx:
 <telerik:RadListBox ID="lbxDevelopmentComponent" SelectionMode="Multiple" runat="server" OnClientItemChecked="OnClientItemChecked"
                                        CheckBoxes="true" DataTextField="Text" DataValueField="Value" Width="500px" Height="150px">
                                    </telerik:RadListBox>

.cs:
var dtDevelopmentComponent = _objSqlManager.ExecuteSQL(sqlDevelopmentComponent.ToString(), paramDevelopmentComponent);

                        if (dtDevelopmentComponent.Rows.Count > 0)
                        {
                            for (int i = 0; i < dtDevelopmentComponent.Rows.Count; i++)
                            {
                                RadListBoxItem item = lbxDevelopmentComponent.FindItemByText(dtDevelopmentComponent.Rows[0]["DEVELOPMENT_COMPONENT_NAME"].ToString());
                                if (item != null)
                                    item.Checked = true;
                            }
                        }
Shinu
Top achievements
Rank 2
 answered on 07 Aug 2014
2 answers
145 views
I need to define a button in code to open a window
This is the code I'm using
Dim img As ImageButton

For x = 0 To weekcolour.GetUpperBound(0)

columnname = "ColumnITask" + (x + 1).ToString
imagename = "btnEx" + (x + 1).ToString
​ If Not (img Is Nothing) Then
img.ImageUrl = "/private/images/" + weekcolour(x) + "_light_ilp.png"
             If weekcolour(x).Contains("green") Then
                    img.OnClientClick = "openRadWindow('<%# DataBinder.Eval(Container.DataItem,'" + student_id + "') %>'); return false; > """
             End If
End If
next
The code updates the image url correctly but does not add the onClientCick event
It still does not work if I remove the "if" statement
This is my open window script
<script type="text/javascript"><br><br>        function openRadWindow(StudentID) {<br>            var oWnd = radopen("task_update.aspx?StudentID=" + StudentID, "RadWindow1");<br>            oWnd.center();<br>        }<br>    </script>


Simon Channell
Top achievements
Rank 1
 answered on 07 Aug 2014
6 answers
417 views
i am using Telerik - UI for ASP.NET AJAX Q3 2013 version. and the client Event OnRowDeleted does not raise when the row is deleted, when using the grid batch edit. i have searched online and found they have updated that in the Q2 2012 ver. But i am using the higher version but it has not been updated, could some one help us fixing these issues
Lahiru
Top achievements
Rank 1
 answered on 07 Aug 2014
1 answer
147 views
If I upload 3 files and then upload 2 more, the upload list shows all 5 files. I want to clear the list so only the 2 new ones show.  The situation I have is that I have an upload form who's visibility is toggled on the screen.  Once they upload, it is hidden. They can then go into another "folder" (all using ajax on the same page) and then show the upload portion and upload again. To them, it is a new upload but to the upload component, it is another upload and thus it shows the previous items as well as the new items.  
Peter Filipov
Telerik team
 answered on 07 Aug 2014
1 answer
149 views
Hi there.

How can I hide certain fields in the All Fields list in the ConfigurationPanel?

I can iterate through the pvtAD.Fields collection in the pvtAD_PreRender method and find the fields I want to hide but when I use pvtAD.Fields[i].IsHidden = true; it doesn't hide it. It still appears and also the update doesn't work when I apply any config changes.

And how can I do something like this?
pvtAD.Fields = pvtAD.Fields.OrderBy(x => x.Caption).ToList();

Many thanks,
Chris 
Eyup
Telerik team
 answered on 07 Aug 2014
6 answers
223 views
hi,
as radDataPager claim to SEO Paging but this make a huge problem on navigating link.
For example see this Demo and go to page 8 [last page in demo] then next link button create link to next page [defaultcs.aspx?RadListView1=9],this link has onclick="return false;" but link is a canonical link and Google known it as a Crawl Errors. 
is there a solution to prevent create this link only in server side?
Thanks
Daniel
Telerik team
 answered on 07 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?