Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
145 views
Hello sir,
i have two user control..1st user control has radgrid and user can select a row to see the details..the details rad grid on another usercontrol.
i placed two user contol on two radtab..now how can i redirect to another radtab to see the details.
please help me to solve this.
thanks.
Rizwan Ansari
Top achievements
Rank 1
 answered on 15 Dec 2010
3 answers
95 views
Hello,

I'm wonder if I can color the hotspots of the imagemap control (based on the demo http://demos.telerik.com/aspnet-ajax/tooltip/examples/imagemaptooltipmanager/defaultcs.aspx). In other words, for example, I need to color the "France" country in yellow and "Italy" in red and so on. And in addition the tooltip must be colored (BackColor Property) in the same color of the suitable hotspot.

Please, I need your help,
It is apprecited to send me the modified code if it is possible.

Regards,
Bader
Svetlina Anati
Telerik team
 answered on 15 Dec 2010
4 answers
546 views
Here's one for all you out there... probably quite a simple solution to this but I can't think of it!

Suppose I have a RadGrid and in that grid I want to display my data which has 10 rows. Some of my data (say 5 rows of it) has more details which I want to display in a separate page, so I use a hyperlink column so that when a user clicks the link, theyre taken to the alternate page (the one showing the other informtion for the item).

However, the rest of my data (the other 5 rows) doesn't have any more information associated with it, so the link is useless, but I still want to show the data in the grid for that column (it could be a part number or description). I dont want to disable my hyperlink as that would look odd.

My question is this...

How do I get none linkable row data to show as regular text instead of a hyperlink in a grids hyperlink column?

thanks,
Karl
Karl
Top achievements
Rank 1
 answered on 15 Dec 2010
4 answers
83 views
Hi,
I'm working on a project which is based on Web User Controls.
The Idea is that of a Page with RadSplitter ad a PlaceHolder that loads dynamically user controls into the PlaceHolder. Plus, to make everything really smooth I have a RadAjaxManager in the page wich controls loading.
Loading is fine (I've taken from your Active Skills RadControlsAJAXCourseware.pdf which is great !!!), but once loaded the User Control inside the PlaceHolder does not resize when I resize the Browser Page.
In this case my User Control holds a RadGrid, but I have many Control with different controls inside. 
I attach Code below:

Page holding Controls:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title>---</title>
    <link type="text/css" rel="Stylesheet" href="Resources/Style.css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager" runat="server">
    </telerik:RadScriptManager>
    
    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
        <AjaxSettings>
             
            <telerik:AjaxSetting AjaxControlID="RadPanelBar">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="PH" />
                    <telerik:AjaxUpdatedControl ControlID="RadToolBar" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadToolBar">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadToolBar" />
                    <telerik:AjaxUpdatedControl ControlID="PH" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
     
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager" runat="server">
    </telerik:RadStyleSheetManager>
     
    <telerik:RadFormDecorator ID="RadFormDecorator" runat="server" />
     
     
     
   <div style="width:100%;height:40px;">
    <div style="float:right;margin-right:10px;">
        <asp:Label runat="server" ID="L_Operator"></asp:Label><br />
        <asp:LinkButton runat="server" ID="LB_LogOut" Text="LogOut"></asp:LinkButton>
    </div>   
   </div>
    
   <telerik:RadSplitter ID="RadSplitter_Frame" runat="server" Width="100%" Height="100%" Orientation="Vertical" HeightOffset="40">
     
        <telerik:RadPane ID="RadPane_Frame_Left" runat="server" Width="200px" Height="100%">
             
                <telerik:RadPanelBar ID="RadPanelBar" runat="server" Width="100%" ExpandMode="MultipleExpandedItems">
                     
                </telerik:RadPanelBar>
             
        </telerik:RadPane>
         
        <telerik:RadPane ID="RadPane_Frame_Right" runat="server" Width="100%" Height="100%" Scrolling="None">
         
            <telerik:RadSplitter runat="server" ID="RadSplitter_Body" Width="100%" Height="100%" Orientation="Horizontal">
             
                <telerik:RadPane runat="server" ID="RadPane_Body_Top" Width="100%" Height="38px">
                    <telerik:RadToolBar runat="server" ID="RadToolBar" Width="100%">
                    </telerik:RadToolBar>
                </telerik:RadPane>
                 
                <telerik:RadPane runat="server" ID="RadPane_Body_Bottom" Width="100%" Height="100%">
                    <asp:PlaceHolder runat="server" ID="PH"></asp:PlaceHolder>
                </telerik:RadPane>
                 
            </telerik:RadSplitter>
                         
        </telerik:RadPane>
         
    </telerik:RadSplitter>
    </form>
</body>
</html>

User Control:
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Operators.ascx.vb" Inherits="System_Operators" %>
 
<telerik:RadSplitter runat="server" ID="RadSplitter_Frame" Width="100%" Height="100%" Orientation="Horizontal">
 
    <telerik:RadPane runat="server" ID="RadPane_Top" Width="100%" Height="26px" >
    OPERATORS
    </telerik:RadPane>
     
    <telerik:RadPane runat="server" ID="RadPane_Body" Width="100%" Height="100%">
     
        <telerik:RadGrid ID="RadGrid" runat="server" AllowSorting="True" 
                        GridLines="None" Width="100%" Height="100%" AllowMultiRowSelection="True"
                        AllowPaging="True" PageSize="50" AutoGenerateColumns="false"
                        ShowStatusBar="True" style="border:0px;outline:none;">
                         
                        <GroupingSettings CaseSensitive="False" />
                         
                        <ExportSettings ExportOnlyData="True" OpenInNewWindow="True" />
                     
                        <ClientSettings>
                            <Selecting AllowRowSelect="True" />
                            <ClientEvents OnRowContextMenu="" OnRowDblClick="" />
                            <Scrolling AllowScroll="True" ScrollHeight="100%" UseStaticHeaders="True" />
                            <Resizing AllowColumnResize="True" />
                        </ClientSettings>
                         
                        <PagerStyle AlwaysVisible="true" />
                         
                        <MasterTableView OverrideDataSourceControlSorting="True" style="border:0px;outline:none;">
                            <NoRecordsTemplate>
                                  
                            </NoRecordsTemplate>
                             
                            <Columns>
                                <telerik:GridBoundColumn DataField="Name" HeaderText="Nome">
                                </telerik:GridBoundColumn>
                                 
                                <telerik:GridBoundColumn DataField="Surname" HeaderText="Cognome">
                                </telerik:GridBoundColumn>
                                 
                                <telerik:GridBoundColumn DataField="User" HeaderText="Utente">
                                </telerik:GridBoundColumn>
                                 
                                <telerik:GridBoundColumn DataField="Ruolo" HeaderText="Ruolo">
                                </telerik:GridBoundColumn>
 
                                 
                            </Columns>
                            <CommandItemSettings ExportToPdfText="Export to Pdf" />
                             
                            </MasterTableView>
                                 
                             
                            </telerik:RadGrid>
                             
        </telerik:RadPane>
</telerik:RadSplitter>

I'm not adding the code behind since I don't think it is relevant.

I'm stuk on this one and need some good ideas !

Thanks
Lorenzo
Lorenzo
Top achievements
Rank 1
 answered on 15 Dec 2010
3 answers
69 views
Hi,

    I use Image Manager tool of Rad Editor in our project.. How to disable or remove the icons 'New Folder' and 'Delete Folder' present inside Image Manager Window?.. Please Guide me..


Thanks.
Hema.
Rumen
Telerik team
 answered on 15 Dec 2010
1 answer
151 views
Hi,

I found out that the args.get_fileName() function returns the correct filename if you are removing an already uploaded file.
But if you cancel a running upload this function returns the following:
"[filename]<span class="ruFileProgressWrap"><span style="width: 0.8%;" class="ruFileProgress ruProgressStarted"></span></span>"
Genady Sergeev
Telerik team
 answered on 15 Dec 2010
3 answers
90 views
Hi there, 

I am wondering if something is possible with the Scheduler. I have thought about it myself and I am fairly sure of where to start and that it is indeed possible, but I am hoping others can confirm and share their experiences with doing something similar, or point out troubles I am likely to run in to.

I would like to use the Scheduler totally client-side, storing all appointment information on the client, and allowing the user to save changes by clicking a "Save" button. Only then will the changes be sent to the server, processed and database updated etc. I am reasonably familiar with the client-side javascript API, and can imagine storing appointment data client-side (hidden fields and/or cookies), or perhaps using AJAX calls to transmit data each time a change is made for batch processing later, but if someone can share their thoughts on this it would be greatly appreciated.

Is this possible?

Thanks,
Ryan.
Nikolay Tsenkov
Telerik team
 answered on 15 Dec 2010
1 answer
98 views
Is there a way to set the PrimaryIconCssClass clientside yet by any chance?

Don't see it in the docs, so I'm doing some jQuery manipulation instead...but it'd be nice to change a couple lines of code down to 1.
Pero
Telerik team
 answered on 15 Dec 2010
9 answers
306 views

This affects lots of ajax functionality, but for this example, I'll use the ajax spell checker in the radeditor.    I had some users complain that the spell checker seemed to 'freak out' every now and then, and I traced it to this.

To reproduce, use forms authentication with a login URL and a short timeout of 1, (just so you don't have to wait long for this test).

 

        <authentication mode="Forms">  
            <forms name=".userauth" loginUrl="IC/Login.aspx" protection="All" timeout="1"/>  
        </authentication> 

 

 

 

 

Wait at least a minute then click on spell check.  You should get this JavaScript error:

Microsoft JScript runtime error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data

This happens because the forms auth. timed out and the ajax request was redirected to the login page.  The login page is HTML and not JSON, so MS ajax throws the above error.  The spell checker is left onscreen and cannot be closed as both Finish and Cancel are disabled.

My question is: is there anything that can be done for this, like catching the error somehow, and throwing up a login dialog? 

What I have done in the past is ping the server every 10 minutes with JavaScript to keep formsauth. alive.  I'd like to avoid that technique if possible as it didn't seem to be reliable all the time, and it left users logged in too long.

Thanks

Rumen
Telerik team
 answered on 15 Dec 2010
3 answers
90 views
I am having trouble using the treeview in a master page as everytime there is a postback the masterpage reloads and the treeview reverts to its loaded state where none of the nodes are expanded.

I have looked on the forums here for a solution but i havent found one so far.

Is there a solution for this?

Many Thanks
Nikolay Tsenkov
Telerik team
 answered on 15 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?