Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
335 views

Hi,

I have a RadCombobox on an aspx page that I'm trying to populate with one item at OnLoad using 

RadComboBoxItem newItem = getItem(id);
RadCombo1.Items.Add(newItem);
RadCombo1.SelectedValue = Request.QueryString["cid"];
RadCombo1.Text = newItem.Text;

After page finishes loading, while invoking RadCombo1_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e), e has empty Text and loads data as if the box was empty.

Control on page:

<telerik:RadComboBox ID="RadCombo1" runat="server" 
                                        Width="300" MaxHeight="350" AllowCustomText="true" 
                                        MarkFirstMatch="true" 
                                        OnClientSelectedIndexChanged="OnClientSelectedIndexChanged"
                                        OnSelectedIndexChanged="RadCombo1_SelectedIndexChanged"
                                        EnableLoadOnDemand="true" EnableVirtualScrolling="true"
                                        OnItemsRequested="RadCombo1_ItemsRequested"
                                        ShowMoreResultsBox="true" Filter="Contains">
                                    </telerik:RadComboBox>

 

How can I set e.Text to my selectedItem.Text or invoke manually RadCombo1_ItemsRequested ?

Ivan Danchev
Telerik team
 answered on 04 Aug 2015
1 answer
92 views

I am very new to the Telerik controls, less then 8 hours.  I just spent several hours building a social network diagram using the D3.js library and now need to see if I can create a similar product with the Telerik controls.  Basically the diagram ​nodes need to show an image, that is stored on a local server, along with some textual ​information.   All data for the nodes and links would be stored in a local json data-set.  I would also need to add text labels to lines that link the nodes.

 

Can any one tell me if these requirements can be met using the Telerik controls, and any example code I could use to get up to speed.

 

Thanks

Perry

Vessy
Telerik team
 answered on 04 Aug 2015
1 answer
191 views
I am having an issue with Telerik RadGrid Control

The Grid control is configured allowing "paging and filtering"

When I write some text in the filter box the RadGrid control shows me the rows needed
but when I move from a page to another the radGrid shows me all the rows. 

It does not keep the filter I ask for


Help would be appreciated!
Maria Ilieva
Telerik team
 answered on 04 Aug 2015
9 answers
3.4K+ views
Does not seem like RadGrid.Rebind() is firing the NeedDataSource if NeedDataSource has already been executed on postback.  I am using a context menu on a grid row to duplicate the row but when I call the grid.Rebind() on the RadMenu_ItemClick it does not fire the NeedDataSource to rebind the grid. Has anyone else seen this?  I am using the Q3 2008.

Thanks,

Jason

 

Maria Ilieva
Telerik team
 answered on 04 Aug 2015
1 answer
201 views

I have added Forms authentication to my Telerik Website which is working fine.  When I add the code block for <authorization> the side will load but throw the following error before opening the login page:

 

JavaScript critical error at line 3, column 1 in http://localhost:61573/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:88fd0407-24cf-4abd-9df5-22f81b2bc835:ea597d4b:b25378d2;Telerik.Web.UI:en-US:33628d01-7007-4010-a8f6-f8f356bdff24:16e4e7cd:f7645509:22a6274a\n\nSCRIPT1002: Syntax error

 

If I remove the code block the site works but there is complete access to all the pages.

    <authorization>
      <deny users="?" />
    </authorization>​

 

Not sure where to start looking.  I don't really want to create a session variable and redirect to the login page if not set if I don't have to.

 

This is a VS 2013 / .net framework 4.5 / C# web application.

 

Any thoughts?

 

Doug

Pavlina
Telerik team
 answered on 04 Aug 2015
9 answers
150 views

hi Telerik

this is my first post

I'm evaluating your last release for my company for choosing a third party controls

i have multiple issues

I'm building a page with a grid with invoices when selecting invoice and click edit (Custom button not the grid command ) it open that invoice in another page (invoiceDetail.aspx?ID=..) in a Rad window so the user can edit the items in the invoice and add more or edit

normally i had item search in the detail page that should open the item list to choose item s

1- about the efficiency i read on your forum that to increase the the speed of the grid load time i should use this method

http://www.asp.net/web-forms/overview/data-access/paging-and-sorting/efficiently-paging-through-large-amounts-of-data-cs

but this does not work with filtering ??? is there any thing to include filtering with this technique

2-when you read my situation you will know that i need to open radwindow within another radwindow (open search page within the invoice detail page)

this some thing i can't do

the first window opens perfect

    function ShowEditForm(id, rowIndex) {
                    var grid = $find("<%= RadGrid1.ClientID %>");
                var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
                grid.get_masterTableView().selectItem(rowControl, true);
                window.radopen("trans.aspx?Serial=" + id, "UserListDialog", 1000, 800,30,30);
                return false;
            }​

 <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
            <Windows>
                <telerik:RadWindow ID="UserListDialog" runat="server" Title="Editing record" Height="320px"
                    Width="310px" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false"
                    Modal="true">
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>

this code run on the first page but not the second

should i put another window manager with another window on the second page

https://pnamburi.wordpress.com/2010/03/31/open-radwindow-from-within-a-radwindow/

no thing on this page worked with me

the manager always null even window.radopen(url) give error TypeError: d is undefined window.radopen​

3- the item search page (i open it now via normal JavaScript ) just a page with grid of items if the parent row is edit mode(Change the item) and return the selected item instead of the old item

if the parent row is new allow multiselect in this case i need to add these items to the grid

 

thank you

Pavlina
Telerik team
 answered on 04 Aug 2015
2 answers
103 views

My developer friends --

I have just been informed by Telerik support that you CANNOT perform a group sort on anything other than Ascending or Descending of the column being grouped on.

Imagine needing to offer a feature in your product that Groups by Salesperson and totals all their sales across product lines and geography. Now, let's also say that you wanted to sort all of your Salespersons by their total Sales,,,,YOU CANNOT DO IT !!! But you can sort your Salespersons alphabetically. Tell that to your users. Tell your users that they will have to look through the list to find out who your top sales people are !!

If you vote for my feature request, by virtue of the power of democracy, you can tell Telerik to offer the very feature that has existed in Excel for years. Here's the link:

http://feedback.telerik.com/Project/108/Feedback/Details/165036-group-sorting-by-totals-of-other-grouped-items

Go there and vote for this feature. One day YOU TOO will need it, but be stuck without such a basic feature.​

Robert
Top achievements
Rank 1
 answered on 04 Aug 2015
8 answers
139 views
Hello,

I discovered that we loose the normal urlreferrer when asking for a redirect with AjaxManager.
This seems a bug ?

CS
Pavlina
Telerik team
 answered on 04 Aug 2015
1 answer
219 views

For a radslider with databoud items i want to tooltiptify with:

 

    Protected Sub statusslider_DataBound(sender As Object, e As System.EventArgs)

        Dim rs As RadSlider = CType(sender, RadSlider)

        For Each item As RadSliderItem In rs.Items
            RadToolTipManager1.TargetControls.Add(item.ClientID, "aa", True)
        Next
  

    End Sub​

 

But this ain't working. Also AutoTooltiptify with ZoneID is only working for the slider tooltip but not for the items tooltips.

Any idea how I could get this to work?

 

Marc

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

I was wondering if their was a way to produce something simliar to the 90 dregree radiual guage that devxpress offers I am trying to get me customer to buy telerik of use. For his future projects. I am using demo version asp.net ajax

If anyone knows what i mean like the fuel guage in peoples cars.     
Misho
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?