Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
75 views

Scenario:

I am developing an application using Telerik RadControls for ASPX.NET AJAX. I have tree

different Rad controls in the main page. A RadTreeview, a RadTabStrip and a RadGrid.

The basic functionality is: I select a node from the Treeview, that builds dynamic questions sourced from a database) in the RadTabStrip. And the answer to those questions is given by

selection an option in the single column RadGrid.

My questions are:

1. How can I set a default selection in the RadGrid?

2. When a node is selected the RadTabStrip is rebuilt but the page always blinks. How can I

avoid that blinking from the whole page running some server side code like the example here: http://demos.telerik.com/aspnet-classic/treeview/Examples/Programming/ServerSideApi/DefaultCS.aspx?

3. After a node selection and rebuilding the tabstrip pages, the RadTreeView loses the selected node focus. How can I keep the focus on the previously selected node? (it has something to do with that blink, can it be from the PostBack of the page?)

4. How can I load the grid having for each row a value and a text (value is an id related to the text element)?

Thank you all.

Regards

Bruno

Plamen
Telerik team
 answered on 11 Aug 2011
2 answers
91 views
Is there any way to persist the settings for a listview (i.e. current sort column) similar to the way the RadGrid does or do I have to manually store a session variable or something?
Veli
Telerik team
 answered on 11 Aug 2011
2 answers
234 views
I have been looking for a way to load a TabStrip such that only the active tab gets loaded. The whole TabStrip control should not load up front. What if you had 10 tabs, all with data controls?

The demo's only have this example. This is not the behaviour I want.

I want the tab to postback every time it is clicked (which the demo does not achieve. There, tabs only postback the 1st time they are clicked).

I also don't like the solution of setting RenderSelectedPageOnly="true" on the MultiPage. When you click View Source, you only see the content of the front tab in the source, regardless of which tab you are on.

I have had a go at solving this, but my solution has not worked. You can download my attempt from here.
If you navigate away from a tab and then back to it, its content is missing (even without AJAX).  
I've removed the Telerik DLL. I used version 2010.3.1215.35.

Has anyone solved this problem? If so, I think it should be added to the demos, as I am sure it would be a very common requirement.
Joni
Top achievements
Rank 1
 answered on 11 Aug 2011
3 answers
98 views
Hi,

I have implemented spell check in my page. i am facing a problem in spell check, its is not loading for the first time.

for example

i have configured a textbox to the spell check, and have provided text with spelling mistakes, now when i click the Spell Check button a dialog box has been open and it has been in progress for long time.

if i am doing this again na then its working fine.

i have included spellcheck as below

<

 

 

telerik:RadSpell ID="spVenue" runat="server" ButtonText="Spell Check" ControlToCheck="txtVenueName"

 

 

 

AjaxUrl="~/Telerik.Web.UI.SpellCheckHandler.axd" />

 


Included RadSpell.Dialog.resx in App_GlobalResources, App_Data\RadSpell\en-US.tdf

and in Web.Config

<

 

 

httpHandlers>

 

<

 

 

add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>

 

</

 

 

httpHandlers>

 

<

 

 

handlers>

 

<

 

 

add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler"/>

 

</

 

 

handlers>

 


Please help me to fix this problem.

Thanks,
Prakash.

Rumen
Telerik team
 answered on 11 Aug 2011
7 answers
222 views
Is it possible to add a link to the header of the scheduler (where it has the "today" link, date, and "Day", "Week", & "Month" buttons)?

If so, how?

Thanks.
Peter
Telerik team
 answered on 11 Aug 2011
1 answer
64 views
I have a very simple page that includes a RadComboBox tied to a SqlDatasource.

As soon as I attempt to add AJAX Manager (v2011.2.712.40) to the page, the combo box is non-reponsive.

If I configure the Manage by turning off the "Enable Ajax" option, the page returns to normal operation.

Where would I start looking for configuration or other areas that might cause Ajax to fail?

Bear in mind, I have had great success with all of these components in several other projects, so I am sure the workstation is configured correctly.

This problem persists across the latest versions of IE, Firefox and Chrome, yet another reason to suspect my configuration.

The other possibly relevant details are: VS2010 Pro, IIS 7.5 on Win 7 Pro, coding in VB, targeting ASP.NET 4.0. (all updated as of this morning)
Shinu
Top achievements
Rank 2
 answered on 11 Aug 2011
3 answers
146 views
Hi,

We are using the Telerik RadGrid and currently make use of the accessibility features.

Is it possible to enable accessibility on the filter context menu? There doesn't seem to be alt text on the context menu which causes a problem with screenreaders.


Thanks,

Ryan
Shinu
Top achievements
Rank 2
 answered on 11 Aug 2011
1 answer
223 views
I have a RadGrid with GridButtonColumn as follows:
GridButtonColumn myCommandButton = new GridButtonColumn();
myCommandButton.ButtonType = GridButtonColumnType.PushButton;
myCommandButton.CommandName = "MyCommand";
myCommandButton.Text = "MyCommand";
myGrid.Columns.Add(myCommandButton);

but when the ItemCommand event fires, e=CommandName is an empty string...
What am I missing?
Princy
Top achievements
Rank 2
 answered on 11 Aug 2011
1 answer
60 views
Hello,
I'm trying to achieve a Filter Menu but with an image on headers and when you clic on image the menu with filters options shows. Exactly like this grid in MVC exaplme.

I was trying to do this with ajax radgrid manually, creating a popup menu, but it's very dificult to achieve the correct behavior and I had a lot of problem related with events and controls.

Please can you help me or send me an example to do filter like mvc grid.

Thanks.

Julio.
Shinu
Top achievements
Rank 2
 answered on 11 Aug 2011
3 answers
109 views
After upgrading from 2010.1.309.35 to 2010.2.929.35 the rad context menu takes 6 seconds to display.
The menu is displayed using menu.showAt(x,y) in javascript. On click the menu is cleared, new items added and then displayed.
Any ideas why it stopped working?

function buildbluemenu(result) {
    contextMenu.get_items().clear();
     
    var setupmenu = new Telerik.Web.UI.RadMenuItem();
    setupmenu.get_groupSettings().set_offsetX(5);
    setupmenu.set_text("Setup");
    setupmenu.set_imageUrl(rootPath + "Images/icons/Setup.gif");
    contextMenu.get_items().add(setupmenu);
 
    var pointeditormenu = new Telerik.Web.UI.RadMenuItem();
    pointeditormenu.get_groupSettings().set_offsetX(5);
    pointeditormenu.set_text("Point Editor");
    setupmenu.get_items().add(pointeditormenu);
     
    var trendeditormenu = new Telerik.Web.UI.RadMenuItem();
    trendeditormenu.get_groupSettings().set_offsetX(5);
    trendeditormenu.set_text("Trend Editor");
    setupmenu.get_items().add(trendeditormenu);
     
    var alarmeditormenu = new Telerik.Web.UI.RadMenuItem();
    alarmeditormenu.get_groupSettings().set_offsetX(5);
    alarmeditormenu.set_text("Alarm Editor");
    setupmenu.get_items().add(alarmeditormenu);
 
    var runtimemenu = new Telerik.Web.UI.RadMenuItem();
    runtimemenu.get_groupSettings().set_offsetX(5);
    runtimemenu.set_text("Runtime Chart");
    runtimemenu.set_imageUrl(rootPath + "Images/icons/Runtime.gif");
    contextMenu.get_items().add(runtimemenu);
     
    var schedulemenu = new Telerik.Web.UI.RadMenuItem();
    schedulemenu.get_groupSettings().set_offsetX(5);
    schedulemenu.set_text("Schedules");
    schedulemenu.set_imageUrl(rootPath + "Images/icons/Schedules.gif");
    contextMenu.get_items().add(schedulemenu);
     
    var trendmenu = new Telerik.Web.UI.RadMenuItem();
    trendmenu.get_groupSettings().set_offsetX(5);
    trendmenu.set_text("Trends");
    trendmenu.get_groupSettings().set_offsetX(5);
    trendmenu.set_imageUrl(rootPath + "Images/icons/Chart.gif");
    contextMenu.get_items().add(trendmenu);
     
    var alarmmenu = new Telerik.Web.UI.RadMenuItem();
    alarmmenu.get_groupSettings().set_offsetX(5);
    alarmmenu.set_text("Alarms");
    alarmmenu.set_imageUrl(rootPath + "Images/icons/Alarms.gif");
    contextMenu.get_items().add(alarmmenu);
     
    var notesmenu = new Telerik.Web.UI.RadMenuItem();
    notesmenu.get_groupSettings().set_offsetX(5);
    notesmenu.set_text("Notes");
    notesmenu.set_imageUrl(rootPath + "Images/icons/Note.gif");
    contextMenu.get_items().add(notesmenu);
     
    var commandmenu = new Telerik.Web.UI.RadMenuItem();
    commandmenu.get_groupSettings().set_offsetX(5);
    commandmenu.set_text("Command");
    commandmenu.set_imageUrl(rootPath + "Images/icons/Command.gif");
    contextMenu.get_items().add(commandmenu);
     
    // Command menu
    if (commandable == true) {
        commandmenu.enable();
    } else {
        commandmenu.disable();
    }
 
    // Schedule menu
    var isSchedule = $(result).find('IsSchedule').text();
     
    if (isSchedule == 1) {
        schedulemenu.enable();
    } else {
        schedulemenu.disable();
    }
    result = $(result);
 
    // Alarmmenu
    var counter = 0;
    alarmmenu.disable();
    $(result).find('Alarm').each(function() {
        counter++;
    });
 
    if (counter > 0) {
        alarmmenu.enable();
    }
 
    // Trendmenu
    counter = 0;
    trendmenu.disable();
    $(result).find('Trend').each(function() {
        counter++;
        var trendid = $(this).find('Id').text();
        var childItem = new Telerik.Web.UI.RadMenuItem();
        childItem.set_text($(this).find('Description').text());
        childItem.set_value("TrendId:" + trendid);
        trendmenu.get_items().insert(i, childItem);
    });
 
    if (counter > 0) { trendmenu.enable(); }
     
    // Done building, display the menu.
    contextMenu.showAt(x, y);
}
Peter
Telerik team
 answered on 11 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?