Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
432 views
I uninstalled the trial version before installing the dev. Created a new project solution when dev was installed, using F4, the controls are not showing up in the toolbox, try to use the telerik toolbox config, and choose the F4 option. The tool shows that the version in toolbox is the current one.I did this before and after reset the toolbox, and still not showing. try to repair the installation, and still not showing up, delete files from %localappdata%\Microsoft\VisualStudio\10.0\*.tbd, use the tool, and I see that the file for displaying the toolbox(toolbox.tbd), is different that the one that is used for reset after I run the config toolbox tool, but VS 2010 is not showing up the tools.

Can you help?

Thanks!
Fernando Gongora Sosa
Fernando Jose
Top achievements
Rank 1
 answered on 27 Oct 2011
5 answers
185 views
Hi

I would like to have a custom button in the column header to reset the current filter value. I did this by creating a custom command ResetFilter, with the UniqueName as CommandArgument and some logic on ItemCommand.

But I would like to use the regular grid mechanic, a button with the CommandName Filter and ComandArgument Pair("NoFilter", UniqueName). How is this achieved? I just end up with an exception of string could not be cast to System.Web.UI.Pair.

Thanks!
Elliott
Top achievements
Rank 2
 answered on 27 Oct 2011
1 answer
84 views
RadEditor in Sharepoint 2010 SP1 doesn't works

Hi, after to apply the SP1 and August 2011 CU, the RadEditor seems not working when is in a RadAjaxPanel. According with the stack trace (js) the problem is in the next script:

Telerik.Web.UI.Editor.Modules.RadEditorHtmlInspector.callBaseMethod(this,"dispose");
  c is null

MicrosoftAjax.js

SCRIPT5007: Unable to get value of the property 'apply': object is null or undefined
ScriptResource.axd?d=lI4GBBPOhB4Zcf6kyDFujm4Ja0NSR2z_uNkLxbjbyFwoxyFTYUCSCx2vZaWRtY0xMD1OKViMXMR42wVjTttBvWOvsHpuusu5R_yQdb4Gyj9k4vhFumRFnkBY4p1IePVivOWjmto05Fs18MNy7nwsH2Tlmsk1&t=5c2f384e, line 5 character 19552

I'm working with the last version of telerik (2011.2.915.35)

Somebody else have the same error or have some information about that?

Thanks alot
Stanimir
Telerik team
 answered on 27 Oct 2011
1 answer
167 views
Hi,

Is it possible to add and remove the .ClientEvents.OnValueChanged  using javascript of jquery?

Thanks
Karl
Top achievements
Rank 1
 answered on 27 Oct 2011
5 answers
131 views
I'm new to the Telerik ASP.Net controls.

Question - is there somewhere in the help or samples that shows two datetimepickers linked? 
Explanation - I have a form with two datetimepickers...a start date/time and an end date/time.  The client wants to be able to select a date and time to start, but the end time MUST be later than the start date/time; however, the end DATE can be the same as long as the end TIME is later.
Example1 - start date/time  11/11/11 2:00am    end date/time 11/11/11 4:00pm - this is ok
Example2 - start date/time  11/11/11 5:00pm    end date/time 11/12/11 2:00am - this is ok

I would like the end date/time to ALLOW the same DATE, but NOT ALLOW the same or earlier time.

What's the answer?
Maria Ilieva
Telerik team
 answered on 27 Oct 2011
9 answers
188 views
Hello,
I use RadDatePicker and RadTextBox controls in RadGrid template columns, and I need them to have a new property named IsRequired. Also, I want check on client side whether data for this control is mandatory, and draw a red border around control if it's empty. So the only idea that comes to my mind is to create an extender control to extend serverside and clientside functionality. I did that but everything I got was "Extender controls of type "MyExtender" cannot extend controls of type RadDateTimePIcker". Is there a way to do that?
I cannot validate them on postback, if this is what you want to advice me. Neither can I validate them other way. Those rules were not set by me and those are not what should be discussed :( Can you please tell me how to extend your controls functionality?
Thank you.
Dmitry
Top achievements
Rank 1
 answered on 27 Oct 2011
10 answers
310 views
Hi,
In my schedular i am using  month view only.but in the row date header ,when i click it goes to its corresponding date view. For example for april 6 when i click the 6,it will go to day view of 6.I don want to display day view.how can i remove click of date header?
Hardy
Top achievements
Rank 1
 answered on 27 Oct 2011
1 answer
164 views
I have a radeditor control inside an asp.net form view insert item template.

 As the user types text into the radeditor, I want to display the text/html inside a seperate label (within the same insert item template) in real time. (Yes, I know that the radeditor has a preview mode, but the real time preview must be seperate to the radeditor in my scenario). 

This is my server side code:
RadEditor re1 = (RadEditor)FormView_RISummaryDetailsFV.FindControl("RadEditorSummaryDescription_RISummaryDetailsFVEditItemTemplate");
Label lab1 = (Label)FormView_RISummaryDetailsFV.FindControl("LabelResumePreviewHeader_RISummaryDetailsFVEditItemTemplate");
Label lab2 = (Label)FormView_RISummaryDetailsFV.FindControl("LabelResumePreviewContents_RISummaryDetailsFVEditItemTemplate");
 
 
re1.Attributes.Add("onKeyUp", "JavaScript:summaryRealTimePreview('" + re1.ClientID + "', '" + lab1.ClientID + "', '" + lab2.ClientID + "');");

This is my JavaScript code:
<script type="text/javascript" >
    function summaryRealTimePreview(re1_id, lab1_id, lab2_id) {
        var re1 = $find(re1_id);
        var lab1 = document.getElementById(lab1_id);
        var lab2 = document.getElementById(lab2_id);
 
 
        lab1.innerHTML = re1.get_html();
        lab2.innerHTML = re1.get_html();
    }
</script>


Also, I have attempted to implement the onClientLoad="onClientLoad" function of the RadEditor control, but I am unable to find the two required labels which are both inside the insert item template, such as:

<telerik:RadEditor ID="RadEditor1" runat="server" onClientLoad="OnClientLoad" />

<script language="javascript" type="text/javascript">
    function OnClientLoad(editor) {
        var element = document.all ? editor.get_document().body : editor.get_document();
        $telerik.addExternalHandler(element, "keyup", keyUpFunction);
    }
 
 
    function keyUpFunction() {
        alert("key up function tripped");
    }
</script>





Can anyone guide me on the correct syntax or correct coding to achieve this?





.
Rumen
Telerik team
 answered on 27 Oct 2011
1 answer
142 views
When I mouseover buttons on my toolbar, the button turns completely gray (default skin).

I have tried to change ".RadEDomMouseOver" in my css file where I set the background color to white, etc but have had no luck.  What is the css I need to set?

Nevermind...it was a css issue
Rumen
Telerik team
 answered on 27 Oct 2011
7 answers
155 views
Hi,
a design coder is using Cufon to get the desired font. This works well when the page first loads but when I change pages via a radtabstrip , the font formating dissapears.
I have seen several examples that use the OnResponseEnd event of the RadAjaxManager to fire Cufon.refresh(), but this removes all the text so that no h2 tags appear on the page.

I'm using the code:
function responseEnd(sender, eventArgs) {
    Cufon.replace('h1', { hover: true });
    Cufon.replace('h2', { hover: true });
    Cufon.now();
}

Anybody have any ideas?
Regards
Roger 
Dimitar Terziev
Telerik team
 answered on 27 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?