Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
67 views
For UX it is interesting flag the error with a visual signal, RadInputControl has .Invalid method that runs fine for this purpose.

I miss this functionality in other controls, I know than RadDatePicker has DateInput that implements .Invalid, but they are controls that don't has this possibility (as RadButton) 

Would be wonderful that all controls implement .Invalid, in this way when a validation error raises from, for example dbcontext, I can flag error in form.

Is there a workaround for other controls?
Konstantin Dikov
Telerik team
 answered on 17 Jun 2014
10 answers
676 views
I have a checkboxlist inside a div:

<div style="overflow:auto; height: 250px;"
                        <asp:CheckBoxList ID="cblStaff" runat="server" RepeatColumns="5" CellSpacing="25" DataTextField="FullName" DataValueField="Email" /> 
                        </div> 

this works fine.  When I add the formdecorator to the page I now get a lot of white space being added to the end of the page.  When you click on a checkbox that you had to scroll to inside the div, the page jumps down into the white space (I assume where the checkbox would have been rendered if the overflow:auto was not there).

Any ideas how to overcome this?  I am using 2008.2.723.35

Thanks

-Brent


ortal
Top achievements
Rank 1
 answered on 17 Jun 2014
10 answers
358 views
Hi

I am using VS 2008 SP1 with telerik 2008 Q2. I created a small project and published it. I copied all the files to production site, but i am getting error as "Sys is Undefined". I googled(telerik forums also) and binged it, but i didnt got any solution for this. After searching i did these things

1) Created a small project and published in Release mode with one label and RadscriptManager

My Web.config File is like this 

<?xml version="1.0"?>
<configuration>
  <configSections>
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
        </sectionGroup>
      </sectionGroup>
    </sectionGroup>
  </configSections>
  <appSettings />
  <connectionStrings />
  <system.web>
    <!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        -->
    <compilation debug="true">
      <assemblies>
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  
      </assemblies>
    </compilation>
    <!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
    <customErrors mode="Off"></customErrors>
    <!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.


        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
    <pages>
      <controls>
        <!--<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />-->
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <!--<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions,  Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />-->
      </controls>
    </pages>
    <httpHandlers>
      <remove verb="*" path="*.asmx" />
      
      <!--<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />-->
      
      
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions,Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions,  Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />


    </httpHandlers>
    <httpModules>
      <!--<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />-->
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </httpModules>
  </system.web>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
        <providerOption name="CompilerVersion" value="v3.5" />
        <providerOption name="WarnAsError" value="false" />
      </compiler>
    </compilers>
  </system.codedom>
  <!-- 
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules>
      <remove name="ScriptModule" />
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>
  </system.webServer>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
 <location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
</configuration>

But nothing i got ..will anyone please help me ...this is really urgent

Regards
Bhuvan
Bozhidar
Telerik team
 answered on 17 Jun 2014
1 answer
103 views
Hi,

I have a grid like this ,


<GullsEye:GullsEyeGrid AllowPaging="true" AllowSorting="true"   PageSize="10" runat="server" ID="RadPortCheckInRequest" AutoGenerateColumns="false" <br>            AllowMultiRowSelection="false"  OnNeedDataSource="RadPortCheckInRequest_NeedDataSource"  OnItemCommand="RadPortCheckInRequest_ItemCommand" ><br><br>            <MasterTableView> <%--DataKeyNames="Id" AutoGenerateColumns="false">--%><br>                <Columns><br>                 <br>                    <telerik:GridBoundColumn DataField="RequestCode" HeaderText="<%$Resources:ContentResource, RequestCode%>" DataType="System.String"></telerik:GridBoundColumn><br>                    <telerik:GridDateTimeColumn DataField="RequestDate" HeaderText="<%$Resources:ContentResource, RequestDate%>" DataFormatString="{0:dd/MM/yyyy}"></telerik:GridDateTimeColumn><br>                    <telerik:GridBoundColumn DataField="AgentCode" HeaderText="<%$Resources:ContentResource, AgentCode%>" DataType="System.String"></telerik:GridBoundColumn><br>                    <telerik:GridBoundColumn DataField="LinerCode" HeaderText="<%$Resources:ContentResource, LinerCode%>" DataType="System.String"></telerik:GridBoundColumn><br>                    <telerik:GridBoundColumn DataField="VesselName" HeaderText="<%$Resources:ContentResource, VesselName%>" DataType="System.String"></telerik:GridBoundColumn><br>                    <telerik:GridBoundColumn DataField="BerthingRequestArrivalTrip" HeaderText="<%$Resources:ContentResource, ArrivalTrip%>" DataType="System.String"></telerik:GridBoundColumn><br>                    <telerik:GridBoundColumn DataField="BerthingRequestDepartureTrip" HeaderText="<%$Resources:ContentResource, DepartureTrip%>" DataType="System.String"></telerik:GridBoundColumn><br>                    <telerik:GridBoundColumn DataField="RequestAgentReferenceNumber" HeaderText="<%$Resources:ContentResource, RequestAgentReferenceNumber%>" DataType="System.String"></telerik:GridBoundColumn><br>                    <telerik:GridBoundColumn DataField="Status" HeaderText="<%$Resources:ContentResource, Status%>" DataType="System.String"></telerik:GridBoundColumn><br>                    <telerik:GridTemplateColumn UniqueName="Sennur" ShowFilterIcon="false" ShowSortIcon="false"  ><br>                                                    <ItemTemplate><br>                                                        <asp:LinkButton   ID="LinkButtonShow"  runat="server" Text="<%$Resources:ContentResource, Detail%>" CausesValidation="false"<br>                                                            CommandArgument='<%# DataBinder.Eval(Container.DataItem,"Id") %>'<br>                                                            CommandName="ShowDetailCommand"  /><br>                                                    </ItemTemplate><br>                                                </telerik:GridTemplateColumn>        <br>                </Columns><br>            </MasterTableView><br>        </GullsEye:GullsEyeGrid>


and code behind of this asp is ,

protected void RadPortCheckInRequest_ItemCommand(object sender, GridCommandEventArgs e)<br>        {<br>            if (e.Item != null)<br>            {<br>                if (e.Item is Telerik.Web.UI.GridDataItem && (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem))<br>                {<br>                    if (e.CommandName == "ShowDetailCommand")<br>                    {<br>                        Guid requestId = new Guid(e.CommandArgument.ToString());<br>                        if (Guid.Empty != requestId)<br>                        {<br><br>                            string url = ConfigurationManager.AppSettings["WebSiteUrl"] + "/View/Request/RequestDetail.aspx?RequestId=" + requestId.ToString();<br>                            RadWindow foundedWindow = (RadWindow)Master.FindControl("RadPopup");<br>                            INavigationService navigationService = ServiceFactory.GetInstance().GetService<INavigationService>();<br>                            navigationService.OpenPopup(url, foundedWindow, true);<br>                        }<br>                    }<br><br><br>                }<br> }

When i first sort a column it works fine and after that click Detail button in ItemTemplateColumn it shows Detail Popup.
But the problem is that after detail Popup shown, when i  try to sort a column it pops up Detail screen everytime.

Can you help me with this situation?

Regards..

<div class="reCodeBlock" style="border:solid 1px #7f9db9;width:1;height:1;overflow-y:auto;"><div style=" background-color: #fff;"><span style=" "><span style=" margin-left: 0px !important;"><code style="color: #000;"><</code><code style="color: #069;font-weight: bold;">GullsEye:GullsEyeGrid</code> <code style="color: #808080;">AllowPaging</code><code style="color: #000;">=</code><code style="color: blue;">"true"</code> <codestyle="color: #808080;">AllowSorting</code><code style="color: #000;">=</code><code style="color: blue;">"true"</code>   <code style="color: #808080;">PageSize</code><code style="color: #000;">=</code><code style="color: blue;">"10"</code> <code style="color: #808080;">runat</code><code style="color: #000;">=</code><code style="color: blue;">"server"</code> <code style="color: #808080;">ID</code><code style="color: #000;">=</code><codestyle="color: blue;">"RadPortCheckInRequest"</code> <code style="color: #808080;">AutoGenerateColumns</code><codestyle="color: #000;">=</code><code style="color: blue;">"false"</code> <code style="color: #000;"><br>            AllowMultiRowSelection="false"  OnNeedDataSource="RadPortCheckInRequest_NeedDataSource"  OnItemCommand="RadPortCheckInRequest_ItemCommand" ><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>            <</code><code style="color: #069;font-weight: bold;">MasterTableView</code><code style="color: #000;">> <%--DataKeyNames="Id" AutoGenerateColumns="false">--%><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                <</code><code style="color: #069;font-weight: bold;">Columns</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                 <</code><code style="color: #069;font-weight: bold;">br</code><codestyle="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code> <code style="color: #808080;">DataField</code><code style="color: #000;">=</code><code style="color: blue;">"RequestCode"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, RequestCode%>" DataType="System.String"></</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridDateTimeColumn</code> <code style="color: #808080;">DataField</code><code style="color: #000;">=</code><code style="color: blue;">"RequestDate"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, RequestDate%>" DataFormatString="{0:dd/MM/yyyy}"></</code><code style="color: #069;font-weight: bold;">telerik:GridDateTimeColumn</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code> <code style="color: #808080;">DataField</code><codestyle="color: #000;">=</code><code style="color: blue;">"AgentCode"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, AgentCode%>" DataType="System.String"></</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code> <code style="color: #808080;">DataField</code><code style="color: #000;">=</code><code style="color: blue;">"LinerCode"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, LinerCode%>" DataType="System.String"></</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code> <code style="color: #808080;">DataField</code><code style="color: #000;">=</code><code style="color: blue;">"VesselName"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, VesselName%>" DataType="System.String"></</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code> <code style="color: #808080;">DataField</code><code style="color: #000;">=</code><code style="color: blue;">"BerthingRequestArrivalTrip"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, ArrivalTrip%>" DataType="System.String"></</code><codestyle="color: #069;font-weight: bold;">telerik:GridBoundColumn</code><code style="color: #000;">><</code><codestyle="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><codestyle="color: #069;font-weight: bold;">telerik:GridBoundColumn</code> <code style="color: #808080;">DataField</code><code style="color: #000;">=</code><code style="color: blue;">"BerthingRequestDepartureTrip"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, DepartureTrip%>" DataType="System.String"></</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code> <code style="color: #808080;">DataField</code><code style="color: #000;">=</code><code style="color: blue;">"RequestAgentReferenceNumber"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, RequestAgentReferenceNumber%>" DataType="System.String"></</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code> <code style="color: #808080;">DataField</code><codestyle="color: #000;">=</code><code style="color: blue;">"Status"</code> <code style="color: #000;">HeaderText="<%$Resources:ContentResource, Status%>" DataType="System.String"></</code><code style="color: #069;font-weight: bold;">telerik:GridBoundColumn</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                    <</code><code style="color: #069;font-weight: bold;">telerik:GridTemplateColumn</code> <code style="color: #808080;">UniqueName</code><code style="color: #000;">=</code><code style="color: blue;">"Sennur"</code> <code style="color: #808080;">ShowFilterIcon</code><codestyle="color: #000;">=</code><code style="color: blue;">"false"</code> <code style="color: #808080;">ShowSortIcon</code><code style="color: #000;">=</code><code style="color: blue;">"false"</code>  <codestyle="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                                                    <</code><code style="color: #069;font-weight: bold;">ItemTemplate</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                                                        <</code><codestyle="color: #069;font-weight: bold;">asp:LinkButton</code>   <code style="color: #808080;">ID</code><codestyle="color: #000;">=</code><code style="color: blue;">"LinkButtonShow"</code>  <code style="color: #808080;">runat</code><code style="color: #000;">=</code><code style="color: blue;">"server"</code> <codestyle="color: #000;">Text="<%$Resources:ContentResource, Detail%>" CausesValidation="false"<</code><codestyle="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                                                            CommandArgument='<%# DataBinder.Eval(Container.DataItem,"Id") %>'<</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                                                            CommandName="ShowDetailCommand"  /><</code><code style="color: #069;font-weight: bold;">br</code><codestyle="color: #000;">>                                                    </</code><code style="color: #069;font-weight: bold;">ItemTemplate</code><code style="color: #000;">><</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                                                </</code><codestyle="color: #069;font-weight: bold;">telerik:GridTemplateColumn</code><code style="color: #000;">>        <</code><code style="color: #069;font-weight: bold;">br</code><code style="color: #000;">>                </</code><code style="color: #069;font-weight: bold;">Columns</code><code style="color: #000;">><</code><codestyle="color: #069;font-weight: bold;">br</code><code style="color: #000;">>            </</code><codestyle="color: #069;font-weight: bold;">MasterTableView</code><code style="color: #000;">><</code><codestyle="color: #069;font-weight: bold;">br</code><code style="color: #000;">>        </</code><code style="color: #069;font-weight: bold;">GullsEye:GullsEyeGrid</code><code style="color: #000;">></code></span></span></div></div>

Viktor Tachev
Telerik team
 answered on 17 Jun 2014
3 answers
361 views
We are using the Editor as the WYSIWYG for our client CMS. I am trying to make the layout inside the Editor window look as close to the real site as possible, so I am using the <CssFiles> feature to include some CSS, and the <classes> feature in the toolset XML to add custom classes to the Apply CSS Class menu. However, when I try to add new classes or edit old ones in the toolset XML, they are not getting picked up by the editor when I refresh the page.

Here is the code I am using to pull in CSS files into the editor window:
<CssFiles>
  <telerik:EditorCssFile Value="~/_EditorToolSets/bootstrap.css" />
  <telerik:EditorCssFile Value="~/_EditorToolSets/editor2.css" />
</CssFiles>

Bootstrap.css is the framework styles, the fonts css is for webfont support, and editor2.css is to define the custom styles I want the client to see in the window.

Here is the code from the toolset XML:
<classes>
<class name="Lead Paragraph" value=".lead" />
<class name="CAC Image" value=".cac-img" />
<class name="CAC Button" value=".cac-btn" />
</classes>

The only one that is working is the "Lead Paragraph" style. The others do not appear in the dropdown no matter what I do. I have tried changing the name of the toolset file to force a recache; cleaning and rebuilding the solution; and of course, viewing the page in a new browser to bypass cache issues.

Is there some kind of syntax rule I'm not aware of? Or limitations to the style sheets that can be added to the editor window using the <CssFiles> feature?
Ianko
Telerik team
 answered on 17 Jun 2014
1 answer
109 views
Using 2014.1.403. In the image properties dialog, the icon for the option to constrain the image aspect ratio is missing. The browser loads the icon image from http://d35islomi5rx1v.cloudfront.net/ajaxz/2014.1.403/Common/CommonIcons.gif. The section with the constrain icons is empty. Your demo site pulls the image from a resource, and it is complete.

As a workaround, I took a local copy of the correct image, and added css to SetImageProperties.aspx to use my local copy.

I also modified this file to change the default setting of this button to constrain the size, which I think is more useful to users.
Ianko
Telerik team
 answered on 17 Jun 2014
2 answers
128 views
Hello, 

This is my first usage of PageLayout control.

I used the provided codes from this page: http://www.telerik.com/help/aspnet-ajax/page-layout-responsive-design-overview.html and run my website from my computer. It display correctly and when I resize the browser window it works well (e.g. 3 blocks from 2nd row changed to 1).

[IMG]http://i58.tinypic.com/2w4wtia.png[/IMG]

But when I publish this site to web server and when I browse it through my phone, it did not responsive as there is still 3 blocks in 2nd row.

[IMG]http://i60.tinypic.com/i25bvc.png[/IMG]

What did I miss? Is there any code that I need to tell PageLayoutControl that this is PC, this is Phone, etc.. ?

Thanks in advanced,
Robin
Ivan Zhekov
Telerik team
 answered on 17 Jun 2014
5 answers
159 views
Hi  -- I just updated to latest release yesterday and this morning I notice that all my menus do not show separator items anymore for the default skin -- I must change to another skin like windows 7 for them to show.

Is it me or is there a problem with latest release?
Ivan Zhekov
Telerik team
 answered on 17 Jun 2014
7 answers
369 views
hi,

  if i want to disable the option of rename how can i do it??means when the user right clicks the file the rename option should be disable.........how can i do it??secondly if i want to disable the rename option on directory which starts with name shortcuts how can i do it??

regards

samee javaid 
Princy
Top achievements
Rank 2
 answered on 17 Jun 2014
14 answers
781 views
    protected void ddlMake_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)  
    {  
        ViewState["Make"] = e.Text;  
    } 

Forgive me if this is an extremely easy question but for some reason I cannot get the SelectedValue rather than the SelectedText from the RadCombo in the SelectedIndesChanged event.  Can someone please help me find where this may be?  e.Text is the only thing that appears to be accessible.  My ID values are the hidden piece I need.

Thanks in advance.
Doug

Shinu
Top achievements
Rank 2
 answered on 17 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?