Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
137 views
In my project I have a RadTextBox and I am using RadSpell to check the spellings (using US english dictionary). Everything works fine in my development machine, even if I DON'T specify the DictionaryPath for RadSpell control and DON'T ADD the dictionary under RadSpell folder under App_Data folder.

However when I deploy the project to RC or PRODUCTION server (over HTTPS) , as soon as I click on the "Spell Check" button, it throws me a 404 error. I added the DictionaryPath to the RadSpell control ("~/App_Data/RadSpell") and created the path under App_Data folder and placed the dictionary there. But I still get 404 error.

This problem occurs in IE8 and below versions only. It works fine on IE9 and other browsers like Chrome, Firefox.

I tried using Fiddler and it shows javascript error in older versions of IE.

In IE9 when I click the Spell Check button I get a HTTP 302 and then a HTTP 200 OK response. But in IE8 (and previous versions of IE), I get a HTTP 302, then a HTTP 200 OK and then again a HTTP 302 and it errors out. Why does it returns a HTTP 302 after HTTP 200 OK response in IE8 or IE7 or IE6? Let me know ASAP. My release deadline is approaching and I have wasted two days trying to figure out the root cause.

I am using Telerik.Web.UI.dll version 2010.3.1317.35.

-mss
Rumen
Telerik team
 answered on 17 Jun 2011
1 answer
84 views
Hi ,
I have one issue in Grid , What is the concept is My Grid Having Total (Decimal) Column and One Checkbox Round Total above Grid. If Check box is clicked the total should be round off ,if i unchecked total as actual. While page loading it's Rounding off , that is workng,
when i am unchecking the total is not getting actual value. and also i m using ajax for the grid.  Here is my code. how can i refersh for rebind the grid


$("#<%=chkRoundSale.ClientID%>").change(function() {
                   var thisCheck = $(this);
                   if (thisCheck.is(':checked')) {
                       $("#<%= gvEnqMixes.ClientID%> tr").each(function() {
                           var tr = this;
                           var cells = tr.cells;
                           var len = $('td', this).length
                           var txt = $(this).find("td:eq(7)").html();
                           $(this).find("td:eq(7)").html(Math.round(txt));
                       });
                   }
                   else {
                       $("#<%=gvEnqMixes.ClientID%> tr").each(function() {
                           var tr = this;
                           var cells = tr.cells;
                           var len = $('td', this).length
                           var txt = $(this).find('input:submit[id$=RefreshButton]');
                           txt.click()
                       });
                   }
               });
Iana Tsolova
Telerik team
 answered on 17 Jun 2011
1 answer
187 views
Hi,

I have export to excel in my app where exporting the data present in Grid.

The problem here is entire excel sheet is getting formatted (Ex: header background color, borders etc).

I want to format only the columns which are exported from the grid to excel.

Please find the attachment for more information.

Thanks in advance.

Regards,
Hemaraju
Daniel
Telerik team
 answered on 17 Jun 2011
1 answer
126 views
Hello,
Am trying to remove the tabs from the tabstrip. 
But am getting the following exception:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

int count = RadTabStrip1.Tabs.Count();
if (count > 0)
      {
          for (int i = 0; i < count;i++ )
                {
                    RadTabStrip1.Tabs.RemoveAt(i);
                }
       }

Any advise?

Thanks,
Mani

Shinu
Top achievements
Rank 2
 answered on 17 Jun 2011
1 answer
75 views
Hi guys i´m working with the rad grid im my application and I have a doubt, I have  set the generate delete and edit column at runtime so that I can modify data of the selected row. My question is how can I put the row in edit mode when I click the edit column to update the data and the delete column to eliminate the data?
 Hope your help 
Tsvetina
Telerik team
 answered on 17 Jun 2011
4 answers
87 views
Hy,
we are experiencing a strange problem. We have a RadToolBar on in a WebPart used in Sharepoint 2010. We usually use the Outlook 2007 Skin, which has white Forcolor Text (when not MouseOver).
During Design in Visual Studio, all the Colors appear as they should be. However, If we deploy it to the server and run the webpart. the Color of the RadToolBarButton Text is not as it should be. If we place the mouse on the button, the now changed Text Color is as it should be at this state.

We found out, that the color attribute of the corresponding css-style is overwritten by Sharepoint:
.ms-WPBody a:link {
    color: #0072BC;
    text-decoration: none;
}
.RadToolBar_Outlook .rtbWrap, .RadToolBar_Outlook .rtbTemplate {
    color: #FFFFFF;
    font: 12px/20px "Segoe UI",Arial,sans-serif;
}

while on the other hand in the Stylesheet used when Mousever, the Telerik-CSS overwrites the Sharepoint style.

Could somebody verify this? (and maybe give a possible Solution to overcome this?)

Regards

Kalina
Telerik team
 answered on 17 Jun 2011
6 answers
121 views

Hi,

I am running moss2007 with Norwegian language. I wanted to set the Language to Norwegian "Norsk (Bokmal)" in the Version 5.4.0.0. Therefore I added to the Config.xml and the ListConfigFile.xml the following statements.

  <property name="Language">nb-NO</property>
  <property name="SpellDictionaryLanguage">nb-NO</property>

I have also added the following lines to ListToolsFile.xml and ToolsFile.xml

<languages>
    <language code="nb-NO" title="Norsk (Bokmal)" />
    <language code="nn-NO" title="Norsk (Nynorsk)" />
    <language code="de-DE" title="Tysk" />
    <language code="en-US" title="Engelsk (US)" />
    <language code="fr-FR" title="Fransk" />
  </languages>

I have added following resource files to the App_GlobalResources folder in Resources and 80 folder.

RadEditor.Dialogs.nb-NO
RadEditor.Main.nb-NO
RadEditor.Modules.nb-NO
RadEditor.Tools.nb-NO

The RadEditor field control show the correct Norwegian language,but when I add RadEditor Web Part the tool buttons and tool tips are in English language but the other webpart setting options are in Norwegian langauge.

Can you please tell me  to change the Language for the RadEditor webpart to Norwegian.

Regards

Stanimir
Telerik team
 answered on 17 Jun 2011
1 answer
92 views

I try to show detail of item using user control in radgrid template column
I just see first record detail, the other seems empty
what can be the reason for that?

My code look like

ASPX


 

 

<

 

telerik:GridTemplateColumn DataField="transactionID" HeaderText="" CurrentFilterFunction="StartsWith"

 

 

 

 

 

 

 

UniqueName="transactionID" Groupable="False" AllowFiltering="false">

 

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<%

--<a id="transactionAnchor" title="Click to edit transaction" target="_parent" style="color: #3399ff;"

 

 

class="link" href='<%#"../Transaction/editTransaction.aspx?tid=" + Eval("transactionID") + "&id=" + Eval("transaction.type.category.categoryID") %>'>

 

<%# Eval("transactionID")%></a>--

 

%>

 

 

 

<uc1:ucModalPopup ID="modalPopup1" runat="server" />

 

 

 

<asp:ImageButton runat="server" ID="btnDETAILTRANSACTION" ToolTip="Click to show transaction detail."

 

 

 

 

 

 

 

ImageUrl="../images/details.png" CommandName="DetailTransaction" />

 

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 


ASPX.CS

 

 

protected

 

void transactionApprovalerRadGrid_ItemCommand(object source, GridCommandEventArgs e)

 

 

{

 

 

if ((e.CommandName == "Filter"))

 

 

{

 

 

foreach (GridColumn column in e.Item.OwnerTableView.Columns)

 

 

{

 

column.CurrentFilterValue =

string.Empty;

 

 

column.CurrentFilterFunction =

GridKnownFunction.NoFilter;

 

 

}

 

}

 

 

else if (e.CommandName == "DetailTransaction")

 

 

{

 

 

ReportViewer rv = new ReportViewer();

 

 

rv.Width = 820;

 

rv.Height = 400;

 

rv.ShowToolBar =

false;

 

 

 

Hashtable paramaters = new Hashtable();

 

 

paramaters.Add(

"transactionID", e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["transactionID"].ToString());

 

 

lib.

CommonFunctions.BuildReport(rv, "HAREKETDETAY", paramaters);

 

 

((Comman.

modalPopup)e.Item.FindControl("modalPopup1")).customPanel.Controls.Add(rv);

 

 

((Comman.

modalPopup)e.Item.FindControl("modalPopup1")).Notification.Show();

 

 

}

 

}

 

 


ASCX

 

 

<%

@ Control Language="C#" AutoEventWireup="true" CodeBehind="modalPopup.ascx.cs" Inherits="deva.ITracker.Comman.modalPopup" %>

 

 

<%

@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

 

 

 

 

 

 

 

Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

 

 

<%

@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

 

 

 

 

 

<

 

asp:LinkButton ID="hiddenLinkButton1" Style="display: none" runat="server" OnClientClick="return false"></asp:LinkButton>

 

 

 

 

 

 

 

<div id="popup1" style="border: medium outset #C0C0C0; display: none; max-width: 900px; min-width: 700px; background-color: #f0f0f0;">

 

 

 

 

 

 

 

<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">

 

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

 

<td align="left" style="padding-bottom: 2px">

 

 

 

 

 

 

 

<asp:Image ID="imgExclamation1" runat="server" ImageUrl="~/images/exclamation.png" />

 

 

 

 

 

 

 

</td>

 

 

 

 

 

 

 

<td align="right">

 

 

 

 

 

 

 

<asp:ImageButton ID="LoginCancelButton1" runat="server" ImageUrl="~/images/cancel.png"

 

 

 

 

 

 

 

AlternateText="Kapat" ToolTip="Kapat" />

 

 

 

 

 

 

 

</td>

 

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

 

</table>

 

 

 

 

 

 

 

<div id="popupContainer1">

 

 

 

 

 

 

 

<table border="0" cellpadding="0" cellspacing="0">

 

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

 

<td align="left">

 

 

 

 

 

 

 

<asp:Label ID="masterPopupLabel1" runat="server" Text=""></asp:Label>

 

 

 

 

 

 

 

</td>

 

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

 

<td align="left">

 

 

 

 

 

 

 

<asp:Panel ID="customPopupPanel1" runat="server">

 

 

 

 

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

 

 

</td>

 

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

 

</table>

 

 

 

 

 

 

 

</div>

 

 

 

 

 

 

 

</div>

 

 

 

 

 

 

 

<cc1:ModalPopupExtender ID="ModalPopupExtenderNotification1"

 

 

 

runat="server" CancelControlID="LoginCancelButton1" RepositionMode="RepositionOnWindowResize"

 

 

 

 

 

 

 

PopupControlID="popup1" TargetControlID="hiddenLinkButton1"

 

 

 

 

 

 

 

BackgroundCssClass="modalBackground" DropShadow="false">

 

 

 

 

 

 

 

</cc1:ModalPopupExtender>

 

 

<

 

asp:HiddenField ID="HiddenField1" runat="server" />

 

 

 

 

ASCX.CS

 

 

namespace

 

deva.ITracker.Comman

 

 

{

 

 

public partial class modalPopup : System.Web.UI.UserControl

 

 

 

 

 

 

{

 

 

protected string tid;

 

 

 

public ModalPopupExtender Notification

 

 

{

 

 

get { return ModalPopupExtenderNotification1; }

 

 

 

set { ModalPopupExtenderNotification1 = value; }

 

 

}

 

 

public Panel customPanel

 

 

{

 

 

get { return customPopupPanel1; }

 

 

 

set { customPopupPanel1 = value; }

 

 

}

 

 

public HiddenField Hidden

 

 

{

 

 

get { return HiddenField1; }

 

 

 

set { HiddenField1 = value; }

 

 

}

 

 

public String TransID

 

 

{

 

 

get { return tid; }

 

 

 

set { tid = value; }

 

 

}

 

 

public void ShowMessage(string popupText,Control control, string css)

 

 

{

 

masterPopupLabel1.CssClass = css;

 

masterPopupLabel1.Text = popupText;

 

 

if (control != null)

 

 

{

 

control.Visible =

true;

 

 

customPopupPanel1.Controls.Add(control);

 

}

 

ModalPopupExtenderNotification1.Show();

 

}

 

 

public void HideMessage()

 

 

{

 

ModalPopupExtenderNotification1.Hide();

 

}

 

 

protected void Page_Load(object sender, EventArgs e)

 

 

{

 

 

 

}

 

}

 

}

 

 

Marin
Telerik team
 answered on 17 Jun 2011
5 answers
300 views
HI Telerik,

How to hide the RadFileExplorer upload info panel.Once i click on upload Upload window will dispaly.
I want to hide the below path while clicking the upload button.
----------------------------------------------------------------------------
Max file size allowed:
25.00 MB
File extensions allowed:
*.au, *.css, *.doc, *.docm, *.docx, *.dotm, *.dotx, *.flv, *.gif, *.htm, *.html, *.jar, *.jpe, *.jpeg, *.jpg, *.js, *.mov, *.mp2, *.mp3, *.mpa, *.mpv2, *.pdf, *.png, *.potm, *.potx, *.ppam, *.ppsm, *.ppsx, *.ppt, *.pptx, *.pptm, *.pptx, *.swf, *.txt, *.vsd, *.vss, *.xhtml, *.xlam, *.xls, *.xlsx, *.xlsb, *.xlsm, *.xlsx, *.xltm, *.xltx, *.xsd, *.zip
---------------------------------------------------------------------------------------------
Is there any posibility ..please reply me as soon as posible.

Thanks
Bhavani
Rumen
Telerik team
 answered on 17 Jun 2011
1 answer
113 views
Hi,
I am using RadCalendar, in that i am displaying 3 values in the calendar cell.(Using Rad Window to enter 3 values and click on ok it should display in the Calendar cell.) While Click on the submit button i need to get all those 3 values and the particular  date. Could you pelase tell me how to do that.

Thanks in advance.
Maria Ilieva
Telerik team
 answered on 17 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?