Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
189 views
What's happening is when I create or edit the content in sharepoint page using Rad Sharepoint Editor, I did not change any font family or any other style. The default font family is Times New Roman, every style and the setting are default and then I publish the page and in display mode the font family is not shown as Times New Roman it showing by Arial.

My code:

Register
<%@ Register TagPrefix="radE" Namespace="Telerik.SharePoint.FieldEditor" Assembly="RadEditorSharePoint, Version=4.5.1.0, culture=neutral, PublicKeyToken=1f131a624888eeed" %>


Display Mode
<PublishingWebControls:RichHtmlField FieldName="PublishingPageContent" runat="server" id="RichHtmlFieldDisplay">
</PublishingWebControls:RichHtmlField>

Screen shot : http://i490.photobucket.com/albums/rr270/juandelacruz247/ContentDisplayMode.png


Edit Mode
<radE:radhtmlfield FieldName="PublishingPageContent" runat="server" id="RichHtmlFieldEdit" ConfigFile="~/_wpresources/RadEditorSharePoint/4.5.1.0__1f131a624888eeed/RadControls/Editor/OneResearchConfigFile.xml" DisableInputFieldLabel="True">
</radE:RadHtmlField>

Screen Shot :http://i490.photobucket.com/albums/rr270/juandelacruz247/ContentEditMode.png
Stanimir
Telerik team
 answered on 16 Jun 2009
1 answer
71 views
Hi,

Is there any way to control the visibility of the toolbar buttons. I want to show/hide some buttons based on a users rights. There doesn't seem to be any obvious way in the API.

Many thanks,

John
Fiko
Telerik team
 answered on 16 Jun 2009
1 answer
83 views

Hi all,

Can u please look into this Post. Please do the needful ASAP.

http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=219019

Please do the needful ASAP.


Thanks & regards
Kiran Kumar Bodla

Yavor
Telerik team
 answered on 16 Jun 2009
6 answers
184 views
We at http://www.giccrm.com/travel facing a strange bug on RAD Controls DatePicker.

Whenever the client date is 31st May, 2009 it does not allow user to select any date from the month of June in Firefox and it always show July in month even user selects some date in June.

Anyone having such issue ?
Any resolution ?

regards,
Aamir
Tsvetoslav
Telerik team
 answered on 16 Jun 2009
4 answers
426 views
I'm working with a grid that requires grouping.  Grouping works fine.  Ungrouping, however, throws the following exception:

Specified argument was out of the range of valid values.
Parameter name: index

Can anyone tell me what this is?  It's not firing through any event we seem to be trapping.
Fabrice
Top achievements
Rank 1
 answered on 16 Jun 2009
1 answer
49 views
Hi There,

I'm using Visifire Silverlight Charts on a page and a RadGrid to show Information. For all Information for a customer I use a modal RadWindow, this works fine. But I always see the Silverlight Chart in the Modal Dialog. So it's not really modal. Is there any chance to get the Silverlight greyed out as the other controls?

Kind Regards Jens
Georgi Tunev
Telerik team
 answered on 16 Jun 2009
3 answers
112 views
Hi,

I have a grid with databound columns, these columns are readonly.  I then add a Button column, upon clicking the button, I want one of the data bound columns' value to update.  I am guessing I could more easily implement this by having a Select button and doing it that way but for other reasons, the button cannot select the row.  I am using this code in the ItemCreated event handler

        if (e.Item is GridDataItem) 
        { 
            GridDataItem item = (GridDataItem)e.Item; 
            Button btnProcess = (Button)item["btnProcess"].Controls[0]; 
 
            if (btnProcess != null) 
                btnProcess.Click +=new EventHandler(btnProcess_Click); 
        } 

The event is fired and handled, but in the button click handler, how do I get the row details for the specific row for which the button was clicked?  Ie, if I've got 12 rows, and the button was clicked in row 4, how do I know it was the 4th row as it will not be selected?

Thanks,
Paul
Top achievements
Rank 1
 answered on 16 Jun 2009
1 answer
134 views
I have a page that dynamically loads one of three web user controls based UI actions.  For one of the user controls, some actions are performed within the code of the parent page.  This is accomplished by declaring a public event in the user control and subscribing to it in the main page.  When the user clicks on specific parts of the user control, the public event is raised, the parent page catches the raised event and performs some actions, including the updating of some control values on the main page.  However, the updates are not refreshed to the UI?  How, from within the code on main page, can the main page ajax controls be forced to update?  If a button is created on the main page with the click event executing the same code, all works as expected.  But, if the code executed in response to the user control event calls the click method of the button, the related parent page controls are not updated.
Iana Tsolova
Telerik team
 answered on 16 Jun 2009
0 answers
102 views
Hi,
 i am working on  2009 Q1 Version of radcontrols  for RadComboBox Tree i have given autopostback as true  but after postback itis not  firing onResponedEnd Event in firefox version 3.0.3, itis working fine in IE7.
Swapnil
Top achievements
Rank 1
 asked on 16 Jun 2009
2 answers
107 views

During our work, we faced some strange problem that occured when having to use a RangeValidator within an Ajaxified Panel.

The scenario is as following

In the next example, All i was trying to do is to modify the MaximumValue property of the RangeValidator based on a values extracted from a TextBox. This means that the MaximumValue is a variant.

The ASPX Code is as following:

<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <rad:RadScriptManager ID = "scr" runat = "server" /> 
        <asp:Panel ID = "pnl" runat = "server" > 
        <asp:TextBox ID = "txt1" runat = "server" AutoPostBack = "true" OnTextChanged = "txt1_TextChanged"/>  
        <asp:TextBox ID = "txt2" runat = "server" /> 
        <asp:RequiredFieldValidator ID = "rf" runat = "server" ControlToValidate = "txt2" ValidationGroup = "a" /> 
        <asp:RangeValidator ID = "rv" runat = "server" Text = "*"  ErrorMessage = "Abbas" ForeColor = "Red"   ControlToValidate = "txt2" ValidationGroup = "a" Type"Integer" MinimumValue = "0" MaximumValue  = "10" /> 
        <br /> 
        <asp:Button ID = "btn" runat = "server" ValidationGroup = "a" OnClick = "btn_Click" Text=  "Press Me" CausesValidation = "true"/>  
        <asp:ValidationSummary ID = "sum" runat = "server" ValidationGroup = "a" ShowSummary = "true" DisplayMode = "BulletList" ShowMessageBox = "true" /> 
        </asp:Panel> 
        <rad:RadAjaxManager ID = "rad" runat = "server" > 
            <AjaxSettings> 
                <rad:AjaxSetting AjaxControlID = "pnl">  
                     <UpdatedControls> 
                        <rad:AjaxUpdatedControl ControlID = "pnl" /> 
                     </UpdatedControls> 
                </rad:AjaxSetting> 
            </AjaxSettings> 
        </rad:RadAjaxManager> 
          
          
    </div> 
    </form> 
</body> 
</html> 
 

 

 

 

The Code Behind is as Following

using System;  
using System.Collections.Generic;  
using System.Web;  
using System.Web.UI;  
using System.Web.UI.WebControls;  
 
namespace WebApplication1  
{  
    public partial class _Default : System.Web.UI.Page  
    {  
        protected void Page_Load(object sender, EventArgs e)  
        {  
 
        }  
 
        protected void txt1_TextChanged(object sender, EventArgs e)  
        {  
            int x = 0;  
            int.TryParse(txt1.Text, out x);  
            rv.MaximumValue = x.ToString ();  
            rad.Alert ("Maximum Value Set");  
        }  
 
        protected void btn_Click(object sender, EventArgs e)  
        {   
            rad.Alert ("Button Post Back");  
        }  
    }  
}  
 


You will notice that the RangeValidator by default has the MaximumValue "10", Lets take the following Scenario :-

  1. Open the Page in your IE
  2. Type in a value of 200 in the First Text Box
  3. You will get an Alert that the 200 has been set as the MaximumValue from the TextChanged Event of the TextBox
  4. Now try to put 220 in the Second TextBox , then click the Press Me button.
  5. Well, You will notice that the Validation Summary Displayed that the Value is out of range.
  6. Now it should be obvious that trying enter a value that is below the 200 would be IN the range.
  7. Now Put 180, 160, 100, Try all the values and click the Press Me button, you will always get the Validation as active!.
  8. Finally Try to put 9 (Which is actually below the MaximumValue that was hardcoded declaratevely in the ASPX) and press the Press Me button. !! Wow the Page will post back finally and you will get the Alert from the Button "Button Post Back"

Now after some investigation, there is some problem with this validator, At first i thought it was a problem with all the Expando Attributues in the Valiadators, But it turned out to be this RangeValidator that has this specific problem.

Kindly inform us what should we do ?

Iana Tsolova
Telerik team
 answered on 16 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?