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

The worksheet is always changed based on the file name when I try to export an excel from RadGrid. How do I make sure that the worksheet will always be "Sheet 1" regardless of file name it is?

Regards,

Below is the code for exporting.

            rg.MasterTableView.GroupByExpressions.Clear(); 
            rg.ExportSettings.ExportOnlyData = true;
            rg.ExportSettings.IgnorePaging = true;
            rg.ExportSettings.FileName = "Sheet1";// dtToday.Year.ToString() + " " + dtToday.Month.ToString() + " " + dtToday.Day.ToString() + " " + customer;
            
            if (rg.MasterTableView.Items.Count != 0) rg.MasterTableView.ExportToExcel();

Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
64 views
i am binding a  sp directly with radgrid and i wannt total on foooters in some of them ,, since the data is  dynamic i dont know wat would i get
like sometimes

name blockvale blocktype 1  2   3  4   5 6 7 8 9  10 

name blockvale blocktype 1  2   3  4 5   if i select till 5

name blockvale blocktype 1  2   3  till 3

i want total belows 1,2,3 

i have seen the telerik grid footer url but not helping 
please dont give me again the same url ...@telerik admins 

please teme a solution plzzzz plzzz ........



Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
104 views
Hi, 

I am getting Error: 'Telerik' is undefined.
It happened after I installed debugbar.
It is happening in only IE but not in Chrome and FireFox.
I have uninstalled debugbar still I am getting same error.
Any solutions?

Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
94 views
How can I select rows in RadGrid through the up / down arrows?Sorry for bad english .. Help please...  
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
2 answers
95 views
I create the RadEditor in CodeBehind and setup the properties as required. On the output page the Editor appears and all looks fine.However when I click inside the Editor (set to ShowOnFocus) I get a Javascript error and a blank Toolbar. This happens in IE8 and FireFox 8.0.1

Using VS2008 debugger I can see that there are tools added to the EditorToolGroup

I am using v.20011.3.1305.35 of Telerik

Attached are the screen snippets of the output in IE, the text of the Javascript error and a section of the code that establishes the RadEditor.
In the code "re" is the RadEditor.

Hope this is enough for some assistance.
Arthur
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
95 views
I think this is an easy question, and I'm a little perplexed that I am having a problem with it.  Here is the issue:

This code grabs the DataKeyValue from a RadGrid row onRowMouseOver with no problem:

function onRowMouseOver(sender, eventArgs) {
    var rowID = eventArgs.getDataKeyValue("PartyExperienceID");
    document.getElementById("<%= HiddenLabel.ClientID %>").innerHTML = rowID;
}  

Works like a dream.  Now, I want to grab the changed HiddenLabel value server side (any way is fine, even a button click).  I can see that the label has changed on the page, but the server cannot see the change.  I'm wondering if I can solve the problem via RadAjaxManager.  Here is my current config:

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="HiddenLabel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadTreeView1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="HiddenLabel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Any other ideas?   I feel I am missing something obvious (not a JS guy).

Thanks so much!

Jim
James
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
136 views
I'm attempting to mimic the Sharepoint 2010 look using the RadRibbonBar.  Is there a way to change the look of the RibbonBar outside of the skins (I've not found a skin that matches up quite right).

Richard
Top achievements
Rank 1
 answered on 06 Feb 2012
2 answers
112 views
Hi guys,
I downloaded a new version of RadControls and now when I am running my web appl on my style sheet I am getting this message:

Telerik.Web.UI 2011.3.1305.35 trial version. Copyright telerik © 2002-2011. To remove this message, please purchase a developer version.
What is this??How to remove it?
Vitaly
Top achievements
Rank 1
 answered on 06 Feb 2012
2 answers
90 views
Hi guys,

I am talking about contextmenu. I am trying to make a MenuItem not visible.
Let's say a user right-click on a button, a ContextMenu appear and give him some choises.
I have a javascript code that will determine what options (MenuItem) will be available for him.
I have managed to enable/disable the menuitems following this library but I can't figure out how to make the MenuItem not visible (rather than disabled).

Thanks in advance.
Pic
Top achievements
Rank 1
 answered on 06 Feb 2012
2 answers
222 views
I have a grid which has a number of databound columns (all created in code)
I have carried out a number of conditional formatting operations for example
Private Sub radgrid_databound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs)
      'Is it a GridDataItem
      If (TypeOf (e.Item) Is GridDataItem) Then
          Dim dataBoundItem As GridDataItem = e.Item
          If Left(dataBoundItem("ChangeFromPrevious").Text, 1) = "-" Then
              dataBoundItem("ChangeFromPrevious").ForeColor = Color.Red
          End If
      End If
  End Sub

I have now added a gridimagecolumn to my table which I want to display an arrow image pointing up or down depending if my databound column "changeFromPrevious" is positive or negative.

I am hoping to simply change the imageURL of the gridImageColumn, but I am unclear how and from which event I should do this.
ie do I do this on the databound condition dataitem, if so how do I access the imagecolumn.imageurl
or
do I do this as each image in the  GridImageColumn is created, if so how do get the databound item "changedfromPrevious" to apply conditions.
or is there a better approach?

Thanks

Johnathan 
jajanes
Top achievements
Rank 1
 answered on 06 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?