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

We have a requirement where the user can save settings applied on Telerik grid.
When the user accesses the application again we need to render the saved features.

Can some one help in how to store the settings in database preferably in XML format and then read the settings from XML and apply in on Telerik grid.

Appreciate your help.

Regards
Vikram
Vlad
Telerik team
 answered on 29 Jul 2009
3 answers
143 views
I have a page and a button when clicked it opens the first RadWindow. Inside this Radwindow, I have also a button that openes the second RadWindow.

How can I refresh the first RadWindow, when an action is made inside the second RadWindow?

I can't get an instance of the first RadWindow.

Any help would be much appreciated.

Thanks
Georgi Tunev
Telerik team
 answered on 29 Jul 2009
1 answer
148 views
Hi

I'm testing Dock control with two dockzones and two docks.
Inside docks I have some objects, so I'm using ContentTemplate
Every time I resize a dockzone I get an error on dock object that is inside. From the aspx code, I realize that /ContentTemplate is just missing. This also happening when I made some changes on aspx code and went to design page.
ContentTemplate is only used with dock objects, no other object use it.
After I enter /ContentTemplate again, everyting works fine again.

I'm using 2009 Q1 with VS2005.


Regards
Pero
Telerik team
 answered on 29 Jul 2009
1 answer
218 views

Is it possible to exclude a skin from the RadSkinManager?  For example if I didn’t want to show the Hay skin, how would I go about doing that?

Thank you,

Kasia

Svetlina Anati
Telerik team
 answered on 29 Jul 2009
6 answers
204 views
Hello all,
I have done a demo of " export to PDF" ,like the Grid / Export to PDF.
I downloaded the PDF,when i open it ,it can't open or sometimes it opened but had nothing. I don't know why.
my code like follows:
<body> 
    <form id="form1" runat="server">  
   
    <div  style="height: 110px; width: 92%">  
            <asp:CheckBox ID="CheckBox1" Text="Export only data" runat="server"></asp:CheckBox> 
            <br /> 
            <asp:CheckBox ID="CheckBox2" Text="Ignore paging (exports all pages)" runat="server"></asp:CheckBox> 
            <br /> 
            <asp:CheckBox ID="CheckBox3" Text="Open exported data in new browser window" runat="server"></asp:CheckBox> 
            <br /> 
            <br /> 
<asp:Button ID="Button1"  Width="150px" Text="Export to Excel" OnClick="Button1_Click" 
runat="server"></asp:Button> 
 
<asp:Button ID="Button2" Width="150px" Text="Export to Word" OnClick="Button2_Click" 
runat="server"></asp:Button> 
<asp:Button ID="Button3"  Width="150px" Text="Export to CSV" OnClick="Button3_Click" 
runat="server"></asp:Button>   
 
        </div> 
    <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"/>          
       <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"   
        DefaultLoadingPanelID="RadAjaxLoadingPanel1" 
            ClientEvents-OnRequestStart="requestStart">  
                <AjaxSettings> 
                    <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">  
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting>   
                    <telerik:AjaxSetting AjaxControlID="RadGrid1">  
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting>                    
     
               <telerik:AjaxSetting AjaxControlID="RadWindowManager1">  
                </telerik:AjaxSetting> 
                </AjaxSettings> 
            </telerik:RadAjaxManager> 
     
      
        <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None"   
            AllowSorting="True" Skin="Black" Width="745px" AllowPaging="True"   
             OnNeedDataSource="RadGrid1_NeedDataSource"    
     
            AutoGenerateColumns="False">  
             
            <MasterTableView CommandItemDisplay="Top"  DataKeyNames="PermissionsId" 
                PageSize="5">  
                <PagerStyle Mode="NumericPages" /> 
                <CommandItemTemplate> 
                </CommandItemTemplate> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="PermissionsId" DataType="System.Int32" ReadOnly="True" 
                        SortExpression="PermissionsId" UniqueName="PermissionsId" HeaderText="PermissionsId">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="PermissionsName" HeaderText="PermissionsName" SortExpression="PermissionsName" 
                        UniqueName="PermissionsName">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="PermissionsNo" HeaderText="PermissionsNo" SortExpression="PermissionsNo" 
                        UniqueName="PermissionsNo">  
                    </telerik:GridBoundColumn> 
                      
                </Columns> 
                <HeaderStyle Font-Names="Arial Unicode MS"  Font-Size="16px" HorizontalAlign="Center" /> 
            </MasterTableView> 
        </telerik:RadGrid> 
          
    </form> 
</body> 

here is my .cs code:
  public partial class WebForm3pdf : System.Web.UI.Page  
    {  
        PermissionsService pre = new PermissionsService();  
        protected void Page_Load(object sender, EventArgs e)  
        {  
 
        }  
 
        protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)  
        {  
            this.RadGrid1.DataSource = pre.GetAll();  
 
        }  
 
        protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)  
        {  
            if (e.Item is GridDataItem || e.Item is GridHeaderItem)  
            {  
                e.Item.Style["color"] = "white"; //Default color for headeritem/dataitem  
                foreach (TableCell cell in e.Item.Cells)  
                {  
                    cell.Style["font-family"] = "Verdana";  
                    cell.Style["text-align"] = "center";  
                    cell.Style["vertical-align"] = "middle";  
                    cell.Style["font-size"] = "16px";  
                }  
                GridDataItem item = e.Item as GridDataItem;  
                if (item != null)  
                {  
                    item["PermissionsName"].Style["font-weight"] = "bolder";  
                    item["PermissionsNo"].Style["font-family"] = "Arial Unicode MS";  
                    item["PermissionsNo"].Style["color"] = "#bbbbbb";  
 
                }  
            }  
            switch (e.Item.ItemType) //Mimic RadGrid appearance for the exported PDF file  
            {  
                case GridItemType.Item: e.Item.Style["background-color"] = "#4F4F4F"; break;  
                case GridItemType.AlternatingItem: e.Item.Style["background-color"] = "#494949"; break;  
                case GridItemType.Header: e.Item.Style["background-color"] = "#2B2B2B"; break;  
                case GridItemType.CommandItem: e.Item.Style["background-color"] = "#000000"; break;  
            }  
            if (e.Item is GridCommandItem)  
            {  
                e.Item.PrepareItemStyle(); //needed to span the image over the CommandItem cells  
            }  
        }  
    } 

Thank you!
li bin
Top achievements
Rank 1
 answered on 29 Jul 2009
1 answer
116 views
I am trying to implement a call to a stored procedure. This proc is used to insert a new project record. The values for the proc parameters come from a page that has a FormView. In the FormView is a table that has a combination of RadTextBoxes and RadComboBoxes that are supposed to supply the parameters to the proc. I know the stored proc works because I can execute it manually from SMS. But I can't get it to execute from the FormView page, mainly because I don't know how to "execute" the stored proc. Before anyone asks using a Grid is not an option! I'd be doing something else if I could use a grid but I can't.

Any help would be greatly appreciated!

Joe B
Yavor
Telerik team
 answered on 29 Jul 2009
2 answers
274 views
When I upload a file using radUpload it loads great - then if I work backwards - as some users do - I select a radio button that does ajax update - I am losing the file in the radUpload.  I have set this radUpload.EnableViewState = true.  This doesn't seem to work.  Ideas?  Thanks.
Genady Sergeev
Telerik team
 answered on 29 Jul 2009
1 answer
74 views
The button Add Another File is being concatenated all that you see is Add Another F - this began occurring after updating to the newest version - but before installing the internal version that you suggested I use and it is still an issue.  Thanks.
Kamen Bundev
Telerik team
 answered on 29 Jul 2009
1 answer
112 views
Hello Telerik master,

I have one web page, it need to process around 1 hour ++, so im using ajaxloadingpanel to let the user get inform that the page still processing. But after 1 hour ++ , the process finish processing, but the ajaxloading icon still remain there. It wont stop.

May i know whether ajaxloading have time limit on it? We cannot let it load for so long time? If not, it will hang there?

Please advice!

Thanks.
Soo

Princy
Top achievements
Rank 2
 answered on 29 Jul 2009
1 answer
83 views
Dear Sir,
                          I am Suriya Again.... Now i have a general error was coming , 
               so i want to sent that error to you as a image file .. i have no idea about that. so please help me, 
               how to upload image or a zip file to you.....

          By 
Suriya Narayanan

Atanas Korchev
Telerik team
 answered on 29 Jul 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?