"Generate Local Resource" also Rewrite Telerik Tags

5 posts, 1 answers
  1. Dan
    Dan avatar
    124 posts
    Member since:
    Feb 2011

    Posted 13 May 2014 Link to this post

    In order to create a new Local Resource file (RESX), I navigate to the Designer, and use the Tools --> Generate Local Resource option.  

    The problem is that many of my telerik tags are getting rewritten during this process.  Is there a way to stop this?  

    No standard ASP controls demonstrate this behavior - so I am wonder if this is something on the Telerik side?  

    We do not use the designer view - except for this purpose - and I understand that it may just be inserting default attributes and tags that we did not write - but this adds to our code, and sometimes messes things up.

    Is there a way to disable this - or a workaround?

    For example, this:

    <telerik:RadTextBox runat="server" ID="tCurrentAgency"  Width="200px" ReadOnly="True" SkinID="defaultText">
    </telerik:RadTextBox>

    becomes this:

    <telerik:RadTextBox runat="server" ID="tCurrentAgency"
        Width="200px" ReadOnly="True" SkinID="defaultText" LabelCssClass="" LabelWidth="64px" meta:resourcekey="tCurrentAgencyResource1" Resize="None">
        <EmptyMessageStyle Resize="None" />
        <ReadOnlyStyle Resize="None" />
        <FocusedStyle Resize="None" />
        <DisabledStyle Resize="None" />
        <InvalidStyle Resize="None" />
        <HoveredStyle Resize="None" />
        <EnabledStyle Resize="None" />
    </telerik:RadTextBox>


  2. Dan
    Dan avatar
    124 posts
    Member since:
    Feb 2011

    Posted 13 May 2014 in reply to Dan Link to this post

    And this:

    <telerik:RadDatePicker runat="server" ID="dtStopDate" SkinID="defaultDate" Width="125" />

    becomes this:

    <telerik:RadDatePicker runat="server" ID="dtStopDate" SkinID="defaultDate" Width="125px" Culture="en-US" meta:resourcekey="dtStopDateResource1" >
        <Calendar EnableWeekends="True" FastNavigationNextText="&lt;&lt;" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False">
        </Calendar>
        <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" LabelWidth="64px" Width="">
            <EmptyMessageStyle Resize="None" />
            <ReadOnlyStyle Resize="None" />
            <FocusedStyle Resize="None" />
            <DisabledStyle Resize="None" />
            <InvalidStyle Resize="None" />
            <HoveredStyle Resize="None" />
            <EnabledStyle Resize="None" />
        </DateInput>
        <DatePopupButton CssClass="" HoverImageUrl="" ImageUrl="" />
    </telerik:RadDatePicker>
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 16 May 2014 Link to this post

    Hello Dan,

    The presented behavior is unexpected and it appears to be an issue with our controls. i will froward this case to our dev team so that we could revise our controls behavior in case of localization designer modifications and do the needful to fix this issue.

    Thank you for reporting this case.


    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. Dan
    Dan avatar
    124 posts
    Member since:
    Feb 2011

    Posted 25 Feb in reply to Maria Ilieva Link to this post

    Just curious... 18+ months on if a solution has been found to this problem?  Or a workaround?  
  6. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 01 Mar Link to this post

    Hi,

    Unfortunately we haven't made improvement on the designer of our controls as the last resales were mostly pointed to the mobile features of the controls. I will increase the priority of this request so that our development team can to their best to investigate it as soon as possible.
    Excuse us for any inconvenience this behavior may lead.

    Regards,
    Maria Ilieva
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017