Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
112 views
Hi, would it be possible to include website-specific stylesheets (stylesheets that are not related to Rad Controls) into RadStyleSheetManager to be able to combine all website stylesheets in one request? I tried to include a stylesheet that is not a RadControl css, but it didn't work and it even caused rad controls not be able to read their stylesheets.

Thanks..

Ashraf
Atanas Korchev
Telerik team
 answered on 30 Apr 2009
8 answers
433 views

We use many of your RadGrids in our application. There are times when we want to allow the user the opportunity to do an upload of substantial amounts of data that will ultimately be contained in one of these RadGrids.

 

To do this we use a RadWindow containing a fileUpload object. The user browses to the file containing the desired data, issues the upload command and our C# code then parses through the information and adds it to our data base.

 

What we would like to do is this – after the data base has been updated - directly after the RadWindow closes - we would like to issue, thru JavaScript if possible, a command(s) that would refresh the contents of our RadGrid. This would avoid a post back that we need to have now to refresh the main window.

 

Our RadWindow JavaScript logic contains the following line of code:

 

oWnd.add_close(OnClientClose);

 

 The OnClientClose method would be the ideal place any new code to refresh our RadGrid. We will be able to obtain the revised data by way of a Web Service.

 

Is this sort of thing possible?

 

Thanks   

Dan
Top achievements
Rank 2
 answered on 30 Apr 2009
5 answers
110 views
Hi,
On my webform, I have a RadTabStrip and a CollapsablePanel.
I want to disable/Enable that CollapsablePanel on click of Tabs of RadTabStrip.
Can someone please tell me how can I achieve this ?

Here is my controls on my form. I am just putting basic code only.
What I am looking for is on click of first tab, I want to disable second panel and enable first panel,
and on click of second tab, I want to disable first panel and enable second panel.
#######################################################

 

 

<ew:CollapsablePanel ID="CollapsablePanel1" runat="server" AllowSliding="true" >   
</ew:CollapsablePanel> 
 
<ew:CollapsablePanel ID="CollapsablePanel2" runat="server" AllowSliding="true" >   
 
</ew:CollapsablePanel> 
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"   
SelectedIndex="0" Width="100%">   
 
<Tabs>   
<telerik:RadTab runat="server" PageViewID="pv1" Text="pv1" Selected="True" >   
</telerik:RadTab>   
<telerik:RadTab runat="server" PageViewID="pv2" Text="pv2" >   
</telerik:RadTab>   
</Tabs>   
</telerik:RadTabStrip> 
 
   <telerik:RadMultiPage ID="RadMultiPage1" runat="server" BorderStyle="None" BorderWidth="1px"   
   CssClass="pageView" SelectedIndex="0">  
        <telerik:RadPageView ID="pv1" runat="server" >   
       </telerik:RadPageView> 
        <telerik:RadPageView ID="pv2" runat="server" >   
        </telerik:RadPageView>   
   </telerik:RadMultiPage>   
 

 

 

 

 #######################################################

 

 

 

 

 

 

 

Atanas Korchev
Telerik team
 answered on 30 Apr 2009
3 answers
125 views
I need to export my own propriatory xml format based on the dataitems of the grid.  This would be easy enough by simply iterating through the grid items, however the export functonality has some nice features, such as being able to ignore paging (by returning all items from the datasource).

So... is there any way to extend the grids export functionality?

If the answer to the above is no, then what is the best way to return all the dataitems from a grid (which ignores paging, but will honor any filters or sorting that have been applied)?

Thanks.
Pavlina
Telerik team
 answered on 30 Apr 2009
7 answers
353 views
We're trying to get this working with some large scripts we have. 

The help seems woefully small given the complexity of what is going on here - most of the properites aren't documented.

We added several scripts with the default settings, but nothing seems to be happening.

Here's the code in our test web page:
    <telerik:RadScriptManager ID="ScriptManager1" runat="server">  
        <Scripts> 
            <asp:ScriptReference Path="/midas.js" /> 
            <asp:ScriptReference Path="/midas2.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 

As you can see, we have the default settings.  We see no difference in HTTPWatch whatsoever.  If we move the JS files out from the script manager, it looks exactly the same.  The files do not seem to combine nor do they seem to compress.

Is there something more we need to configure? 

Thanks,
Nick H
Connections Academy Developer
Top achievements
Rank 1
 answered on 30 Apr 2009
13 answers
261 views
Hello,

I am seeing a weird summation error when using multiple group columns. Please refer to this screenshot.

Note the final subtotal row which says Count:4 and then throws out some random numbers. Also note that the last column of this row shows a number that matches the last data row of the second group.

This is proving incredibly confusing for my client (and myself as well)!

I appreciate any insight to fix or remove this problem!

Thanks,
Joseph
Nikolay Rusev
Telerik team
 answered on 30 Apr 2009
3 answers
94 views
Hi All,

Not sure if this is possible because I couldn't find any documentation on it but is it possible to navigate the scheduler from the client side?

Thanks
Jon
Veselin Vasilev
Telerik team
 answered on 30 Apr 2009
1 answer
68 views
Hello everyone, I've got a strange problem with RadWindow on Firefox.
First, I use RadControls Q1 2007 for ASP .NET 1.1.
I've got an aspx page with one WindowManager and a javascript which is used to open a radwindow. The page contains an button control which calls javascript function to open radwindow as below :

<%@ Register TagPrefix="radw" Namespace="Telerik.WebControls" Assembly="RadWindow" %>    
<%@ Page AutoEventWireup="false" Codebehind="Index.aspx.vb" Inherits="OPAC_LOCAL.Index" errorPage="exception_error.aspx"%>    
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">    
<HTML>    
    <HEAD id="head">     
        <title runat="server" id="titletag"></title>    
        <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">     
        <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">     
        <meta content="JavaScript" name="vs_defaultClientScript">     
        <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">     
        <meta name="keywords" content="">     
        <meta name="description" content="">     
    </HEAD>    
    <body class="FondPage">     
        <script type="text/javascript">       
        var oWnd;       
        function showWindow()       
        {       
            var oManager = GetRadWindowManager();     
            var oWnd = oManager.GetWindowByName("Splash");     
            oWnd.SetUrl("./splash.htm");     
            oWnd.Show();     
        }     
        function closeWindow()     
        {     
            if(oWnd) {     
                oWnd.close();     
            }     
        }     
        </script>    
        <form id="Form1" method="post" runat="server">     
            <radw:RadWindowManager VisibleOnPageLoad="false" id="Singleton" Behavior="None" Skin="Blue" runat="server">     
                <windows>    
                    <radw:RadWindow id="Splash" Runat="server"></radw:RadWindow>    
                </windows>    
            </radw:RadWindowManager>    
            <div id="Holder"><asp:imagebutton id="btnImgConnexion" Runat="server" Visible="true"></asp:imagebutton></div>    
            <asp:PlaceHolder id="Contenu" Runat="server"></asp:PlaceHolder>    
        </form>    
    </body>    
</HTML>    
 

In the page code, I've added an attribute on the image button :
btnImgConnexion.Attributes.Add("onclick", "showWindow();") 

So when I click on the button, the radwindow is shown.
It works great in IE8, but with Firefox, the radwindow is opened but the content, the titlebar, and the status bar, aren't shown. It looks like the desired resources aren't loaded whereas the radwindow is opened.
So, I don't understand where is the mistake.
Thanks for your help
Cheers
Yann
Georgi Tunev
Telerik team
 answered on 30 Apr 2009
4 answers
194 views
Hi,

I want to arrange for the content of a Rad ToolTip (or manager) to change after an AJAX postback from a RAD Combo.

To expand my scenario more completely:

I have implemented several RadCombos each with the templated checkbox items (as per your other demos) so that the user can select a combination of items by checking the boxes in the drop down. Now in your demos, you show how to update the "text" of the Combo to list out which items have been selected, however this rapidly becomes hopeless since there is not enough space to show them all in the text area.

So I have modified the js that fires when the checkboxes are checked and unchecked so that if none (or all) are selected the "empty message" is displayed (this says All xxxxx), if exactly one check box is selected the text box displays the text of the selected item, and if more than one is selected the words "Multiple Items" are displayed.

Of course what i now want to acheive is that a tool tip is available to display the full list of selected items when more than one has been selected.

I have attached a RadToolTip (have tried both manager or individual radtooltips) to the Combos, and set the initial ToolTip Text declaratively.

When the RadCombo drop down closes an AJAX postback takes place (using AJAX Manager) - I have to do this since I need to trigger a rebind of a grid to reflect the changed selections, at the same time, I update the "tooltip" of each combo, hoping that when it is all finished the user can hover on the combo and see the updated text. But nothing changes.

If I don't use AJAX, then the tooltip does update to reflect the new list of selected items. I have tried linking the combo and the tooltip manager in the AJAX manager but that does not seem to cause the ToolTip Manager to re-read the tooltiptext of the combos.

I presume I could also do this with js client side, in which case I am again having problems updating the tooltip of the combo and having that relflect in the tooltip (manager) that appears, and since I have to postback to the server to get a different record list, it seems sensible to use the same code to set the new tooltip.
Svetlina Anati
Telerik team
 answered on 30 Apr 2009
8 answers
256 views
I have a grid that contains the following checkbox:

<

 

telerik:GridCheckBoxColumn DataField="IsDisplayed" DataType="System.Boolean" HeaderText="Display" UniqueName="IsDisplayed"></telerik:GridCheckBoxColumn>

The checkbox is data binded to the database, currently I have a editing button that allow me to allow the checkbox's value, thus the database's value. However, for fast changing, is it possible, that the checkbox is not grey out on the grid, and can be changed right on the grid instead of the editing template?

Thanks!

 

Daniel
Telerik team
 answered on 30 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?