Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
133 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
65 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
95 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
6 answers
254 views

Those were listed in the Q2 roadmap.  

Just installed it and those controls don't seem to be in there.  Any mention in the what's-new pages is also absent.

Doing a search for comparable method under Telerik provides a lot very coding-intensive methods.  

http://demos.telerik.com/aspnet-ajax/button/examples/radiosandcheckboxes/defaultcs.aspx

I suppose I could roll my own versions but that's not the point of purchasing expensive third-party libraries.

Rumen
Telerik team
 answered on 05 May 2016
4 answers
913 views
How can i use OnClick and OnChange events in RadEditor?

Thanks,
Dileep
CRAIG
Top achievements
Rank 1
 answered on 05 May 2016
1 answer
148 views
I have a radgrid which displays records from a database. I need to be able to delete records. However, I need to do two things: 1) Delete the actual record from the database, and 2) delete the row from the client side grid display. In all my Googling on this, it seems I have to pick one or the other, and can't do both together. I can have a GridButtonColumn which fires the OnDeleteCommand, in which case I can delete the record from the database. But this doesn't update the grid display in the browser. Or, I can use the GridClientDeleteColumn, which removes the row from the client grid display, but doesn't fire the OnDeleteCommand, so I can't delete the record from the database. I want to delete the record from the database AND remove the record from the client radgrid. How do I do this?

(IIS 7.5, Windows Server 2012, VS 2012, C#, ASP.NET, Telerik runtime version 4.0.30319, IE11, Firefox 45.0)
Paul
Top achievements
Rank 1
 answered on 05 May 2016
2 answers
130 views

I have a radgrid that I am building and I'm using autogeneratedcolumns= true because the datasource resultset has pivoted/dynamic columns. The datatype in the pivoted columns is BIT(so I want checkboxes to show for those columns).

When I set AllowFilteringByColumn=true, I get checkbox filtering menus at the top of each column, when I check it, it filters out all rows that aren't checked in the resultset... When I uncheck it, all of the results come back, but none of the checkboxes that were checked are checked. It seems that unclearing a "checkbox filter" only unchecks all checkboxes after all rows are shown again, but there is no recheck of the boxes that were checked. (I've attached my code).... is this the way this is supposed to behave?

Also, filtering seems to only work sometimes.... When I look for "checked only" sometimes, the results are incorrect. 

 

I've attached screenshots and code within same docx file.

Konstantin Dikov
Telerik team
 answered on 05 May 2016
9 answers
507 views

        

RadComboBox data lost on postback.

<telerik:RadComboBox ID="cmbCustOfficeCountry" runat="server" Width="153px" TabIndex="13"

                    AutoPostBack="false" OnClientSelectedIndexChanged="FillOfficeState" EnableViewState="true">

                </telerik:RadComboBox>

//javascript code to fill combobox.(By JSON Method)

function LoadCountry(countryId, countryName, countryDDL) {

    try {

        countryControl = countryDDL;

  //call web service method to get all country list from database.

        GetData.GetCountry(countryId, countryName, OnCountryLoaded);

    }

    catch (e) {

        radalert("Error :- on Method:- 'LoadCountry' Description:- " + e.description);

        return false;

    }

}

function OnCountryLoaded(result) {

    try {       

        countryControl.get_items().clear();

        countryControl.commitChanges();

 

        comboItem = new Telerik.Web.UI.RadComboBoxItem();

        comboItem.set_text("Select");

        comboItem.set_value("0");

        countryControl.get_items().add(comboItem);

       

        for (var rowIndex = 0; rowIndex < result.rows.length; rowIndex++) {

            var rows = result.rows[rowIndex];

 

 

               comboItem = new Telerik.Web.UI.RadComboBoxItem();

                comboItem.set_text(rows.CountryName);

                comboItem.set_value(rows.CountryID);

               

                countryControl.trackChanges();

                countryControl.get_items().add(comboItem);

           

        }

        var item = countryControl.findItemByText("Select");

        if (item) {

            item.select();

        }

    }

    catch (e) {

        radalert("Error :- on Method:- 'OnCountryLoaded' Description:- " + e.description);

        return false;

    }

}

 

When ever page goes to postback all radcombo is clear with blank value. I mean the radcombo lost all the data.

Note:  I am using webusercontrol, I mean My radcombobox is on my user control not on page.

So, Could you please give me solution to overcome this problem as soon as possible.

 

Peter Milchev
Telerik team
 answered on 05 May 2016
1 answer
76 views

Hello,

When I'm pasting the text with a bulleted list from Word in IE 11 the </li> </ul> tags are moved to the end of text and paragraphs below the list are aligned as list items. In Chrome and FF everything is ok. Please,see the attached screenshots.

I've tried several StripFormattingOptions, but it didn't help. The issue also doesn't depend on new lines mode.

Did anyone experience this problem or have any ideas how to fix it?

Thank you.

 

Kind regards,

Kateryna

Marin Bratanov
Telerik team
 answered on 05 May 2016
1 answer
244 views

Hello

I have a button in one step of radwizard , and I have a radgrid in another step of radwizard.I want to refresh grid when Clicking button. How can I do this?

 

 

Nencho
Telerik team
 answered on 05 May 2016
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?