Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
184 views

Hi. I am using Telerik RadEditor control in one Webpage, want to copy paste the whole content from a MS Word document to this RadEditor control.

And I have set 'MSWord' to 'StripFormattingOptions' property. With this, am able to do copy-paste from MS Word document content with all Font settings, but images are not coming to the RadEditor control.

 

Can you please give me solution to get it ?

Ianko
Telerik team
 answered on 08 Jul 2015
1 answer
185 views

Hi Team,

 

I have an ASP.Net project where I newly used a Radgrid and a RaddatePicker . Also I am loading HTML Templates(.htm Files)  in some case.

So In HTML template (Old pages ) I have used Datepicker class to show calendar control. But My New ASP.Net Page is using RaddatePicker . But both Raddatepicker and DatePicker UI looks different. I would like to use RaddatePicker in HTML Templates also.

Could you please suggest me that how can I use RaddatePicker in an HTML pages ? Or suggest me an alternate solution for calendar uniformity. ?

 

Regards

Ramesh.

Galin
Telerik team
 answered on 08 Jul 2015
8 answers
165 views
I enabled grouping on my RADGrid, but when I Drag & Drop a column, all I see is a "CrossHair" cursor while dragging. I do not see the animation visually showing a box representing the column being dragged, nor do I see the "double arrow" that appears showing you where the column is about to be dropped. Both these features I saw on the Telerik RADGrid Demo's, but I can seem to replicate this feature on my own RADGrid.

Help!
Angel Petrov
Telerik team
 answered on 08 Jul 2015
2 answers
251 views

Hello Telerik Team,

Could you please help me with my issue ? My intention is to have completely responsive app with responsive design, elasticitiy, etc.  I use RadPageLayout and also css files with media query based on resolution from this page http://docs.telerik.com/devtools/aspnet-ajax/controls/pagelayout/creating-responsive-design/viewport-breakpoints

So far everything is working fine, but now I want to use a discussion forum with radwindow control for a new thread. Declaration of current radwindow is here:

<telerik:RadWindow
                   NavigateUrl="~/Pages/EditForm/Helper/ForumBoardInWindow.aspx" runat="server" Behaviors="Close,Move, Resize"
                   ID="ForumBoardWindow" VisibleStatusbar="false" Width="620px" Height="388px"  Modal="false" KeepInScreenBounds="true"  >
               </telerik:RadWindow>

The problem is that radwindow fixed width and height (iframe) has taken media query from css file as a small screen resolution, even web browser (IE, Firefox) is running on 23'' display - 1920 x 1080 pixels resolution. The result is smaller displayed font as parent page has.

@media only screen and (min-width: 361px) and (max-width: 768px) {
    body {
        font-size: 11px;
        background-color:Fuchsia;
    }
}

Parent page looks good, it is evaluated as extra large screen.

@media only screen and (min-width: 1281px) {
    body {
        font-size: 16px;
    }     
}

So I have two issues:

1. How to set the same media query resolution for a radwindow control as parent page has, based on actual web browser size ?

2. How to proportionally resize rad window control when user resize web browser (IE, Firefox), or application will be opened on smaller devices (tablet, mobile phone) ?

Thank you for your help and assistance.

Best regards

Vasssek

Vasssek
Top achievements
Rank 1
 answered on 08 Jul 2015
7 answers
197 views

Hi

I configured my captcha to have a custom character set to include the characters "abcdefghjkmnopqrstuvwxyz23456789". Basically removed L,l,i,I,0. but sometimes it is showing these removed characters in the captcha text. I tried this on your demo page (http://demos.telerik.com/aspnet-ajax/captcha/examples/characterset/defaultcs.aspx) and I saw the demo is also showing these characters. Attached are the screen shots.

Here is my configuration

HTML code:

<telerik:RadCaptcha ID="RadCaptcha1" Skin="Transparent" runat="server" EnableRefreshImage="True" Display="Static" ValidationGroup="vgAudio" ErrorMessage=" " meta:resourcekey="RadCaptcha1Resource1" ImageStorageLocation="Cache" CaptchaImage-EnableCaptchaAudio="true" CaptchaTextBoxLabel=" " CaptchaImage-ImageAlternativeText="Type the code from the image." CaptchaImage-FontWarp="Medium" CaptchaImage-BackgroundNoise="Medium" CaptchaImage-LineNoise="Medium" CaptchaImage-TextLength="6" CaptchaImage-UseRandomFont="False" RefreshImageAccessKey="J" CaptchaImage-TextChars="CustomCharSet" IgnoreCase="True" CaptchaImage-PersistCodeDuringAjax="true"></telerik:RadCaptcha>

Server Code:

radCaptcha.CaptchaImage.CharSet = "AaBbCcDdEeFfGgHhJjKkMmNnPpQqRrSsTtUuVvWwXxYyZz23456789";

Please let me know if I am missing something.

Any help is really appreciated and Thanks

Rakesh

 

SANJAY
Top achievements
Rank 1
 answered on 08 Jul 2015
1 answer
126 views

Good morning,

I'm trying to create a contingency table ( you can see a simple example in the image) but I don't find an optimal solution. What I tried to do was to use a RadGrid. The "problem" is that I want to populate the table in code behind (I use c sharp). In particular I have 2 arrays: in this example one for sex (male or female) and one for handedness (right- or left-handed). All the other data (the numbers) must be initially empty. The second "problem" is that I'd like to calculate the sum in client side in order to avoid a postback each time I insert a variable. What I tried to do was to create a dataTable and insert it as datasource. For the column with the sum I used a calculatedGridColumn but I had problem if the value is empty because I was not able to convert it as 0 (I don't want to show the empty value as 0 initially). In order to calculate the total each time I insert a new value I wasn't able to sum the value of each row but I subtract the value when click the cell and then re add the new value inserted (it's a bad method). There's no way to re evaluate the total each time I insert a new value?. As I said remember that the table is created dynamically.

If someone has a good solution for this problem please help me.

Thanks

Angel Petrov
Telerik team
 answered on 08 Jul 2015
0 answers
94 views

I had to edit an application which uses your RadScheduler and the appointment in the calendar needs to be dependent on 1-2 messagebox displayed. The first messagebox has OK & Cancel, and if the user clicks Cancel the appointment should not open. The 2nd messagebox shows a message and OK button. When I click OK button for both of the messagebox, sometimes the appointment does not open. When I debug, it works fine. However, after deploying the application, the appointment window does not open intermittently even though OK has been clicked. I put the check in AppointmentEditing method and if OK has clicked, e.Cancel = false; else e.Cancel = true;

As this is intermittent (more chances of it not opening when it should) I am rather puzzled.

J
Top achievements
Rank 1
 asked on 08 Jul 2015
8 answers
916 views
Hello everybody!

I have the following requeriments, using your RadGrid, is necesary select / deselect row with only one click including MultiSelectRow, I was trying with this code to select and deselect:
function RowClick(sender, eventArgs) {
           var grid = sender;
           var MasterTable = grid.get_masterTableView();
           var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
           if (row._selected) {
              // row.set_selected(false);
               //MasterTable.deselectItem(MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()].get_element());
               MasterTable.deselectItem(eventArgs.get_itemIndexHierarchical());
          }
            
       }

But I doesn't work, I don't know if I need do something else, because MasterTable.deselectItem doesn't work , I'm passing the Row Index, but in the radgridview not changed anything

This my radgrid:

<telerik:RadGrid ID="rgv_options" runat="server" AllowMultiRowSelection="True" AutoGenerateColumns="False"
                        CellSpacing="0" GridLines="None" >
                        <MasterTableView AllowFilteringByColumn="False" >
                            <CommandItemSettings ExportToPdfText="Export to PDF" />
                            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                <HeaderStyle Width="20px" />
                            </RowIndicatorColumn>
                            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                <HeaderStyle Width="20px" />
                            </ExpandCollapseColumn>
                            <Columns>
                                <%-- <telerik:GridTemplateColumn AllowFiltering="false" ShowFilterIcon="false">
                                        <ItemTemplate>
                                            <asp:CheckBox ID="chk_selected" runat="server" />
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>--%>
                                <telerik:GridBoundColumn AllowFiltering="false" DataField="Value" FilterControlAltText="Filter column column"
                                    HeaderText="Value" UniqueName="column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn AllowFiltering="false" DataField="Item" FilterControlAltText="Filter column1 column"
                                    HeaderText="Item" UniqueName="ItemColumn">
                                </telerik:GridBoundColumn>
                            </Columns>
                            <EditFormSettings>
                                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                </EditColumn>
                            </EditFormSettings>
                            <PagerStyle PageSizeControlType="RadComboBox" />
                        </MasterTableView>
                        <PagerStyle PageSizeControlType="RadComboBox" />
                        <FilterMenu EnableImageSprites="False">
                        </FilterMenu>
                        <ClientSettings>
                            <Selecting AllowRowSelect="true" />
                            <ClientEvents OnRowClick="RowClick" OnRowDeselecting="RowDeselecting" />
                             
                        </ClientSettings>
                    </telerik:RadGrid>


Regards!

Stacy
Top achievements
Rank 1
 answered on 07 Jul 2015
1 answer
89 views

see the attached file.

My understanding if upload finish progress bar will close and green icon near file name will show. 

Refer to the attached file upload status show 100% but progress bar do not close and green icon do not show.

Hristo Valyavicharski
Telerik team
 answered on 07 Jul 2015
2 answers
100 views

Hi Guys,

 Im working on Radfileexplorer I'm facing so many problems, My problem is like  that I want assign the datasource to file explorer  inside gridview how to assign  the datasource to RadfileExplorer mastertable view its getting error here is the code  . can you please help me .

 

                GridBoundColumn  Id = new GridBoundColumn();
                rdFileExplorer.Grid.MasterTableView.Columns.Add(JobFileId);
              Id .HeaderText = "Id";
              Id .UniqueName = "Id";
              Id .DataField = "Id";
               Id .SortExpression = "Id";

        
              GridBoundColumn Name = new GridBoundColumn();
              Name .Grid.MasterTableView.Columns.Add(JobFileId);
              Name .HeaderText = "Name";
              Name .UniqueName = "Name";
              Name .DataField = "Name ";
              Name .SortExpression = "Name";

                rdFileExplorer.Configuration.ContentProviderTypeName = typeof(Telerik.Web.UI.Widgets.FileSystemContentProvider).AssemblyQualifiedName;
                rdFileExplorer.InitialPath = Convert.ToString(folders.GetValue(0));
                rdFileExplorer.Configuration.ViewPaths = folders;
                rdFileExplorer.Configuration.DeletePaths = folders;
                rdFileExplorer.Configuration.UploadPaths = folders;
                rdFileExplorer.Configuration.MaxUploadFileSize = 10485760;
                rdFileExplorer.GridContextMenu.OnClientShown = "OnClientContextMenuShown";
                rdFileExplorer.Grid.AutoGenerateColumns = false;
                rdFileExplorer.Grid.MasterTableView.DataSource = ds.Tables[0].DefaultView;
                rdFileExplorer.Grid.MasterTableView.DataBind();

Its getting  error im unable to  assign the datakey names.

Can you please help me how to assign the datasource.

Vessy
Telerik team
 answered on 07 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?