Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
Can someone give me pointer as to how to change this behaviour...

I have a grid with a RadEditor control inside a grid template column, and I am using the built-in image manager tool, which is a great function.
It is all working fine except for the case when attempting to Edit a record in which the image referenced in RadEditor content is not found (because it has been deleted, say) .  In this case the grid edit form will not open when the Edit button is clicked. 

My question is how to modify this behavior so that it fails gracefully if the image is missing.
eg the edit form opens but a broken image icon is shown in the RadEditor design view.

Thanks for help on this

Clive
 
Rumen
Telerik team
 answered on 27 Feb 2013
1 answer
108 views
Hi,
         Rendering problem of radeditor due to Ajax. I have tried all your given solutions. it doesnot works. i need some solutions as css class for the editor, to work in all the browers withot any rendering.






Thanks
Rumen
Telerik team
 answered on 27 Feb 2013
5 answers
139 views
Hi,
I am Using the rad editor in multipage . I have fixed RenderSelectedPageOnly="true" . Rad editor is load as the image i have attached. I need a quick reply.






Thanks

Rumen
Telerik team
 answered on 27 Feb 2013
2 answers
523 views

I upgraded RadControls for ASP.NET AJAX from Q3 2008 to Q1 2009 and started having design time error message "Error Creating Control - xxxxx ... Could not load file or assembly 'Telerik.Web.UI, version=2009.1.527.35,,,," I upgraded my Visual Studio from a professional Edition to the latest (Jan 31, 2009) 2008 Developer Edition. It worked for a few days and then I started getting the error again. I tried folowing one of the recommended suggestions below w/ no success. 

1. Install SP1 of Visual Studio 2008 (Didn't work)

2. Bin-deploy the design-time assembly (Cannot remove the GAC dll. says: Assembly 'Telerik.Web.Design' could not be uninstalled because it is required by other applications) 
          * Add a reference to Telerik.Web.Design.dll to your web site or application
          * Remove Telerik.Web.Design.dll from the GAC
          * Restart Visual Studio
 3. GAC-deploy the control library assembly  (Not an option)
          * Add Telerik.Web.UI.dll in the GAC
          * Remove Telerik.Web.UI.dll from your bin folder
          * Restart Visual Studio

Please help. I already waisted 2 days on this and the best thing I can find are the suggestions above.

Udith
Top achievements
Rank 1
 answered on 27 Feb 2013
1 answer
149 views
Dear All!
How to get array of all the textboxs of the table's header and then get array of its body's textbox. i want to set their style property dynamically so it is important to get the array of all the components of the table in telerik. I am using telerik Q3 and using c# for this purpose. 

Regards
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 27 Feb 2013
2 answers
118 views
Hello,

I have been working to add the new DropDownTree control to my project and noticed an undesired behavior when using it in Tri-state mode.  While checking the boxes visually does display correctly, it doesn't appear that the correct values are getting passed through the OnClientEntryAdding and OnClientEntryRemoving events using this method which you have on your help pages (which I actual found under RadAutoCompleteBox because the help for RadDropDownTree is useless and incomplete):

<script type="text/javascript">
    function entryAdding(sender, eventArgs) {
        alert(eventArgs.get_entry().get_value());
    }
    function entryRemoving(sender, eventArgs) {
        alert(eventArgs.get_entry().get_value());
    }
</script>


For example, using hierarchical tree such as:

[ ] Arizona
 -- [ ] Phoenix
 -- [ ] Tuscon
 -- [ ] Flagstaff
[ ] California
 -- [ ] San Diego
 -- [ ] San Francisco
 -- [ ] Hollywood

...If I check "Arizona", on the UI "Phoenix, Tuscon, and Flagstaff" all get checked as expected, however; "Arizona" appears to be the only value actually returned from the entryAdding alert whereas I would expect to see "Arizona, Phoenix, Tuscon, and Flagstaff" .  Additionally, if I decide to uncheck say Tuscon, the UI does display this correctly and "Arizona" renders as the third state check, however; once again only "Arizona" is returned from the entryAdding alert whereas I would expect to see "Arizona, Phoenix, and Flagstaff".

What am I missing here to get this to return the correct values to mimic what is shown on the UI side?

Regards,
Steve
Steve
Top achievements
Rank 1
 answered on 27 Feb 2013
2 answers
162 views
Last week, I saw an example of the RadMenu that when you clicked on the menu, it opened up with car brands like VolksWagen, Fiat, etc.  I cannot seem to find this demo that displays the car brands so nicely...can anybody tell me where I can find that example?  Thanks!
Brett
Top achievements
Rank 1
 answered on 27 Feb 2013
1 answer
234 views
Hi I am setting the properties of RadDatepicker as follows:

 <telerik:RadDatePicker ID="rdpCommunicationDate" runat="server" SelectedDate='<%# rdpCommunicationDate.MaxDate.AddDays(-1) %>'
                                EnableEmbeddedScripts="true" >
                                <DateInput MinDate="01/01/1000" MaxDate="12/31/3000" DisplayDateFormat="MMMM dd yyyy" DateFormat="dd/MM/yyyy" EmptyMessage="YYYY MM DD" >
                                </DateInput>
                                <ClientEvents  OnDateSelected="OnDateSelected">
                        </ClientEvents>
                            </telerik:RadDatePicker>


when I enter the date in format "yyyy MM dd" it is always taken as yyyy dd MM. Unless the month part is greater than 12 for example:
2000 01 23.
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 27 Feb 2013
4 answers
278 views
I'm using a RadComboBox.  I have AllowCustomText = "true" and Filter = "Contains" as shown below:

<telerik:RadComboBox runat="server"
    AllowCustomText="True" Filter="Contains"
    OnClientTextChange="rcbName_ClientTextChange"
    OnClientSelectedIndexChanged="rcbName_ClientSelectedIndexChanged">
    <Items>
        <telerik:RadComboBoxItem runat="server" Text="Test"/>
        <telerik:RadComboBoxItem runat="server" Text="Tests"/>
        <telerik:RadComboBoxItem runat="server" Text="test"/>
        <telerik:RadComboBoxItem runat="server" Text="other"/>
    </Items>
</telerik:RadComboBox>

I'm interested in the behavior that occurs when the user does not select an item, but presses the Enter key.

Initially, I found that when the user types text, but doesn't select an item from the matching list, then presses Enter, it raises the OnClientSelectedIndexChanged event.  That's not a problem for my situation.  However, I noticed that when the user types text that exactly matches an item from the matching list (complete word or phrase and case-sensitive), but doesn't select the matching item from the matching list, then presses Enter the OnClientSelectedIndexChanged event is not raised. This caused a problem for my situation.

I then added the OnClientTextChange event handler.  Now if the user enters text that exactly matches an item in the list, doesn't select the item, then presses enter, the OnClientTextChange event will be raised.  But if the user enters text that doesn't exactly match, then doesn't select an item, then presses enter, the OnClientSelectedIndexChanged event is still raised.

To test the above situation, just add the following javascript:

function rcbName_ClientTextChange(sender, eventArgs)
{
    alert("ClientTextChange");
}
 
function rcbName_ClientSelectedIndexChanged(sender, eventArgs)
{
    alert("ClientSelectedIndexChanged");
}

You'll find that if you type "tes", then press Enter, the ClientSelectedIndexChanged event will be raised.  If you type "test", then press Enter, the ClientTextChange event will be raised.

Raising the OnClientSelectedIndexChanged event when the user doesn't make a selection is an interesting occurrence itself.  The event not being raised if the text exactly matches an item is equally interesting.  Since this is all interesting, my question is, is this behavior by design?  Is it not likely to change in future releases?  I can make it work fine.  I just wanted to make sure that's the way Telerik intended and to let other users know this works this way.

Thanks!


Jon Shipman
Top achievements
Rank 1
 answered on 27 Feb 2013
0 answers
55 views
Hi,
      When give the telerik forum URL its gives the following error. i used IE 8 in XP os. This is for your kind information.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727)
Timestamp: Sun, 27 Jan 2013 17:13:36 UTC


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: http://www.telerik.com/community/forums/aspnet-ajax.aspx


Message: 'loginUrl' is undefined
Line: 9975
Char: 5
Code: 0
URI: http://www.telerik.com/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_RadScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a6aabe639-e731-432d-8e00-1a2e36f6eee0%3a16e4e7cd%3af7645509%3a22a6274a%3bTelerik.WebSite.SharedControls%2c+Version%3d1.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3a19ee69a5-7154-4c1a-9de4-3abe4a760f83%3aa93acafa%3bTelerik.Web.UI%2c+Version%3d2012.2.912.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a6aabe639-e731-432d-8e00-1a2e36f6eee0%3a24ee1bba%3ae330518b%3a1e771326%3a8e6f0d33%3a58366029%3bTelerik.WebSite.SharedControls%2c+Version%3d1.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3a19ee69a5-7154-4c1a-9de4-3abe4a760f83%3af08febbe


Dhamodharan
Top achievements
Rank 1
 asked on 27 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?