Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
78 views

I have nested RadMenuItems hard coded in an aspx file with 3 different but similar menus.  Under a certain condition I need to remove the second menu item in each menu which works fine in the Visual Studio 2013 test environment. When I deploy to GoDaddy, remove on the third menu does not work in Page_Load. 

GoDaddy the items in the third menu in the aspx file are not fully instantiated in Page_Load. 

I was forced to code to check if the hard coded menu items exist and abandon the remove to avoid run-time errors.

if (JoinButtonMenu.Items.Count > 2 && JoinButtonMenu.Items.Count > 2)  {     
     JoinButtonMenu.Items[1].Items[1].Remove();
}

<telerik:RadContextMenu ID="JoinButtonMenu" CssClass="RadContextMenu3" runat="server">
    <ExpandAnimation Type="None" Duration="0" />
    <CollapseAnimation Type="None" Duration="0" />
    <Items>
        <telerik:RadMenuItem Text="Edit"  NavigateUrl="javascript:MenuItemSelected('Edit');" PostBack="False" ></telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Insert" PostBack="False" >
            <Items>
                <telerik:RadMenuItem Text="Insert Display Text..."  NavigateUrl="javascript:MenuItemSelected('AddText');" PostBack="False" ></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="Insert Checkboxes..."  NavigateUrl="javascript:MenuItemSelected('AddChecks');" PostBack="False" ></telerik:RadMenuItem>

....

The menu items missing in the Page_Load code all show up fine in the page including the one I need to get rid of.

Any ideas how to work around this problem and why it is happening?

George
Top achievements
Rank 2
 answered on 03 Jul 2015
1 answer
95 views

Hello there,

I am using a RadGrid that contains one DetailTable. The MasterTable is set to 100% total width and the DetailTable to 95%. In Details table i have a column of long string (like $0000,0000,000,00). This column stretches out the detail table beyond the Master Table in Mobile or Tablet View (testing using chrome inbulit simulators). If i set the TableLayout property of DetailTable to fixed, then it crops the header and text of some columns. I can set the columns to AutoResize mode but don't want to follow this approach.

Is there any better approach where everything will become responsive in the Mobile and Tablet view? Please help

 

thanks in advance

Pavlina
Telerik team
 answered on 02 Jul 2015
1 answer
106 views

 

Hi guys.

 

Is me again, now I want to make my gallery fully responsive and adaptative to any device(Desktop, tablet, smartphone), reading  the documentation I noticed that RenderMode feature was introduced in Q1 2015, Im working now with Q2 2014.

How can I implement responsive behavior to the gallery in the version tha I´m working?

 

Thanks.

Cristian.

Pavlina
Telerik team
 answered on 02 Jul 2015
1 answer
109 views

We would like to display data from ESRI Shapefiles with up to 200,000 points and are wondering if this is possible with the asp.net ajax RadMap.

Right now, we're looking just at performance with a RadClientDataSource loading from a JSON file with 40,000 Points displayed as simple black circles.  Panning is fairly fast, but zooming in or out one level takes about 4 seconds, even when none of the points are in view.

I've seen a lot of information on the Silverlight and WPF forums about getting decent performance with ~200,000 points as long as very few are in view at one time, which would be acceptable, but unfortunately we cannot use these platforms.

Does the UI for ASP.NET AJAX have anything like the dynamic layer that would improve performance when a lot of data is out of view? Or are there any other strategies to improve performance when this much data needs to be loaded?

Thanks in advance,
-Andrew

Ianko
Telerik team
 answered on 02 Jul 2015
4 answers
275 views

Hi,
    First i'm sorry for my bad english, I'm not really good. But I will try to explain my problem for you can understand.

 

In the project, we have a RadComboBox who get data by a ItemRequest. This comboBox serve for select a Person who are view in DataList

<telerik:RadComboBox ID="radPersonCombo" runat="server" Width="400" DropDownWidth="700" Height="300" AccessibilityMode="true" AutoPostBack="false" EnableScreenBoundaryDetection="true" EnableVirtualScrolling="true" ItemsPerRequest="10" ShowMoreResultsBox="true" EnableLoadOnDemand="true" OnItemsRequested="radPersonCombo_ItemsRequested" CheckBoxes="true" CheckedItemsTexts="FitInInput">
    <HeaderTemplate>
         <table style="width: 682px" cellspacing="0">
         <tr>
            <th style="width: 32px"></th>
            <th style="width: 125px"><asp:label ID="radTitleLN" runat="server"><%= LocalizationTools.RM.GetString("lblName") %></asp:label></th>
             {...}
         </tr>
         </table>
    </HeaderTemplate>
    <ItemTemplate>
         <table style="width: 682px" cellspacing="0">
         <tr>
            <td  style="width: 32px"></td>
            <td style="width: 125px"><%# DataBinder.Eval(Container, "Attributes['LastName']")%></td>
            {...}
         </tr>
         </table>
    </ItemTemplate>
</telerik:RadComboBox>

 

 <asp:datalist id="dtlPerson" runat="server"> {...} </asp:datalist>

 That comboBox can have more 1000 DataItem. For this  reason  we use EnableLoadOnDemand, but the EnabledLoadOnDemand don't preserve item server-side.

 When I check the elements and I close the ComboBox. If AutoPostBack option is True.

I get the error:

Index was out of range. It must not be negative and must be less than the size of the collection.
Parameter name: index

 

I tried using the following example. However, this example remains the client side. And when I try to spent AjaxRequest to call the Fill methods that data DataList. Nothing displays.

http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultvb.aspx

 

Otherwise these is possible to align the check box in the center of the element? Since it is not included in my Template. (See Image CheckBoxMiddleAlign)

 

The desired final result should be like the image finalResult attached.

MathieuB
Top achievements
Rank 1
 answered on 02 Jul 2015
6 answers
293 views
Is there somebody who managed to show a vertical and horizontal ruler next tot the editor?
This would be handy for customers who try to determine size of pictures on a page.

Thanks,
Marc
Peter Stanford
Top achievements
Rank 1
 answered on 02 Jul 2015
1 answer
174 views

I am having issue in implementing the RadCombobox filter from server side. I am binding the Radcombobox to the need datasource. But no luck in making the filters work. If I tried doing the static Combobox list and call with javascript it is ok. But I have to implement it from the server side.

 

Anyhelp will be much appreciated. I searched the forums, but couldn't find a demo using the need datasource for the MVC pattern.

 

When I binded RadComboBox with collection (List) in the code behind..
The filtering didn't work.. I binded the RadComboBox in
GridItemDataBound or GridItemCreated event.. But no luck..



Any help.. will be very much useful to me.. I spent nearly two days but I
didn't any direction... I'm nearing to my deadline.. so I have no other
option left out other than this forum..


Thanks,

Sachi.

Eyup
Telerik team
 answered on 02 Jul 2015
1 answer
99 views

HI,

 Can someone please tell how to set start time for RadDateTimePicker

Please provide example for set_StartTime method.

Eyup
Telerik team
 answered on 02 Jul 2015
5 answers
186 views
I've come across an issue where my TabStrip stops working in Firefox if the page is refreshed via F5 instead of ctrl-F5. I dont have a spot to test if it happens after postback or not. I'm aware that I dont need the JS function to switch tabs..it was just an attempt to fix the issue. I put an alert() in the JS and found its not going into the function at all after a F5 refresh. Do I need to run a reset function or something on the usercontrol pageload or maybe tooltip load? Again, this appears to only be a FF issue...IE works as expected. Using Version 2008.1.515.20.

<rad:RadTabStrip ID="radQPTabs" runat="server" MultiPageID="radmultipage" BorderWidth="0" 
                OnClientTabSelected="onSelectedQuickPeekTab"  Skin="Vista"
                <Tabs> 
                    <rad:RadTab Text="Price" Selected="true" Width="95px"
                    </rad:RadTab> 
                    <rad:RadTab Text="Details" Width="95px"
                    </rad:RadTab> 
                </Tabs> 
            </rad:RadTabStrip> 

function onSelectedQuickPeekTab(sender, args) { 
    var tabs = args.get_tab(); 
    var strTabText = tabs.get_text(); 
         
    if (strTabText.indexOf("Price") > -1) { 
        tabs.set_selectedIndex(0); 
    } else if (strTabText.indexOf("Details") > -1) { 
        tabs.set_selectedIndex(1); 
    } 
Peter Filipov
Telerik team
 answered on 02 Jul 2015
2 answers
92 views

From what I understand, if I have a grid with EditMode="EditForms" with a WebUserControl and everything works correctly, the only thing I have to change for this WebUserControl to turn into a PopUp windows is the EditMode="PopUp".

The reason I ask is that I have already tried this, but I get no PopUp screen.

You can see the attached screen for what I get instead (third record).

 

I would appreciate any help.

Dimitrios
Top achievements
Rank 1
 answered on 02 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?