Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
I am developing an ASP.NET 3.5 app that is protected with forms-based authentication.  My RadTreeView is working great, except that when a user walks away from the browser and comes back after the session has timed out, if they click the plus (+) sign on any node in the treeview, they get a Javascript "Authentication Failed" pop-up.  I'd like to find a way to handle this event and simply redirect them back to the forms authentication login page.  What is the best way to do this?  If it helps, we are populating the nodes on our treeview from a web service.

Thanks in advance,
Andrew
Veselin Vasilev
Telerik team
 answered on 26 Oct 2009
1 answer
109 views
Is it possible to have the increase/decrease arrows move the selection by the large change value instead of the small change value?

If not, may I recommend such a feature... would help me a ton right now :-)
Tsvetie
Telerik team
 answered on 26 Oct 2009
2 answers
560 views
Hi All,

I have a rad grid which has image buttons as item templates. I need to --

Enable or disable these image buttons at time of binding the grid based on some flag from database.

So how to do this and  find these controls from code behind for enabling & disabling.
Also which event i should use for one of these image buttons click inside the item template e.g. hv to capture click event for these buttons.

Thanks in advance

Rahul
Rahul Singh
Top achievements
Rank 1
 answered on 26 Oct 2009
2 answers
163 views
Hi,
Can i bind context menu to WCF service  and pass some additional parameters to the method.
Exactly as you allow for Grid?

My code is
    <telerik:RadContextMenu ID="StatementMenu" runat="server" Skin="DirectEDI" EnableEmbeddedSkins="false">  
        <WebServiceSettings Path="BCGridService.svc" Method="LoadStatementMenuData" /> 
        <DataBindings> 
            <telerik:RadMenuItemBinding Depth="0" ExpandMode="WebService" /> 
        </DataBindings> 
    </telerik:RadContextMenu> 
but i can't hit breakpoint in WCF service. Is there method to rebind menu data?

My scenario is - when user clicks some link i have to re-bind menu using some id and open context menu.

Thank you
T. Tsonev
Telerik team
 answered on 26 Oct 2009
4 answers
196 views
Hi

I am using RadMenu and binding data with WebService. i would like to call the webservice (or bind data on the clientside) when the radmenu is loaded instead of mouseover, can i do that?

I have done a lot of researches before i ask this question, but i don't see any examples to preload radmenu with webservice.

Thanks
T. Tsonev
Telerik team
 answered on 26 Oct 2009
1 answer
82 views
Hi the Telerik team

I Would like to know when you plan to stop supporting IE6.
Now, arround me, every body uses IE7, IE8 or FF. Don't know how this is in the world but at this time i think / hope that most of people abandon it.

Actualy i work with q3 2007, and one day i will get a new version, but the abandon of IE6 will be an important thing in my decision to get a new version.

You, the Telerik team, have to provide a more complex code, patches etc etc... cause of IE6 !
The suite will be more robust, more optimized without this support.

Keep the good work
Fred
Ivo
Telerik team
 answered on 26 Oct 2009
1 answer
35 views
Does the RadEditor File manager have a function that allows the user to search for a file name?

We have  user that manages over 500 files and a search function would be very time saving!

Many thanks

Ben
Rumen
Telerik team
 answered on 26 Oct 2009
1 answer
132 views
Hello,

How could I get a tooltip to show up (that should be loaded using the OnAjaxUpdate event) in a usercontrol?

Because when I only use the TooltipManager in a usercontrol, it's all fine, but the moment I add this usercontrol to the RadAjaxManager

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="ctl"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="ctl" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
        </telerik:RadAjaxManager> 

I get the effect that the tooltip is trying to open but it gets closed after it finishes it's AJAX call, btw the updatepanel wrapping the UserControl is in 'Conditional' updatemode.

Greetings
Svetlina Anati
Telerik team
 answered on 26 Oct 2009
4 answers
239 views
I've been trying many different ways to successfully add a tab dynamically to a tabstrip on a parent page from a radwindow.  I will have many RadWindows open from a 1st tabstrip and shown / hidden from that tabstrip.  The first tabstrip will only show the Lists of records in those RadWindows.

I have a 2nd tabstrip that is VerticalLeft that when a user clicks on a record from one of the 1st tabstrip RadWindows, code will execute via JS to 1. Open a new RadWindow showing the details of the record the user selected. and 2. Add a new tab to the 2nd tabstrip on the parent page that will control the showing of the new RadWindows with the details.

I've tried to use the following code, but it errors out on the: var tab = new Telerik.Web.UI.RadTab(); and says: "Object doesn't support this property or method"
                var tabStrip = GetRadWindow().BrowserWindow.OpenItems;
                var tab = Telerik.Web.UI.RadTab();
                tab.set_text("Case: " + id);
                tabStrip.add(tab);

I've tried to use the following code, but it errors out as well saying "No Such Interface Supported".
                GetRadWindow().BrowserWindow().addTab("Testing");

I'm using the following version: 2008, 3, 1314, 20

These should both work as they are spelled out as methods to use to achieve this in the support forums and documentation.  What am I missing?  It's got to be something basic that I'm just not seeing.
Thanks
Ken
Poul Henningsen
Top achievements
Rank 1
 answered on 26 Oct 2009
2 answers
145 views
Hello,

I'm using version 2009.1.311.20 and IE 8. The following does not resize the filter textbox width for any of the filter items. If I switch to compatability mode the textboxes are resized, but the layout of the page is messed up. Here is the RadGrid definition and the event code.

Thanks,
Casey

RadGrid:
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"   
                 GridLines="None" Skin="Office2007"   
                 DataSourceID="SqlDataSource1" oninit="RadGrid1_Init"   
                 onitemcreated="RadGrid1_ItemCreated">  
    <MasterTableView CellSpacing="-1" DataSourceID="SqlDataSource1">  
            <CommandItemSettings RefreshText="" /> 
        <Columns> 
            <telerik:GridBoundColumn UniqueName="column5"   
            DataField="REQUESTOR_ID" Visible="false" Display="false">  
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn HeaderText="Requestor" UniqueName="column"   
            DataField="REQUESTOR">  
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn HeaderText="Requested Person"  UniqueName="column1"   
            DataField="REQUESTED_PERSON">  
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn HeaderText="Personal Information System" UniqueName="column3" 
            DataField="DESCRIPTION">              
            </telerik:GridBoundColumn> 
            <telerik:GridDateTimeColumn HeaderText="Date/Time" UniqueName="column4"   
            DataField="DATE_REQUESTED">  
            </telerik:GridDateTimeColumn> 
        </Columns> 
    </MasterTableView> 
</telerik:RadGrid> 

Event Code:
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)  
    {  
        if (e.Item is GridFilteringItem)  
        {  
            GridFilteringItem filteringItem = e.Item as GridFilteringItem;  
            //set dimensions for the filter textbox  
            TextBox box = filteringItem["column"].Controls[0] as TextBox;  
            box.Width = Unit.Pixel(75);  
            TextBox box1 = filteringItem["column1"].Controls[0] as TextBox;  
            box1.Width = Unit.Pixel(100);  
            TextBox box2 = filteringItem["column3"].Controls[0] as TextBox;  
            box2.Width = Unit.Pixel(200);  
            RadDatePicker box3 = filteringItem["column4"].Controls[0] as RadDatePicker;  
            box3.Width = Unit.Pixel(100);  
        }  
    }  
    protected void RadGrid1_Init(object sender, EventArgs e)  
    {  
        GridFilterMenu menu = RadGrid1.FilterMenu;  
        int i = 0;  
        while (i < menu.Items.Count)  
        {  
            if (menu.Items[i].Text == "NoFilter" ||  
               menu.Items[i].Text == "Contains" ||  
               menu.Items[i].Text == "EqualTo" ||  
               menu.Items[i].Text == "GreaterThan" ||  
               menu.Items[i].Text == "LessThan")  
            {  
                i++;  
            }  
            else 
            {  
                menu.Items.RemoveAt(i);  
            }  
        }  
 
    } 
Pavel
Telerik team
 answered on 26 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?