Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
489 views
Im new to Telerik. Please help me in this regard.
We are doing online competitive Exam template. 





Total Number of Question : based on the exam (Random Questions)


Question Type : Optional, Multiple Choice, Match the following, Reordering, Fill in the blanks


Exam Duration : Based on the exam.

Please suggest us which telerik control is suitable for quiz, Match the following, Reordering.



binny
Top achievements
Rank 1
 answered on 06 May 2016
1 answer
63 views

Hi Telerik,

We faced one weird problem related to particularly one skin. i.e : MetroTouchMobile. The error we faced mentioned below:

Telerik.Web.UI.GridFilterMenu with ID='rfltMenu' was unable to find an embedded skin with the name 'MetroTouchMobile'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.

This error generates only for "MetroTouchMobile" RadSkin. All other skins works good.

Actually, we are applying skin to each control at server side (code behind) dynamically, When we assign this skin we get error mentioned above for all the control.

What do we need to resolve such error?

 

Thanks,

Novoguys

Dimitar
Telerik team
 answered on 06 May 2016
1 answer
431 views

I'm working with UI for ASP.Net 2015.3 and I'm starting to get a strange error when I'm trying to do an ajax post in IE 10/11 - 

 

Unhandled exception at line 563, column 32 in http://localhost:9090/WebUI/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=3.5.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:f425c57c-3f06-4ae5-9b9a-1c136e57ba79:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2015.3.1111.35,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:148acb90-275a-4dd3-bcec-73473d72fc70:16e4e7cd:4877f69a:86526ba7:f7645509:ed16cbdc:88144a7a:24ee1bba:c128760b:1e771326:f46195d3:2003d0b8:aa288e2d:258f1c72:a675b4ab:bfc858fd:58366029

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

 

I've seen other posts with errors like this one - the suggestion is usually upgrade to latest version, but 2015.3 seems pretty new.

Trying to run this page in an ie emulation mode for an earlier version of ie does not resolve the problem.

Any ideas why this would start happening?  

Konstantin Dikov
Telerik team
 answered on 06 May 2016
2 answers
454 views

I have a RadComboBox with checkboxes and I want to get all the values in the DataValueField as a comma separated string.

$get("myComboBox").value gets me a comma separated string of the DataTextField and not the DataValueField.

How do I do this?

Ivan Zhekov
Telerik team
 answered on 06 May 2016
5 answers
788 views

Hi, I'm difficulty with exported date formats in my mulicultural application.  

The issue is that users within my application are allowed to change their language (thus, their culture setting within our application) but the radgrid's exports seem to "stick" to whatever their previous culture's date format is.  This "sticking" behavior is regardless of which culture is started with and then changed to.

To support multiple dates, I'm applying a DataFormatString of "{0:d}" to the GridDateTimeColumn so I can allow .NET to auto-format it with the builtin Globalization features.  So my column is defined like this:

<telerik:GridDateTimeColumn ItemStyle-Wrap="false" HeaderText="<%$ Resources: OurstringsResource, HeaderTextInvoiceDate %>" DataField="invDate" HeaderStyle-Width="8em" DataFormatString="{0:d}" />

 

When applying this format, the on-screen date is shown correctly, however it is not when exporting in the same format as shown on the screen.  Again, this is after they've changed their language/culture.  All other aspects of our application regarding the culture change work correctly (e.g. I am debugging the code and can see the correct culture is set) so I'm confident it is not a problem with our application.

I've found a number of posts on the Telerik site describing similar behavior, but in my case I'm using the Xlsx format, such as this:

protected void btnExportToExcel_Click(object sender, EventArgs e)

{

    RadGrid1.ExportSettings.FileName = "MyExportedFile";

    RadGrid1.ExportSettings.ExportOnlyData = true;

    RadGrid1.ExportSettings.Excel.Format = GridExcelExportFormat.Xlsx;

    RadGrid1.MasterTableView.ExportToExcel();

}

  Since we are using the format of Xlsx I don't see many events that I can change the format, per the many suggestions found in the other threads.  I did see that OnItemCreated looked promising and I tried doing something like this:

if (e.Item is GridDataItem && exporting)

{

   var item = (GridDataItem)e.Item;

  //also tried manually setting the specific short date as defined by the current culture

  item["invDate"].Text = Convert.ToDateTime(item["invDate"].Text).ToString("d"); 
}

... but this didn't work.  

I've tried many other things such as changing my column type, setting the appropriate culture in either/both the Page.Culture and RadGrid.Culture, binding the DataFormatString string to a fixed string appropriate for the culture, etc etc etc.  

I'm really at a loss here and could use some help.  

Thanks in advance!

 

BTW, I'm using the Q1 2016 version of UI for ASP.NET AJAX, and .NET 4.5.

 

Eyup
Telerik team
 answered on 06 May 2016
1 answer
88 views

I am having issues with the RadMenu and RadWindow working together. As you can see from the attached the RadMenu does not 'darken' and go into the background like the rest of the screen when the RadWindow is displayed.

How can this be fixed?

Dimitar
Telerik team
 answered on 06 May 2016
3 answers
945 views

Hi ,

  I have implemented the radgrid dynamically from code behind which the number of columns may vary according to the page we open, here the problem is am not getting the horizontal scrollbar for radgrid instead am getting horizontal scrollbar in page. Here i need the radgrid to take the size of page and horizontal scrolling should come for radgrid. Please let me know if anyone knows the solution.

Eyup
Telerik team
 answered on 06 May 2016
3 answers
104 views
pls let me know how to use clientselectcolum and fetching data in the radgrid by selecting a row and trigger by a button
Eyup
Telerik team
 answered on 06 May 2016
1 answer
49 views

Hi,

My company has a requirement to develop a User Control that has 3 tabs, Current (shows current content with changes), Original (shows content that has all changes rejected) and Final (shows content with all changes accepted).

I tried 2 methods of achieving this.

Firstly, by using the server-side method of AcceptTrackChanges (to get content for tab Final) and RejectTrackChanges (to get content for tab Original).

However, this first method did not work as text formatting changes like Bold, Italics are not accepted.

Secondly, I tried using the workaround suggested in http://feedback.telerik.com/Project/108/Feedback/Details/88678-when-accepttrackchanges-method-is-being-used-from-the-code-behind-inline-forma

Unfortunately, that did not work either.

 

Is there another way to achieve what we want to do?

Joseph
Top achievements
Rank 1
 answered on 06 May 2016
0 answers
72 views

Hi

I'm trying to use the RadHtmlField control on a custom SharePoint page layout. The field I'm wrapping is a multi line rich text field (and not a publishing html field) and this is a required field.

I can see the editor coming up and am able to format content.  However when I try to save, the page validation fails and it says you must specify a value for this required field though I've filled content. Here's the code

<Rad:RadHtmlField FieldName="DemoMessage"  runat="server" id="NoteField1" 
                DisableInputFieldLabel="true" DisplayWidth="100%"    
                ConfigFile="/_layouts/RadEditor/ConfigFile.xml"
                ToolsFile="/_layouts/RadEditor/ToolsFile.xml" />

Does the field control work only with publishing html field?

Thanks

Raj
Top achievements
Rank 1
 asked on 05 May 2016
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?