Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
55 views
How to make the last item in combobox selected which is binded with sqldatasource?
Shinu
Top achievements
Rank 2
 answered on 06 Dec 2012
3 answers
100 views
I have a problem when trying to localize some elements of editor in its webpart version. For some reason in the editor which replaces content editor, localization behaves as expected, but in the editor which is in the webpart (default telerik rad editor for sharepoint webpart), there are still english labels in the table wizard dropdown and Strip Css Formatting dropdown, while other things in the same editor are translated correctly. Please see attached images.

Regards

 Adam

Edit :

In addition I would like to mention that I have followed the telerik's official localization procedure via resource files, described in the help file.
Rumen
Telerik team
 answered on 06 Dec 2012
3 answers
136 views
I have a RadGrid with a popup editor to add new records and edit existing ones using the default settings.  This has 2 links, "Insert" and "Cancel"  (or "Update" and "Cancel").

I have been told that non-technical users may find the term "Insert" confusing and I would like to change the word "Insert" to a different word such as "Create".  Can this be done?

Also, can the position of the links be changed so they are aligned to the right of the popup instead of the left?

Thanks, Richard Jonas
Richard
Top achievements
Rank 1
 answered on 06 Dec 2012
1 answer
158 views
Hi 

I am trying to using the telerik library to do a http request to my web api which return a JSON.

I am not having any result neither and error.

This my code could somebody help me to see what I am missing.

Thank you in advance

    <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
           <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
         </Scripts>
        </telerik:RadScriptManager>

   function GetApiRequest() {
                    alert(' Beging GetApiRequest');//TEST
                    var jsonResponse = null;
                    $telerik.$.ajax({
                        type: "GET", // HTTP method
                        url: 'http://localhost:3537/api/ipfiltervalues/1?displayFieldID=2', // URL
                        contentType: "application/json; charset=utf-8", //request the result to be in JSON
                        dataType: "json",
                        success: function (result) { //callback method to invoke when the request is complete
                            alert(result);
                            jsonResponse = result;
                        },
                        Error: function (x, y, z) {
                            alert(x + '\n' + u + '\n' + z);
                        }
                    });

                    alert('End GetApiRequest' + jsonResponse);//TEST
                }
Maria Ilieva
Telerik team
 answered on 06 Dec 2012
7 answers
209 views
Hi,

I have a rad grid that I create on server-side.
I use paging with virtual item count, and I load data on demand (every time the page index changes, I load the relevant rows, so my grid contains every time number of rows = page size).


I  added 2 buttons, prev and next, that iterates over my grid rows.
It works fine on the first page, but when I want to change the page and select the first item, the page index doesn't change.

Here is my code:

MasterTable.clearSelectedItems();

MasterTable.set_currentPageIndex(NextPageIndex,

true);

MasterTable.rebind();

MasterTable.selectItem(0);

set_currentPageIndex, doesn't make the function

GridReport_PageIndexChanged
to be fired.

 

The rebind calls need data source and there I check the pageIndex, and I get the index before the change..

Do you have any idea what am I doing wrong?
How can I change the page index using java script?

Thanks.


Marin
Telerik team
 answered on 06 Dec 2012
3 answers
398 views
is there a way to set the editmode= design but still allow the resize to the user?  when I set the edit mode to "design" only, the users can't resize the editor.
Larry
Top achievements
Rank 1
 answered on 06 Dec 2012
1 answer
153 views
i have **GridView** have one column is **CheckBoxList(Mon, Tues, Wed, Thur, Fri, Sat, Sun)**



Data for selected Week:

 - "1101000" mean (Mon, Tues, Thur is selected)  
 - "1000000" mean (Mon is selected)  
 - "0100000" mean (Tues is selected)

Below is use to identify the selected item

                Boolean isMonday = false;
                Boolean isTuesday = false;
                Boolean isWednesday = false;
                Boolean isThursday = false;
                Boolean isFriday = false;
                Boolean isSaturday = false;
                Boolean isSunday = false;

                if (alertDayInt >= 1000000)
                {
                    isMonday = true;
                    alertDayInt -= 1000000;
                }
                else if (alertDayInt >= 100000)
                {
                    isTuesday = true;
                    alertDayInt -= 100000;
                }
                else if (alertDayInt >= 10000)
                {
                    isWednesday = true;
                    alertDayInt -= 10000;
                }
                else if (alertDayInt >= 1000)
                {
                    isThursday = true;
                    alertDayInt -= 1000;
                }
                else if (alertDayInt >= 100)
                {
                    isFriday = true;
                    alertDayInt -= 100;
                }
                else if (alertDayInt >= 10)
                {
                    isSaturday = true;
                    alertDayInt -= 10;
                }
                else if (alertDayInt >= 1)
                {
                    isSunday = true;
                    alertDayInt -= 1;
                }
Tan
Top achievements
Rank 1
 answered on 06 Dec 2012
5 answers
265 views
How to set header text to bold while exporting to PDF.
Radha
Top achievements
Rank 1
 answered on 06 Dec 2012
5 answers
171 views
Please help me how to set styles like text-alignment,font-family,font-size etc.. for group by fields while exporting to PDF from RAD GRID.
Radha
Top achievements
Rank 1
 answered on 06 Dec 2012
6 answers
158 views
Hi,

We are using telerik radgrid inside a user control.Inside radajaxmanager_ajaxrequest we are binding the values for the Telerik grid.
But the issue is,we are not able to see the grid inside radajaxmanager_ajaxrequest but we are getting inside page load.But the ajaxloadingpanel is loaded properly.

is that anything specific for user control when comes to AJAX?

Appreciate the quick response to this.
Eyup
Telerik team
 answered on 06 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?