Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
376 views
I tried to build a grid which has selected 10 columns  out of which 3 are readonly.

I should be able to insert by selecting "Add new item"  into only 4 columns and when it comes to edit

it should edit 6 columns.

I used this URL to start working
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/templateformupdate/defaultcs.aspx

Grid doesn't compile if I use less fields in insert than edit in SQL Datasource.

There is a also a problem to hide and print  grid. One another problem about displaying grid rows in Red if there is a negative value in row.
Please help me and suggest some examples with the above requirement.
Angel Petrov
Telerik team
 answered on 18 Dec 2012
5 answers
195 views
Will the latest RadFileExplorer update work on an iPad?
Vessy
Telerik team
 answered on 18 Dec 2012
6 answers
111 views
Hi There,

I am using DetailTables inside a radgrid, which is inside of a RadToolTipManager user control. When the tooltipmanager user control pops up, the radgrid data for first level is displaying well, but the expand button is not working (cannot see the data of the second level), Any help or suggestions would be greatly appreciated. Thank you.
Marin Bratanov
Telerik team
 answered on 18 Dec 2012
1 answer
81 views
Hi,

I'd like to use a multicolumn Combo for search reasons.
Here's my current configuration (based on this demo) :

ASPX:
<telerik:RadComboBox ID="rb_fvCustomer" runat="server"
                                    DataSourceID="Customers" EnableAutomaticLoadOnDemand="true" ItemsPerRequest="10"
                                    DataTextField="name" DataValueField="kundennummer"
                                    EnableVirtualScrolling="true" ShowMoreResultsBox="true" Width="190px" HighlightTemplatedItems="true">
                                    <HeaderTemplate>
                                        <table style="font-size: 10px">
                                            <tr>
                                                <td style="width: 140px;">Name</td>
                                                <td style="width: 200px;">Kundennummer</td>
                                            </tr>
                                        </table>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <table style="font-size: 10px">
                                            <tr>
                                                <td style="width: 140px;">
                                                    <%# DataBinder.Eval(Container.DataItem, "name")%>                                                 
                                                </td>
                                                <td style="width: 200px;">
                                                   <%# DataBinder.Eval(Container.DataItem, "kundennummer")%>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </telerik:RadComboBox>



DataSource Definition:
<asp:LinqDataSource ID="Customers" runat="server" ContextTypeName="DataAdapterRR.CustomerDB_ConnectorDataContext"
        OrderBy="name" TableName="kp_customerdata">
    </asp:LinqDataSource>

Nothing happeing in code behind.
The sarch on the datavalue works and data is shown in the dropdown.
Is there a way I can make the combo to search in all colums but display only the "name" once selected?
Nencho
Telerik team
 answered on 18 Dec 2012
11 answers
311 views
Hi, I am trying to get client-side drag-n-drop working for a RadTreeView.  Each node is templated.  When I drag a node, the drag-n-drop works fine, but the node looses it's template and instead displays the fully qualified name of the data bound object in plain text (all client-side; no AJAX yet).  Here is my code.  See the attachment for how the tree looks *after* I drag and drop nodes (fully qualified names blurred).

Telerik.Web.UI.RadTreeNode.prototype.insertBefore = function(destinationNode) { 
    var parent = destinationNode.get_parent(); 
    var index = parent.get_nodes().indexOf(destinationNode); 
    parent.get_nodes().insert(index, this); 
}; 
 
Telerik.Web.UI.RadTreeNode.prototype.insertAfter = function(destinationNode) { 
    var parent = destinationNode.get_parent(); 
    var index = parent.get_nodes().indexOf(destinationNode); 
    parent.get_nodes().insert(index + 1, this); 
}; 
 
Telerik.Web.UI.RadTreeNode.prototype.positionRelativeTo = function(destinationNode, dropPosition) { 
     
    switch(dropPosition) { 
        case "over"
            destinationNode.get_nodes().add(this); 
            break
        case "above"
            this.insertBefore(destinationNode); 
            break
        case "below"
            this.insertAfter(destinationNode); 
            break
        default: 
            break
    } 
}; 
 
//actual client event handler 
function nodeDropping(sender, eventArgs) { 
 
    var source = eventArgs.get_sourceNode(); 
    var destination = eventArgs.get_destNode(); 
    var position = eventArgs.get_dropPosition(); 
     
    sender.trackChanges(); 
 
    source.positionRelativeTo(destination, position); 
     
    sender.commitChanges(); 

Thanks!
Kate
Telerik team
 answered on 18 Dec 2012
3 answers
293 views
Hello

In Javascript, how should I programmatically click the plus or minus button in a node, in order to programmatically raise the nodeexpand event, or the nodecollapse event. Obviously, calling .expand() on the node object does not raise the event. Would it be something similar to this example (which is in another forum post elsewhere, about programmatically selecting a node):

     var item = $(mytreeid).find(".t-input[name='itemValue'][value='5']").closest("div");

     item.find(".t-in:first").trigger("click");


Presumably the second line would be different, in order to click the expand node, but what should it be? I just can't work it out!

Thanks if you can help with this one.

Regards


Boyan Dimitrov
Telerik team
 answered on 18 Dec 2012
3 answers
1.1K+ views
Hi All,

Is there any way to remove default minimum date and maximum date of rad date picker ? I don't want to set any min date and max date as I don't know what would be date coming from database ?


Regards,
Ruchi
Princy
Top achievements
Rank 2
 answered on 18 Dec 2012
1 answer
48 views
Our website uses a system of pre-caching child menu items to increase performance on a very large webservice-populated RadMenu. When a menu item is expanded, all child items invoke _loadChildrenFromWebService() to fetch its own children, in advance of that sub menu being expanded. This has worked incredibly well up until upgrading to the Q3 and Q3 SP1 Teleriks. Now - on desktop browsers, the behaviour is unchanged, but on Android phones (multiple browsers tested), when _loadChildrenFromWebService() is called - the sub menu filled from the webservice actually displays! Alternatively, on Windows Phone 8, the menus pop up, and are immediately hidden.

Has the internal behaviour of this method been changed in the recent updates?

Kate
Telerik team
 answered on 18 Dec 2012
1 answer
89 views
Hi,

I've created a site where i have a radgrid with the built-in skin Transparent on the page. This works fine & looks good, as it picks up all the CSS from the skin file.
However, i have another Radgrid which is embedded into a formview so it shows records related to the formview selected record. The settings are excatly the same for this Radgrid as they are for the Radgrid in the main page. I even used the same built-in skin. However, the radgrid within the formview does not work properly with the selected skin. There are several noticeable CSS omissions such as the header backgroud, text colour, size, etc that are different or not rendered correctly. It does pick up some of the colour scheme & CSS of the skin but is clearly missing something out too.

is there an explanantion for this?

Regards,

Shuja
Galin
Telerik team
 answered on 18 Dec 2012
3 answers
86 views
Hi guys,
I have a master page and a radajaxpanel radajaxloadingpanel ... from a button I open a second aspx page that loads records from a SQL database server. Because just when I open the second page, the master page the radajaxloading starts, but the animated gif is not moving. This with Internet Explorer 9 instead if I start with google chrome the animated gif works
this my code that call the second page:
Protected Sub ImageButtonRicerca_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImageButtonRicerca.Click
 
Response.Redirect("Resultsearch.aspx?_str1=" & Txt_ricerca1.Text & "&_str2=" & Txt_ricerca2.Text)
 
End Sub

while this is the code of the second page:

Dim lista As List(Of PropertyUtente) = Loadsearch.Search(_str1, _str2)
RadListView1.DataSource = lista
RadListView1.DataBind()




Maria Ilieva
Telerik team
 answered on 18 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?