Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
75 views

Hi,

 

I am using Radeditor and markdown.js for saving the rad editor value in markdown mode. When I try to convert markdown values in HTML mode then some of the scenario are breaking while conversion.

1. When bullets/Numbers are entered in the text

2. When underlined the text

Below is the method which I am using

 

markdown.toHTML(content, 'Maruku');

 

Thanks in advance.

Avinash
Top achievements
Rank 1
 asked on 03 Aug 2016
1 answer
109 views

I am using adRotator (Q2 2016 controls) to randomly display header images on a website with fade transition. So far so good, but now I would like to have a text title on a layer above the rotator so that the title remains fixed while the images change behind it. 

Can you suggest a browser-independent way approach to achieve this? 

Thanks for any suggestions!

Clive

Clive Hoggar
Top achievements
Rank 1
 answered on 02 Aug 2016
1 answer
77 views

Hello,

My grid is saving the old value for New Topic Number. Please assist.

<telerik:RadGrid ID="gridApprovedTopics" runat="server" GridLines="None" DataSourceID="dsApprovedTopics"
                AllowFilteringByColumn="True" AllowSorting="True" AutoGenerateColumns="False" Skin="WebBlue" AllowAutomaticUpdates="True" OnItemCommand="gridApprovedTopics_ItemCommand">
                <HeaderContextMenu>
                    <CollapseAnimation Type="OutQuint" Duration="200" />
                </HeaderContextMenu>
                <MasterTableView CommandItemDisplay="Top" DataKeyNames="Old_Topic_Number" EditMode="EditForms">
                    <EditFormSettings>
                        <EditColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" EditImageUrl="../App_Themes/WebBlue2/Grid/Edit.gif"
                            UpdateImageUrl="../App_Themes/WebBlue2/Grid/Update.gif" CancelImageUrl="../App_Themes/WebBlue2/Grid/Cancel.gif">
                        </EditColumn>
                    </EditFormSettings>
                    <CommandItemTemplate>
                        <div style="padding: 5px 5px; float: right;">
                            <span style="margin-right: 15px">
                                <asp:LinkButton ID="btnClearFilters" runat="server" CommandName="ClearFilters" Text="Clear Filters" />
                            </span>
                            <asp:Button runat="server" ID="buttonRefresh" CommandName="Rebind" CssClass="rgRefresh" Text=" " />
                            <asp:LinkButton ID="btnRefresh" runat="server" CommandName="RebindGrid" Text="Refresh" />
                        </div>
                    </CommandItemTemplate>
                    <Columns>
                        <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" HeaderText="Edit" ButtonType="ImageButton" EditImageUrl="../App_Themes/WebBlue2/Grid/Edit.gif" />
                        <telerik:GridBoundColumn DataField="Technology_Group_Abbreviation" HeaderText="Technology Office"
                            SortExpression="Technology_Group_Abbreviation" UniqueName="Technology_Group_Abbreviation" ReadOnly="true" />
                        <telerik:GridBoundColumn DataField="PM_User_Name" HeaderText="PM" SortExpression="PM_User_Name" UniqueName="PM_User_Name" ReadOnly="true" />
                        <telerik:GridHyperLinkColumn DataNavigateUrlFields="Topic_Id" DataNavigateUrlFormatString="~/Topics/CreateViewTopic.aspx?id={0}&p=0"
                            HeaderText="Topic Number" DataTextField="Old_Topic_Number" UniqueName="Old_Topic_Number" AllowFiltering="False" ShowFilterIcon="False" ShowSortIcon="False" Target="_blank" />
                        <telerik:GridBoundColumn DataField="Status_Name" HeaderText="Status" SortExpression="Status_Name" UniqueName="Status_Name" ReadOnly="true" />
                        <telerik:GridBoundColumn DataField="Title" HeaderText="Title" SortExpression="Title" UniqueName="Title" ReadOnly="true" />
                        <telerik:GridBoundColumn DataField="TPOC" HeaderText="TPOC" SortExpression="TPOC" UniqueName="TPOC" ReadOnly="true" />
                        <telerik:GridBoundColumn DataField="New_Topic_Number" UniqueName="New_Topic_Number" HeaderText="New Topic Number" Display="false" />
                    </Columns>
                </MasterTableView>
                <ClientSettings EnablePostBackOnRowClick="false" AllowColumnsReorder="True">
                    <Selecting AllowRowSelect="True" />
                </ClientSettings>
                <FilterMenu>
                    <CollapseAnimation Type="OutQuint" Duration="200" />
                </FilterMenu>
            </telerik:RadGrid>

 

Thanks!

Patrick
Top achievements
Rank 1
 answered on 02 Aug 2016
7 answers
399 views
Hello,

I have a RadGrid  with columns defined at design time (GridBoundColumn, GridNumericColumn), the grid is configured as EditMode="Batch", when the user clicks on a cell, the cell change to be editable,

I am using the built in feature to display aggreate functions on the grid (Aggregate="Sum"), the problem is that the user modify the value on a cell, but the value on the footer for that column do not be updated,

My expectation is, that each modification on the column, should be reflected on the total,

Could you pelase support me with that?

Thanks in advance,
roy
Top achievements
Rank 1
 answered on 02 Aug 2016
12 answers
657 views
Hi

There seems to be an Internet Explorer related bug in combination with some of the RadGrid Skins. If there is a border around the selected row (ie Gray, Telerik), any cell which is empty won't get any border. The Css is fine, everything is ok, only IE doesn't render it...
I encountered this in combination with a edit / delete column where the delete button / text gets invisible in editmode. 
It's working in every other browser i tested. My workaround at the moment is to set the delete column to visible = false if the row is in edit mode but maybe there is some better solution to this. I tried to set the GridDeleteColumn.Text to &nbsp; but whitout success. 

Thanks!
Creationator
Top achievements
Rank 1
 answered on 02 Aug 2016
4 answers
256 views

I am wanting to programmatically select a page (item?) from the DataForm during page_load from a querystring.

 

I am using a RadListView for selecting an item and displaying/passing the RadListView's selection to the DataForm by making use of the ListView's DataItemIndex.

 It seems to work as both controls are bound to the same datasource. (I was worried that perhaps the ordering and indexes would not match up between the two controls, but so far it seems to be fine).

It looks something like this:

protected void RequestsListView_ItemCommand(object sender, RadListViewCommandEventArgs e)
        {
            if (e.CommandName == "ItemSelect")
            {
                SelectedRequestDataForm.CurrentPageIndex = ((RadListViewDataItem)e.ListViewItem).DataItemIndex; 
            }
        }

 

So my question is how do I basically do the same thing but instead of using DataItemIndex / CurrentPageIndex... how can I just use actual field values to match and select on? Can I set the selected page of the DataForm by matching a value of a particular page's DataKey (or any field)? 

 

I have looked through the API reference to see if there was anything besides CurrentPageIndex that I could use, but I haven't found one. One idea I've had is to just loop through all pages and on each page attempt to match a DataItem's value... then use CurrentPageIndex to get the value. But, there doesn't seem to be a collection that corresponds to all the pages associated to the DataForm. Oddly enough, there is a PageCount property though!

 

What might I do? Does DataPager already accomplish all this and I just don't realize it?

 

Mike
Top achievements
Rank 1
 answered on 02 Aug 2016
1 answer
134 views

Hello.

This is my first post and I am posting because I have a serious problem, the same that the specified in this link http://www.telerik.com/forums/ontextchanged-calling-other-radnumerictextbox, I will explain a bit what is the situation:

I have a Total label and a RadGrid that contains records from a database and one of the columns let you change an amount, when you change the amount textchange event fires recalculates the value to show in Total label, the problem like the guy of the link above is when you change to anotherradnumerictextbox (using mouse or tab key), if i have "123,23" in that radnumerictextbox (where ","  is my decimal separator) it converts the value to "12323,00", I understand what is happening but not how to solve it and this is a problem because it change the Total label taking into account the "12323,00" giving me a greater value than i would expect), i am using telerik version 2013.3.1015.40
answering the question on the libk above

What browser do you use? Chrome last version (52.0.2743.82 m)
What is the culture on your machine and in your server? Español (Mexico) (both), but i am changing application culture depending on user preferences (in this case Español (Costa Rica)
Is it happening in more than one browser? It happen in all browsers
Do you get some JS errors? there are no JS errors
What .Net version are you using? .Net Framework 4.5

 

Thank you in advance for your help.

Kostadin
Telerik team
 answered on 02 Aug 2016
3 answers
89 views

It is not possible to mark all contents in the cells and make same changes for all selected, for example font style or size.

Vessy
Telerik team
 answered on 02 Aug 2016
12 answers
484 views
I'm trying to figure out how to set selected items in the File Explorer.  At page load, I'd like to iterate through the items in the file explorer and be able to select one or more items.

Does the FileExplorer currently have built-in functionality to support this?  or any work arounds that'll allow me to select items?

Thanks!
Vessy
Telerik team
 answered on 02 Aug 2016
0 answers
120 views

Hi,

There are two pages for me. In the page 1, I have a radlistbox to display the name of databases, after I choose a database and click 'OK', it will change to the page 2 and display the name of this database in a radcombobox.(image 1)

I use the methode post get, and now the name of database appears in the URL but can't display in the radcombobox. (image2)

And here is my code for page 1(image 3) and page 2(image 4) and radcombobox for page 2(image 5).

I also changed the radcombobox1.text to radcombobox.selectvalue and it didn't work.

Thanks a lot

 

zj
Top achievements
Rank 1
 asked on 02 Aug 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?