Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
82 views
I have the RadEditor working pretty well in an MVC page put in a Partial View that is an ascx page.  The problem is that all the dialogs are not usable.

I have attached a screen shot.  I am using Visual Studio 2013 with MVC 4.5, the screen shot is on Chrome.

The MVC/Kendo Editor lack functionality, or at least the demo do.  I require switching between Edit/HTML/View and uploading files.  The MVC demos have one that seems to load a file but then nothing happens with it.

Wondering if I need to waste still some more money to get a decent editor, Rich Text Editor works in MVC with all its functionality. Rather disappointed with all the money wasted on Telerik at this point.

George
George
Top achievements
Rank 2
 answered on 12 Feb 2015
2 answers
260 views
I am trying to use the RadWizard control, to implement a maintenance request form.  On the last step, I want the user to click finish and that will send all the data to the database.  However, the 'Finish' button is not firing on click.  It takes two clicks.  I have tested this in different browsers and continue to get the same results.  I have added a panel around the RadWizard and that does not seem to solve anything.  Please help. I am using the latest telerik ajax version v2014.3.1209.45

Below is my markup and code behind...

thanks


Doug
001.<body>
002.  <form id="form1" runat="server">
003.      <telerik:RadScriptManager ID="rasMain" runat="server">
004.      </telerik:RadScriptManager>
005.       <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
006.        </telerik:RadWindowManager>  
007.      
008.        <telerik:RadWizard runat="server" ID="RadWizard1" Height="360px" Skin="BlackMetroTouch">
009.            <WizardSteps>
010.                <telerik:RadWizardStep ID="rwsCreatedBy" Title="Created By" runat="server" StepType="Start">
011.                    <h2 style="font:large, bolder;">Select the Operator or person creating this breakdown request</h2>                   
012.                    <table>
013.                        <tr>
014.                            <td>
015.                                <asp:Label ID="lblEmpName" runat="server" Text="Employee Name" Font-Bold="true" Font-Size="X-Large"></asp:Label>
016.                            </td>
017.                            <td>
018. 
019.                            </td>
020.                            <td>
021.                                <telerik:RadComboBox ID="rcbEmployeeName" runat="server" AutoPostBack="True" DropDownAutoWidth="Enabled" DropDownWidth="300px" Height="500px" Font-Size="Larger" DataSourceID="dsEmployees" DataTextField="Name" DataValueField="BadgeId" Skin="BlackMetroTouch" Width="300px" >
022.                                   
023.                                </telerik:RadComboBox>
024.                                <asp:SqlDataSource ID="dsEmployees" runat="server" ConnectionString="<%$ ConnectionStrings:OceansideMaintSystem2015.My.MySettings.oConDev %>" SelectCommand="Select * from main.Employee where Department NOT LIKE '99' ORDER BY NAME ASC"></asp:SqlDataSource>
025.                                 
026.                            </td>
027.                            <td>
028.                                <asp:RequiredFieldValidator ID="rfvEmployeeName" runat="server" ControlToValidate="rcbEmployeeName" ErrorMessage="Required" Font-Bold="true" ForeColor="Red" Font-Size="X-Large" BackColor="Yellow"></asp:RequiredFieldValidator>
029.                            </td>
030.                        </tr>
031.                        <tr>
032.                            <td>
033.                                <asp:Label ID="lblBadgeID" runat="server" Text="BadgeID" Font-Bold="true" Font-Size="X-Large" ></asp:Label>
034.                            </td>
035.                            <td>
036. 
037.                            </td>
038.                            <td>
039.                                <telerik:RadTextBox ID="rtbBadgeID" runat="server" ReadOnly="true" AutoPostBack="true" Font-Size="Larger" Skin="BlackMetroTouch"></telerik:RadTextBox>
040.                                <asp:RequiredFieldValidator ID="rfvBadge" runat="server" ControlToValidate="rtbBadgeID" ErrorMessage="Required" Font-Bold="true" ForeColor="Red" Font-Size="X-Large" BackColor="Yellow"></asp:RequiredFieldValidator>
041.                            </td>
042.                        </tr>
043.                    </table>
044.                     
045.                </telerik:RadWizardStep>
046.                <telerik:RadWizardStep ID="rwsOpenLocation" Title="Location" StepType="Step" runat="server" Font-Bold="True" Font-Size="Medium">
047.                    <table>
048.                        <tr>
049.                            <td>
050.                                <asp:Label ID="lblArea" runat="server" Font-Bold="true" Font-Size="X-Large" Text="Area"></asp:Label>
051.                            </td>
052.                            <td>
053.                                <telerik:RadDropDownList ID="rddlArea" runat="server" AutoPostBack="true" Font-Size="Larger" DropDownWidth="300px" DropDownHeight="200px" Skin="BlackMetroTouch">
054.                                    <Items>
055.                                        <telerik:DropDownListItem runat="server" Text="Case Packing" Font-Size="Large" />                                       
056.                                        <telerik:DropDownListItem runat="server" Text="Kitchen - 2nd Floor" Font-Size="Large" />
057.                                        <telerik:DropDownListItem runat="server" Text="Making" Font-Size="Large"/>
058.                                        <telerik:DropDownListItem runat="server" Text="Offices - 1st Floor" Font-Size="Large"/>
059.                                        <telerik:DropDownListItem runat="server" Text="Offices - 2nd Floor" Font-Size="Large"/>
060.                                        <telerik:DropDownListItem runat="server" Text="Other" Font-Size="Large"/>
061.                                        <telerik:DropDownListItem runat="server" Text="Packing" Font-Size="Large"/>
062.                                        <telerik:DropDownListItem runat="server" Text="QA" Font-Size="Large"/>
063.                                        <telerik:DropDownListItem runat="server" Text="Receiving" Font-Size="Large"/>                                       
064.                                        <telerik:DropDownListItem runat="server" Text="Shipping" Font-Size="Large"/>
065.                                        <telerik:DropDownListItem runat="server" Text="Spice Room" Font-Size="Large"/>
066.                                        <telerik:DropDownListItem runat="server" Text="Tomato Inside" Font-Size="Large"/>                                       
067.                                        <telerik:DropDownListItem runat="server" Text="Tomato Making" Font-Size="Large"/>
068.                                        <telerik:DropDownListItem runat="server" Text="Tomato Outside" Font-Size="Large"/>                                       
069.                                        <telerik:DropDownListItem runat="server" Text="Vegetable Prep" Font-Size="Large"/>
070.                                    </Items>
071.                                </telerik:RadDropDownList>
072.                                <asp:RequiredFieldValidator ID="rfvArea" ForeColor="Red" Font-Bold="true" Font-Size="Larger" BackColor="Yellow" ErrorMessage="Required" ControlToValidate="rddlArea" Display="Static" runat="server"></asp:RequiredFieldValidator>
073.                            </td>
074.                        </tr>
075.                        <tr>
076.                            <td></td>
077.                            <td></td>
078.                            <td>
079.                                <asp:Label ID="lblMachine" runat="server" Font-Bold="true" Text="Machine" Font-Size="X-Large"></asp:Label>
080.                            </td>
081.                            <td>
082.                                <telerik:RadTextBox ID="rtbMachine" AutoPostBack="true" Width="222px" TextMode="MultiLine" MaxLength="250" runat="server" Height="40px" Skin="BlackMetroTouch"></telerik:RadTextBox>
083.                                <asp:RequiredFieldValidator ID="rfvMachine" ForeColor="Red" Font-Bold="true" BackColor="Yellow" Font-Size="X-Large" ErrorMessage="Required" ControlToValidate="rtbMachine" Display="Static" runat="server"></asp:RequiredFieldValidator>
084.                            </td>
085.                        </tr>
086.                        <tr>
087.                            <td>
088.                                <asp:Label ID="lblLine" runat="server" Text="Line" Font-Bold="true" Font-Size="X-Large"></asp:Label>
089.                            </td>
090.                            <td>
091.                                <telerik:RadDropDownList ID="rddlLine" AutoPostBack="true" runat="server" Font-Size="Larger" DropDownWidth="100px" DropDownHeight="150px" Skin="BlackMetroTouch">
092.                                    <Items>
093.                                        <telerik:DropDownListItem runat="server" Text="GnG" />
094.                                        <telerik:DropDownListItem runat="server" Text="LF" />
095.                                        <telerik:DropDownListItem runat="server" Text="MP-3" />
096.                                        <telerik:DropDownListItem runat="server" Text="MP-4" />
097.                                        <telerik:DropDownListItem runat="server" Text="Not Applicable" />
098.                                        <telerik:DropDownListItem runat="server" Text="Other" />
099.                                        <telerik:DropDownListItem runat="server" Text="QC8" />
100.                                    </Items>
101.                                </telerik:RadDropDownList>
102.                                <asp:RequiredFieldValidator ID="rfvLine" ForeColor="Red" Font-Bold="true" BackColor="Yellow" Font-Size="X-Large" ErrorMessage="Required" ControlToValidate="rddlLine" Display="Static" runat="server"></asp:RequiredFieldValidator>
103.                            </td>
104.                        </tr>
105.                    </table>
106.                </telerik:RadWizardStep>
107.                <telerik:RadWizardStep ID="rwsDesc" runat="server" StepType="Finish" Title="Problem Description">
108.                    <h2>Please enter a detailed description of the breakdown below.</h2>
109.                    <table>
110.                        <tr>
111.                            <td>
112.                                <telerik:RadTextBox ID="rtbBreakdownDesc" AutoPostBack="true" runat="server" TextMode="MultiLine" MaxLength="500" Wrap="true" Width="600px" Height="100px" Skin="BlackMetroTouch"></telerik:RadTextBox>
113.                                <asp:RequiredFieldValidator ID="rfvrtbBreakdownDesc" ForeColor="Red" BackColor="Yellow" Font-Size="X-Large" ErrorMessage="Required" ControlToValidate="rddlLine" runat="server"></asp:RequiredFieldValidator>
114.                            </td>
115.                        </tr>
116.                    </table>                   
117.                </telerik:RadWizardStep>
118.            </WizardSteps>
119.        </telerik:RadWizard>
120.    </form>
121.</body>


01.Protected Sub RadWizard1_FinishButtonClick(sender As Object, e As WizardEventArgs) Handles RadWizard1.FinishButtonClick
02.      Dim oCon2 As String
03.      Dim cmd2 As New SqlCommand
04. 
05.      'db stuff

38.      RadWindowManager1.RadAlert("Breakdown request submitted.", 300, 100, "Submitted", "")
39.      rtbBreakdownDesc.Text = ""
40. 
41.  End Sub
Doug
Top achievements
Rank 2
 answered on 12 Feb 2015
0 answers
83 views
We have a page with RadEditor on a tab strip. There are scenarios when RadEditor contains a lot of html and when doing a post back in order to switch the tab, all its contents is being post back to the server. This results in gigantic performance loss (there are times when post backs are sending tens of MiB of data).
Is it possible to tweak RadEditor in such a way that it does not send its contents over to server on postbacks? Our code-behind does not rely on RadEditors Content property accessor (does not read its content explicitly), only its mutator (its contents are set from within the control's code-behind).
Is it even possible to do such things with any of Telerik controls and if it is, then how do we achieve such result?

It's worth pointing out that we use relatively old Telerik version (2013.2.611.35) and we can't switch to a newer version at the moment.

Thank you in advance.
Mokona
Top achievements
Rank 1
 asked on 12 Feb 2015
0 answers
113 views
We have a page with RadEditor on a tab strip. There are scenarios when RadEditor contains a lot of html and when doing a post back in order to switch the tab, all its contents is being post back to the server. That results in gigantic performance loss (there are times when post backs are sending tens of MiB of data).
Is it possible to tweak RadEditor in such a way that it does not send its contents over to server on postbacks? Our code-behind does not rely on RadEditors Content property accessor (does not read its content explicitly), only its mutator (its contents are set from within the control's code-behind).
Is it even possible to do such things with any of Telerik controls and if it is, then how do we achieve such result?

It's worth pointing out that we use relatively old Telerik version (2013.2.611.35) and we can't switch to a newer version at the moment.

Thank you in advance.
Mokona
Top achievements
Rank 1
 asked on 12 Feb 2015
1 answer
107 views
Hello Telerik team

I am curious whether i can create a color gradient like windows 8 tiles have it.

Greetings
Thomas Luck
Marin Bratanov
Telerik team
 answered on 12 Feb 2015
1 answer
135 views
Good afternoon,

I am trying to populate the Label with more than two values from which comes Database and one value is string and one is float. I want to convert  float value  to percentage.  I tried something like this. But it is displaying dataCol1 only, also I want format dataCol2 to  percentage. How I can I achieve this.

Chart,LabelsAppearance.ClientTemplate = "#=dataItem.dataCol1#" + "<br/>" + "#=dataItem.dataCol2#"



Thanks
Danail Vasilev
Telerik team
 answered on 12 Feb 2015
1 answer
196 views
So I posted a question on the ASP.NET forums @ Microsoft and I have not gotten any useful suggestions on how to solve this issue.  I am hoping perhaps a telerik tool might be able to solve this issue...

If you know of something please point me in the right direction... 
here is the original post.. I have copied it below...

QUICK COMMENT:So I am currently trying to figure out how to use AJAX, JQUERY, BLOCKUI and ASHX handlers to generate a very large report in CSV.  The report generation is spawned by clicking on a hyperlink which will call a javascript function that will execute a AJAX call.  As of right now I get the ajax call to execute, but I have not yet figured out how to get the ajax success method to dump the report to the calling client browser yet.

How do I get the ashx handler to work with the master page to generate a report when the user clicks on the hyperlink.I can get it to work if I just route the hyper link control directly to the ashx page, but I eventually need to add code to block the UI while this report being generated.  In the ajax, I am thinking I need to do some type of action to force the browser to kick out the report.. Just not sure what...I have a master page with the following code:
<script type="text/javascript">
function startReport(result) {
$.ajax({
url: "HTTPHandlers/TagExportHandler.ashx",
context: document.body,
success: function(){
alert("done");
//Eventually put code to block UI and etc while report is rendering...
}
});
}
 
</script>


In the markup I have a asp:hyperlink control... <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/HTTPHandlers/TagExportHandler.ashx" OnClick="startReport('');">Tag Export 2</asp:HyperLink>

Then I have a ASHX control that does the following.. 
public void ProcessRequest(HttpContext context)
{
using (var db = new TIPWebITDataContext())
{
string _exportContent = "";
int[] userDepartments = ((User)HttpContext.Current.Session["currentUser"]).Departments.ToArray();
 
List<TagDetailsDepartments> tagsModelCsvDepartmentses = null;
List<TagDetailsNonDepartments> tagModelCsvNonDepartmentses = null;
 
var data = GetTagDetails(db, "");
CsvContext cc = new CsvContext();
using (var writer = new System.IO.StreamWriter(context.Response.OutputStream))
{
CsvFileDescription output = new CsvFileDescription
{
QuoteAllFields = true,
EnforceCsvColumnAttribute = true
};
 
context.Response.AddHeader("content-disposition", "attachment; filename=TagExport.csv");
context.Response.ContentType = "text/csv";
 
if (userDepartments.Count() > 1)
{
tagsModelCsvDepartmentses = ((IQueryable<TagDetailsDepartments>)data).ToList();
cc.Write(tagsModelCsvDepartmentses.ToList(), writer, output);
}
else
{
tagModelCsvNonDepartmentses = ((IQueryable<TagDetailsNonDepartments>)data).ToList();
cc.Write(tagModelCsvNonDepartmentses.ToList(), writer, output);
}
context.Response.StatusCode = 200;
cc = null;
 
writer.Flush();
output = null;
}
 
data = null;
 
 
tagsModelCsvDepartmentses = null;
tagModelCsvNonDepartmentses = null;
 
userDepartments = null;
// context.Session.Add("TagExport", "Complete");
GC.Collect();
GC.WaitForPendingFinalizers();
}
}


Warren
Marin Bratanov
Telerik team
 answered on 12 Feb 2015
3 answers
125 views
How to open radwindow on clicking the menu item from client side?
Ivan Danchev
Telerik team
 answered on 12 Feb 2015
1 answer
176 views
Hello,

I have a little problem with the RadBarcode QR-Code. I have build an webapplication (asp.net c#) to generate buisness cards and on the back of the buisness card is an vcard QR Code image. This works fine and i can scan the code with my Windows, Apple and Android device. My problem is just, that the german umlauts (üöä) isnt in the generated QR Code. I've been experimenting with the settings.
My best result is with ECIMode = ISO8859_1En, Apple and Android works but the Windows device don´t work.
With no ECIMode the german umlauts dont show on any device.

Is there any solutions or workarounds that i can do?
 
thanks

telerik version 2014.1.403.40

Vasil
Telerik team
 answered on 12 Feb 2015
10 answers
248 views
In the load on demand example, you are calling a web service with a method GetRotatorData.  the signature of GetRotatorData requires a parameter called itemindex.  I cannot see where you are setting this in the rotator defintiion or the javascript of the page.  

Can someone point me in the right direction.  We have a web service which requires us to pass in a date of the last post displayed on the page, we'd like RadRotator to get the data from the web service and then when it needs more data (load on demand) it send the max date back to the web service.

Can you provide any guidance?
arnaud
Top achievements
Rank 1
 answered on 12 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?