This is a migrated thread and some comments may be shown as answers.

Executing Telerik Application

3 Answers 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tapas
Top achievements
Rank 1
Tapas asked on 18 Sep 2010, 07:40 AM
Hello everybody.
I am using Telerik in my production machine where it is installed. Now I want to know that can I execute my project designed by Telerik in another machine where visual studio is installed but Telerik is not installed? What is Telerik's portability?
Thank you.

3 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 22 Sep 2010, 01:56 PM
Hi Tapas,

You need to move the Telerik assemblies that are used in your project and you should not have any problems. If you use a WebSite template, then you can just copy the whole application to the new machine and it will work out of the box. In case that you use an WebSiteApplication template, however, you need to make sure that the path to the referenced Telerik assembly is correct.

Kind regards,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Tapas
Top achievements
Rank 1
answered on 22 Sep 2010, 02:40 PM
Thank you Fiko and others.
Yes I have added the assembly reference Telerik.Web.UI.DLL to my project. And added the required CSS files as instructed Tutorial: Creating a Custom Skin. So this way you are saying no problem will be created in future?
Also I want to share that the display of various RadControls is different in different browser. Like here is a sample login script :
             <asp:Login ID="Login1" runat="server" OnLoggedIn="Login1_LoggedIn">
<LayoutTemplate>
<table cellpadding="2px" style="margin-left:auto; margin-right:auto">
<tr>
<td align="center" colspan="2">
<asp:Label ID="LoginLable" Font-Underline="true" runat="server" ForeColor="Black"
Text="Log In">
</asp:Label>
</td>
</tr>
<tr>
<td align="left">
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" ForeColor="Black"
Text="User Name:"></asp:Label>
</td>
<td align="right">
<telerik:RadTextBox ID="UserName" runat="server" Skin="Custom" EnableEmbeddedSkins="false">
</telerik:RadTextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName"
ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="left">
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Text="Password:"
ForeColor="Black"></asp:Label>
</td>
<td align="right">
<telerik:RadTextBox ID="Password" runat="server" TextMode="Password" Skin="Custom"
EnableEmbeddedSkins="false">
</telerik:RadTextBox>
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:CheckBox ID="RememberMe" runat="server" CssClass="checkbox" Text="Keep Me Logged In" />
</td>
</tr>
<tr>
<td align="center" colspan="2" style="color: Red;">
<asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="Login1" />
</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Label ID="DontHaveAccLable" runat="server" ForeColor="Black" Text="Don't have an account?">
</asp:Label>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<asp:Button ID="RegisterButton" runat="server" OnClick="RegisterButton_Click" Text="Sign Up" />
</td>
</tr>
</table>                                           
</LayoutTemplate>
</asp:Login>

The gap between the used two RadTextBox s and associated Labels are different in firefox. In Chrome and IE8 it is okay. Is there any way to solve this problem?
0
Maria Ilieva
Telerik team
answered on 27 Sep 2010, 01:06 PM
Hello Tapas,

Note that the RadTextBox rendering has the specification to render as a span and not as a simple input on the page. In this scenario this span in collaboration with the validator's span is the reason for the behavior you have faced. Please set "Display" property of the Validators control to "Dynamic" and verify if this makes any difference. Also please find attached sample application which shows the correct behavior in such scenarios.



All the best,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Tapas
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Tapas
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or