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

I am new to RAD controls. Using RAD grid i designed a grid with Auto generate Delete and Edit columns and binded my Datasource to it.
Now i would like to change the layout if grid as follows :
1) Move delete , edit buttons to right side ( default left side)
2) And hide the first column ( after delete and edit columns).

How can I do these,,



Veli
Telerik team
 answered on 01 Jul 2009
5 answers
142 views
Hi, I have been having a go at styling the appearance of the grid exports and have a few issues - mostly I am unsure about which e.item in code should be used to target the area I am trying to style. The example only covers general styling.

PDF
 
1. I need to left align one column (my productName column) but can't find a way to target just this column.

2. I would like to put some margin on the bottom of the header / or top margin on first row of the data, but can't see how to do this.

3. I would like to format the Page Title - this must be easy, but again I can't see how to do this.

Many thanks,
Matt
Adam Hubble
Top achievements
Rank 1
 answered on 01 Jul 2009
2 answers
127 views
Hello, I have a webpart with three rad grid controls, I'm unable to get the radAjaxManager to work. I've added the following code OnInit

protected override void OnInit(EventArgs e)  
        {  
            base.OnInit(e);  
            Page.ClientScript.RegisterStartupScript(typeof(ProjectSearchBuilder), this.ID, "_spOriginalFormAction = document.forms[0].action;_spSuppressFormOnSubmitWrapper=true;", true);  
            if (this.Page.Form != null)  
            {  
                string formOnSubmitAtt = this.Page.Form.Attributes["onsubmit"];  
                if (!string.IsNullOrEmpty(formOnSubmitAtt) && formOnSubmitAtt == "return _spFormOnSubmitWrapper();")  
                {  
                    this.Page.Form.Attributes["onsubmit"] = "_spFormOnSubmitWrapper();";  
                }  
            }  
 
            ScriptManager scriptManager = ScriptManager.GetCurrent(Page);  
            if (scriptManager == null)  
            {  
                scriptManager = new RadScriptManager();  
                Page.Form.Controls.Add(scriptManager);  
            }  
            EnsureChildControls();  
        } 

and the following in the OnLoad Event
protected override void OnLoad(EventArgs e)  
        {   
            base.OnLoad(e);  
            ((RadAjaxManager)FindControl("RadAjaxManager1")).AjaxSettings.AddAjaxSetting(FindControl("_btnSearch"), FindControl("ProjectGrid"));  
            ((RadAjaxManager)FindControl("RadAjaxManager1")).AjaxSettings.AddAjaxSetting(FindControl("_btnSearch"), FindControl("RadGrid2"));  
            ((RadAjaxManager)FindControl("RadAjaxManager1")).AjaxSettings.AddAjaxSetting(FindControl("_btnSearch"), FindControl("RadGrid3"));  
        }  
 
I've added the grid controls and the ajax panel to the page in the CreateChildControls().
am I missing something?

thank you,
Phani
Georgi Krustev
Telerik team
 answered on 01 Jul 2009
7 answers
348 views
I would like to know if it is possible to force a a webservice call when expanding a node that has already been expanded.  The reason I want to do this is that the description of certain nodes within our tree contain "counters" and these counters can change on the server from time to time. 

In our previous versino of the tree we allowed users to click on a context menu item calld "refresh" that automatically made a call to the server and refreshed the nodes that were children of this node. Is there an easy way to do this by resetting a flag on the node to indicate that it has not already been populated by the webservice?

Thanks,

Pierre Chew
Atanas Korchev
Telerik team
 answered on 01 Jul 2009
3 answers
180 views
Hi

I have a page which consists of a form/submit button and then a panel which displays the 'results' of the form submission. This asp panel is not visible when the page is first loaded. when the submit button is pressed, the panel is made visible and the results are calculated and shown in the panel. The page is controlled by the ajax manager so that the panel is made visible via a partial postback

 the rad loading panel for the asp panel is not shown when the page is submitted. I thought the answer might be that the asp panel is not visible when the page is submitted. SO i made the asp panel visible when the page is first loaded. The panel then contained labels and a grid without any data in them. The loading panel still was not displayed. However when i explicitly set the size of the panel, the loading panel was then shown. You have to set both the height and the width but then you get the loading panel

This behaviour makes no sense to me. I understand the loading panel not being shown when the panel was not visible but I do not understand why the loading panel was not shown when the panel was visible with controls in it. And i do not understand why setting the asp panel height and width then made the loading panel work.

hope you can clarify this for me

thanks
Dimo
Telerik team
 answered on 01 Jul 2009
5 answers
133 views
When I wrap the scheduler in an updatepanel, the javascript stops working. When I click "recurring", nothing happens. When I remove the updatepanel, everything works fine.
Peter
Telerik team
 answered on 01 Jul 2009
3 answers
126 views
Hi,

sometimes without any apparent reason the following style tag is being added to the scheduler

style="top: 84px; left: 0px"

the value are random.

It happens when pressing F7 to switch from code behind to the aspx page (not sure),

After that the Vertical scroll on FF stopped working....

FYI
Mickey


Peter
Telerik team
 answered on 01 Jul 2009
3 answers
172 views
I've noticed that when I have a radgrid with "AutoGenerateColumns='false'" and then set the export property "RadGrid1.ExportSettings.IgnorePaging = false" no data from the grid is exported to excel.  If I remove the AutoGenerateColumns property/attribute, it works fine.

I've applied the AutoGenerateColumns attribute to both the RadGrid and the MasterTableView (not at the same time), and even set it as a property in the code behind, but nothing is working. 

Here's the grid as I currently have it:

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" AllowPaging="true" AllowSorting="true">
<MasterTableView >
</MasterTableView>
</telerik:RadGrid>

And Here's the codebehind that calls the ExportToExcell method:

private void btnExcel_Click(object sender, EventArgs e)
{
ConfigureReport();
        RadGrid1.MasterTableView.ExportToExcel();
}

private void ConfigureReport()
{
        RadGrid1.ExportSettings.FileName = "RadGridExportToExcel";
        RadGrid1.ExportSettings.IgnorePaging = this.cbxPaging.Checked;
        RadGrid1.ExportSettings.ExportOnlyData = this.cbxFormat.Checked;
        RadGrid1.ExportSettings.OpenInNewWindow = true;
}


Any ideas?

Thanks,
Pat Lindley
Daniel
Telerik team
 answered on 01 Jul 2009
1 answer
92 views
Hi Telerik Guys !

Hope you are doing well !

Guys,
 As per your suggestions, I have downloaded the Q2 2009 RAD CONTROLS from your website & now Iam using my application using the NEW CONTROLS. 
But , Im still facing the problem that I have faced with your earlier(Q3 2008 controls.)

Im sure that , you know about the exact problem .

Now , Im using the DEFAULT SKIN of the RAD GRID, that resemble mostly with the GRAY SKIN of your previous controls.

I have following   issues :

 1. COLUMN RESIZING ISSUES :-  Whenever I used to resize the width of the column the whole allignment of the WEB PAGE gets distorted. Please help me to manage the web page as it is & resize only the columns & make them shorter & longer to the width that we try to set while draging it (columns) with our mouse.

I have fixed the width of the RAD GRID to say 98% - 97%.

Please solve this issue.

 2. VERTICAL GRID LINES NOT SHOWING UP:- Though, I have applied that property with the HTML tags of  RAD GRID the vertical GRID LINES are not showing up.

I dont know what to do ??

Please help me as soon as possible.

Please !!!

Ajay

Dimo
Telerik team
 answered on 01 Jul 2009
2 answers
103 views
Hi,

Where is the documentation for migrating from Classic to AJAX editions hiding?  I'd expected it to be in the CHM, but it isn't. I haven't found anything suitable on the website either.

Regards
Paul
Paul Buxton
Top achievements
Rank 1
 answered on 01 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?