Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
105 views
Hey guys, I am new to the forum and I have been looking for a quick suggestion. My issue is that I have a Radmenuitem, however I want to disable it because I don't need it to change onclick nor on hover, but I DO need it to change with the theming, and when it is disabled it does not change. Do I need to modify the css file directly or is there a workaround ? thanks in advance. I am also new to the UI...
Andrey
Top achievements
Rank 1
 answered on 04 Mar 2015
9 answers
291 views

Hello,

We were using Telerik Controls for our Asp.net 3.4 project
till this and now when we decided to upgrade to Asp.net 4.5 we had to upgrade
to Telerik latest controls and so I did.

I downloaded Telerik v 2014.2.724.45,I also using
AjaxcontrolToolkit v4.0.30319 and now If I Start running project for Asp.net
4.5 I see the below error on each page.

 

0x800a138f - JavaScript runtime error: Unable to get property
'UI' of undefined or null reference

 

I read few things related to this which mentions not to use TelerikRadscriptManager
Is that the case causing this error ? Any more details would be appreciated.

 

Thanks & Regards,

Kavita Tengse.

Developer (Pgi.com)

Dimitar
Telerik team
 answered on 04 Mar 2015
6 answers
278 views
Hello,

I have an issue with the RadCombobox, that I can't find a solution anywhere in the forums. So, I thought I'll post the issue here and see if anyone has a solution or workaround. As you can see in "Rcb_screen_1", the combobox works just fine. On "Rcb_screen_2", I clicked on the top part of the combobox, it would display another dropdownlist with all the entries I might have used on others comboboxes. On "Rcb_screen_3", the textbox in place of the dropdownlist would allow me to type in any text.

Don't know if this is a bug or just the complicated layout that I have on my app. Unfortunately, I can't send my code for you to replicate the problem. There is also no issue when I tried to create a sample app. I tried there settings in my .aspx file:
ShowDropDownOnTextboxClick="false" ShowMoreResultsBox="false"
MarkFirstMatch="false" AllowCustomText="false" EnableItemCaching="false"

Any help would be greatly appreciated.

Thanks.

Tri
Nencho
Telerik team
 answered on 04 Mar 2015
3 answers
316 views
Here is my RadWindow declaration:

<telerik:RadWindow ID="VideoPlayerWindow" ClientIDMode="Static" runat="server" Modal="True" VisibleOnPageLoad="false" EnableShadow="true"
    Behaviors="Close" ReloadOnShow="true" AutoSize="true" OnClientBeforeClose="StopVideo">
    <ContentTemplate>
        <asp:UpdatePanel ID="VideoPlayerUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
        <uc1:ucVideo ID="Video1" runat="server" />
        </ContentTemplate>
        </asp:UpdatePanel>
    </ContentTemplate>
</telerik:RadWindow>

My previous JavaScript code to open the window was a little redundant if not messy (BEFORE SETTING CLIENTIDMODE = STATIC)

...
if (clientId == "VideoPlayerWindow") { oWnd = $find("<%=VideoPlayerWindow.ClientID%>"); }
...

I wanted to set the clientidmode to static and change the code to

oWnd = $find(clientId);

which returns a RadWindow object. When the window goes to open, however I get a JavaScript error and the window is blank:

Microsoft JScript runtime error: 'this._contentElement.style' is null or not an object
The line in ScriptResource:

}

 

if(this._dockMode){this._contentElement.style.width="1px";

I am using the 2010.3.x version of the RadControls for ASP.NET. Thanks!

Marin Bratanov
Telerik team
 answered on 04 Mar 2015
3 answers
158 views
Hi.

I was wondering if somebody could help me as this problem has had me stumped for the past few weeks.

I am using the Telerik Ajax Components (version 2014.1.403.45) along with JDash. In my appliation I wish to create a Dashboard using JDash and inside the JDash dashlets would like to place Telerik controls, specifically the RadHTMLchart. But no matter what I do I always receive the following error:

Uncaught TypeError: Cannot read property 'dataviz' of undefined

A quick search from Google shows several other people struggling with the same error, but sadly either nobody has received a solution or bothered to post one. Here are the links showing others having the same problem:

http://feedback.telerik.com/Project/108/Feedback/Details/132936-improve-integration-between-radhtmlchart-and-jdash
http://forum.jdash.net/yaf_postst147_Telerik-RadHTMLChart-controls-no-longer-work-with-dashboard.aspx

Does anybody here have a possible solution? Any help would be very much appreciated!

Thanks!
Danail Vasilev
Telerik team
 answered on 04 Mar 2015
1 answer
47 views
Hello All,

I have one button click event, in which I need to perform some database validation and if the validation is true I need to open one prompt window with drop down box having three options,

And on selection of options I need to perform further code execution on server side. Please suggest how to achieve that?

protected void button1_Click(object sender, EventArgs e)
{
    if(SomeValidation() == true)
      RadWindowManager1.RadPrompt("Selection Option");
   
    if(option1 is selected) then
     do something
  else if (option2 is selected) then
     do something
 else
    do somenting
}

I need to hold the execution of code till the user selected any options from RadPrompt. Please suggest how to achieve that.

Thank you!
Vishal Patel
Marin Bratanov
Telerik team
 answered on 04 Mar 2015
6 answers
177 views
I'm sure someone has come across this before, but I'm having a tough time locating this information.  Basically my users want the ability to edit basic html attributes for div elements.  Attributes like width, height, and background.  It's possible to achieve the desired effect by converting the layout to tables (you can edit a tables attributes) but that isn't a viable option for us.  Could someone point me in the right direction?

Thanks for your time.
Ianko
Telerik team
 answered on 04 Mar 2015
4 answers
120 views
Setting the cancel property (to true) of the telerik eventArgument (e) accompanying the RadButton Client OnValueChanging event is no longer setting the value back to the oldValue or initialValue.

I put up a StackOverflow Question in this regard.
http://stackoverflow.com/questions/28769622/canceled-event-is-not-reverting-radbutton-to-initial-value
Danail Vasilev
Telerik team
 answered on 04 Mar 2015
1 answer
131 views
How can I extract the value from this radcombobox nested inside a Grid Template Column?

It would be when the user clicks on the Insert button on the radgrid....

<telerik:GridTemplateColumn UniqueName="UserCol" HeaderText="proto user" DataField="UserID">
      <EditItemTemplate>
              <telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="false">
               </telerik:RadComboBox>
      </EditItemTemplate>
</telerik:GridTemplateColumn>
 
Konstantin Dikov
Telerik team
 answered on 04 Mar 2015
3 answers
199 views
I just installed Q1 2015 and I am looking for the "New Visual Studio Template".

I have vs 2012 and 2013 pro installed.

Templates look the same as the old ones. 

Marty
Ventsi
Telerik team
 answered on 04 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?