Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
213 views
Hi, I'm new using the radControls and now I need to iimplement the radupload control, and my question that is it possible to upload files to database instead to a specific folder using  radupload? I'm using entity framework to save to database.
I hope your help or any advice to make this task. 
Shinu
Top achievements
Rank 2
 answered on 31 May 2011
1 answer
61 views
Hi...
      I have a issue to export the rad grid data to pdf format, My radgrid is placed in RadAjaxManager, because of it i am unable to export the grid data to pdf. Please let me know how to export the Radgrid data to pdf when radgrid is kept under radajaxmanager. I am waiting for your reply i am need with urgent.

Thanks in advance.
S.Madhusudhan.
Princy
Top achievements
Rank 2
 answered on 31 May 2011
8 answers
2.0K+ views
Good evening.  There are hundreds of posts on closing the window client side but what i am using the radwindow for is cropping an image and then executing the cropping on codebehind and updating the database.  Once the database is updated, i need to close the radwindow and then reload the parent page.  I know how to close it client size but not from codebehind after completing a the database update. 

If it is possible, is there anyway to give and example of closing the window and refreshing the parent page that popped with window as well as an example the just closes the window. 

I want to thank you for your help sincerly in advance.

joshua
Georgi Tunev
Telerik team
 answered on 31 May 2011
1 answer
130 views
I was wondering if there was a method to be able to only show the loading panel on certain controls. The scenario is I have multiple controls (textboxes, dropdownlists, grid, etc) that are ajaxified and only want to show the loading panel on certain controls (e.g. Grid). The reason is having the loading panels on all controls looks odd when there are several controls scattered about a page.

Thanks,

John
Shinu
Top achievements
Rank 2
 answered on 31 May 2011
1 answer
70 views
Hi everybody,
I tried to access a control ,for example,a textbox .There is one simple solution th this,
"

GridEditFormItem

 

 

editedItem = e.Item as GridEditFormItem;

 

 

 

 

TextBox txt1 = editedItem.FindControl("TextBox1") as TextBox;"

 


but when and in which event i shoud do this?for example In Telerik 2011 Demo(Input/RadInputManager/Integration with Grid) 
when  ItemCreated evnts fires,this part of code will be executed,but this events fires when an item is created ,just before that item has been initialized,so in this time the txt1.Text is Null and not the value the user has entered.
I want to change the insertCommand and need to pass the TextBox1.Text to the insertCommand ,
would anyone please tell me how ?
Princy
Top achievements
Rank 2
 answered on 31 May 2011
3 answers
402 views
Hello,

I generate a chart runtime. But lable are overlapped with the lines in line chart though put following code.
RadChartEditChart.AutoLayout = True
RadChartEditChart.IntelligentLabelsEnabled = True

Is there any other way to get separate the values from the line chart ?
Yavor
Telerik team
 answered on 31 May 2011
2 answers
83 views
Hi

1-       I have a page that contains a grid bound with a sql DB. For adding row in the DB, I open a new radWindow (with radopen) that contains the form for adding a new row. The problem is, when I add the row, the sql DB is updated but not the grid. So, I tried to update my grid by doing a rebind when the radWindow is close, but I don't know how to detect when a radWindows is closed.
May someone help me ?

2- Like in this example, I use a context menu to add/edit/delete data from my grid. However, I add another context menu that appears when I clicked inside a radGrid, but not on a item. To do that, I set the target of the second context menu to the ID of the radGrid. When the page is first load, everything is fine. However, when I delete an item, the second context menu (the one that target the radGrid) doesn't appears. I make some test and it seem like the second context menu it doesn't call at all, like if it doesn't target the radGrid anymore.
Anyone have any ideas why it is doing such a strange thing ?   

Thank you
David
David
Top achievements
Rank 1
 answered on 30 May 2011
2 answers
92 views
Hi! I'm really new to telerik and i have been only playing a little with this powerfull set of tools. Im trying to make some menus and untill now i have been using default skins that appear in the smartTag. I would like to know if there is a way to add to the skin list in smart Tag a costum skin i made or download.
Fabio
Top achievements
Rank 1
 answered on 30 May 2011
2 answers
90 views
Hi All,

I'm not sure why but when using compatibility view in ie9 all of my radwindows "OnClientClose" functions are not being called. I've updated to the latest version of the controls (My 19th) and no go.

example:

<

 

 

telerik:RadWindow Skin="Default" runat="server" ShowContentDuringLoad="false" Width="700px"

 

 

 

Height="500px" Behaviors="Close" Modal="true" ID="RdWindowCO2Refinement" Title="A Window"

 

 

 

VisibleStatusbar="false" OnClientClose="OnClientClose" />  

 

Rich
Top achievements
Rank 1
 answered on 30 May 2011
1 answer
83 views
There are two pages, default.aspx and default2.aspx
default.aspx open radwindow on the client.
default2.aspx add event like add_commnd or add_resize will cause an error "Out of stack space"

Please help me fix this issue. thank you.

Below are the code for those two pages
default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Main.Test.Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
        <Scripts>          
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />  
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />  
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />   
        </Scripts>
    </asp:ScriptManager>
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    </telerik:RadWindowManager>
    </form>
    <script>
        $(document).ready(function ()
        {
            var oWindow = window.radopen("Default2.aspx"null);
        });        
    </script>
</body>
</html>

default2.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default2.aspx.cs" Inherits="Main.Test.Default2" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
        <Scripts>          
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />  
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />  
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />              
        </Scripts>
    </asp:ScriptManager>
    <div>
    default2
    </div>
    </form>
    <script>
        $(document).ready(function ()
        {
            var oWindow = GetRadWindow();
 
            oWindow.add_resize(OnClientResize);
        });
 
        function OnClientResize(sender, eventArgs)
        {
            alert(sender.toString());
        }
 
        function GetRadWindow()
        {
            var oWindow = null;
            if (window.radWindow)
                oWindow = window.radWindow;
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;
            return oWindow;
        }
    </script>
</body>
</html>

Svetlina Anati
Telerik team
 answered on 30 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?