Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
179 views

Hi Folks,

is it possible to allow only specific shape types to be resizable, i.e. rectangles can be resized, but circles not?

Best regards,
Hans

Vessy
Telerik team
 answered on 16 Dec 2016
2 answers
235 views

hi, we are facing the following issue because of using a RAD SPLITTER.

Check the attachment for the screen shot. you can see a highlighted green border with yellow shade. That part is placed as a rad-splitter like below in a master page.

telerik:RadSplitter ID="RadSplitter1" runat="server" BorderSize="0" CssClass="radsp">
<telerik:RadPane ID="RadPane1" Scrolling="Y" runat="server" ContentUrl="Dashboard.aspx" Height="100%" </telerik:RadPane>
</telerik:RadSplitter>

Using java script we are changing the contentUrl.

The purpose of using radsplitter is :
- To Avoid whole page refresh. the left pane and the top pane will stay and will not refresh every time.
- To hide the each page url.

Here is the issues that we are facing,
- Since telerik splitter renders as a iframe in run time, we are not able to make the UI responsive.
- When we zoom in or out we need to give a whole page refresh to see the whole page ( the bottom part is getting hidden.)
- And Many more...

Is there any other option to achieve this 2 points, without splitter?
- To Avoid whole page refresh. the left pane and the top pane will stay and will not refresh every time.
- To hide the each page url.

How can we have a call with telerik team about this issue and some more to be discussed. How to have a call over phone/Skype with telerik team?

 

Thanks

 

Vessy
Telerik team
 answered on 16 Dec 2016
0 answers
223 views

The column width on the Telerik Grid have plagued me for some time now. I could never set the width of the column inline for some reason.

This evening I have finally figured out what is causing my issue, and I wanted to share just in case anyone else was having this problem.

Let us take the following Grid for example;

<telerik:RadGrid ID="PersonListingRadGrid" runat="server" Height="500px" Width="500px" DataSourceID="ThisDataSource">
    <ClientSettings>                                               
        <Scrolling AllowScroll="true" ScrollHeight="552px" UseStaticHeaders="true"/>                                           
    </ClientSettings>
    <MasterTableView DataKeyNames="ID" DataSourceID="ThisDataSource" AutoGenerateColumns="False">
        <Columns>
            <telerik:GridBoundColumn DataField="ID" ReadOnly="True" HeaderText="ID" SortExpression="ID" UniqueName="ID" DataType="System.Guid" FilterControlAltText="Filter ID column" Display="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DisplayName" HeaderText="DisplayName" SortExpression="DisplayName" UniqueName="DisplayName" FilterControlAltText="Filter ID column">
                <HeaderStyle Width="75%" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="BirthDate" HeaderText="BirthDate" SortExpression="BirthDate" UniqueName="BirthDate" DataType="System.DateTime" FilterControlAltText="Filter BirthDate column">
                <HeaderStyle Width="25%" />
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

 

Notice that the first column(ID) is set to Display="false", the second and third columns both have widths, 75% and 25% respectively. If you were to run the application with the Grid the way it is, the column widths that you desire will not display correctly. When the page loads your grid will display your two columns but the problem is, your DisplayName column will be the wrong width.

The reason?

If you have to use a column in your grid, but you do not want it to display; you HAVE to put that column BENEATH the columns you wish to display. What I noticed was, in my mastertableview column stack, I had two hidden columns above the rest of my columns. The third column in the stack was the first column I styled, but for some reason it wasn't styled when I ran the application. When it displayed, my desired column was not styled but the third column was!

The columns are indexed based, and if you have set a column's display to false then they are not counted in the index. So you may have styled your third column in the markup, but when it was time to compile, the index of that column changed. The index of the styling however did not.

Andrew
Top achievements
Rank 1
 asked on 15 Dec 2016
2 answers
250 views

Hello,

I've looked through the forums with no luck for the specifics required.

I have the need to select the current row of the grid where the cell is being edited.  When using a mouse click, the desired row is selected. However, when using the Tab Key (or arrow keys), the row is not selected.  I have tried finding the proper event that has a rowindex type argument to use to select the current row, but have failed so far.

Note:  This is for a grid in Batch Edit mode, so I need to do this solely on the Client side.

Thanks in advance,

g.

Jeff
Top achievements
Rank 1
 answered on 15 Dec 2016
4 answers
225 views

One of our users pointed out the vertical scroll bar in the top half of the RadSplitter displays but is greyed out.  If the splitter is collapsed forwards and then moved back, the scroll bar becomes enabled.  This issue occurs only in Chrome.  The scroll bar appears enabled as expected in Firefox, Opera, and Safari. 

I've attached screenshots for all the browsers mentioned above.  The related code is below; I stripped out the content in the table elements since it's not relevant to the issue.  The RadPane with the ID "radpane_preview" is where the vertical scroll bar isn't working correctly.

<telerik:RadPane ID="radpane_comments_preview" runat="server" Scrolling="None" Height="355px">
    <telerik:RadSplitter ID="radsplitter_comments_preview" runat="server" Skin="Office2010Silver"
        Height="355px">
        <telerik:RadPane ID="radpane_comments" runat="server" Scrolling="None" Width="410px">
            <table class="item_meta_table"></table>
        </telerik:RadPane>
        <telerik:RadSplitBar ID="radsplitbar_comments_preview" runat="server" CollapseMode="Forward" />
        <telerik:RadPane ID="radpane_preview" runat="server" >
            <TheXXX:TheItemPreview ID="TheItemPreview" runat="server" Scrolling="Y"/>
        </telerik:RadPane>
    </telerik:RadSplitter>
</telerik:RadPane>
<telerik:RadSplitBar ID="radsplitbar_top_bottom" runat="server" CollapseMode="Forward" />
<telerik:RadPane ID="radpane_bottom" runat="server" Scrolling="None">
    <telerik:RadSplitter ID="radsplitter_bottom" runat="server" Skin="Office2010Silver">
        <telerik:RadPane ID="radpane_meta" runat="server" Width="410px">
            <TheXXX:TheItemMeta ID="TheItemMeta" runat="server" />
        </telerik:RadPane>
        <telerik:RadSplitBar ID="radsplitbar_meta_content" runat="server" CollapseMode="Forward" />
        <telerik:RadPane ID="radpane_content" runat="server" Scrolling="Y">
            <table class="xxxTable"></table>
            <asp:PlaceHolder ID="contentPlaceholder" runat="server" />
        </telerik:RadPane>
    </telerik:RadSplitter>
</telerik:RadPane>

 

Any thoughts as to why this happens in Chrome?

Thanks!

Vessy
Telerik team
 answered on 15 Dec 2016
36 answers
960 views

I am using 3 frozen columns in my grid. And then there are other columns that are dynamically added to the grid.
A horizontal scroll appears when the columns exceeds the maximum width. Till now it works great.
Now if I scroll the horizontal scroll to extreme right and resize my browser window, the horizontal scroll disappears making the the initial non frozen columns inaccessible.
This issue does not occur when forzen columns is removed.

Here is my grid's markup:

<telerik:radgrid id="pptGrid" runat="server" height="450px" Width="1024px" CssClass="pptGrid" OnItemDataBound="pptGrid_ItemDataBound" AutoGenerateColumns="false">
    <HeaderStyle CssClass="centeredTableHeader"></HeaderStyle>
    <ItemStyle CssClass="pptGridItem"></ItemStyle>
    <AlternatingItemStyle CssClass="pptGridItem"></AlternatingItemStyle>
    <ClientSettings Scrolling-AllowScroll="True">
        <Resizing AllowColumnResize="False" EnableRealTimeResize="false" ClipCellContentOnResize="false">
        </Resizing>
        <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" FrozenColumnsCount="3" EnableVirtualScrollPaging="true">
        </Scrolling>
        <ClientEvents OnGridCreated="scrollDiv" />
    </ClientSettings>
      
    <MasterTableView autogeneratecolumns="false" TableLayout="fixed">
        <Columns>      
                
        </Columns>
    </MasterTableView>
    <HeaderContextMenu EnableAutoScroll="True">
    </HeaderContextMenu>
</telerik:radgrid>

Is there any additional property setting I need to use? Please suggest ?
Alfonso
Top achievements
Rank 1
 answered on 15 Dec 2016
1 answer
95 views

Hi

 

i have a problem with the RadCalendar:

when it is initially opened from a mobile device in portrait mode, it shows ok.

when it is initially opened from a mobile device in landscape mode, it shows ok

however, if it is opened in portrait mode and then orientation changes to landscape, the calendar stays in portrait and is shown on its side.

the same happens if we start at landscape and change to portrait.

 

I've tried hiding the calendar on orientation change event, but after reopening it is still showing sideways.

 

you can see in the attached file the result.

 

any ideas how to fix, or how to reset the orientation ?

 

thanks,

 

snir

 

Vasil
Telerik team
 answered on 15 Dec 2016
5 answers
229 views

Hi,

I'm trying to resolve an accessibility issue with the raddatepicker control.  I ran across the below page discussing it's compliance.  

https://demos.telerik.com/aspnet-ajax/datepicker/accessibilityandinternationalization/wcag2.0andsection508accessibility/defaultcs.aspx

But when you click on the link to test compliance using the wave tool, it shows errors.  Specifically, an empty TH element in the first row of the calendar (to the left of the "Sunday" heading, and above the week number).

 

To complicate my situation, the calendar is automatically generated in a grid for filtering a date column, and the columns are dynamically generated.  I've got code that finds the correct control during the item created event for the filter item.  But setting the EnableAriaSupport still has the same accessibility error shown on your demo page.  Is there another property that will address this?

 

The column with the empty TH is the week number.  An option for me might be to remove the week number column.  Is there a setting to do that or can you suggest some sample code for doing that?

 

Thanks,

 

 

Daniel
Telerik team
 answered on 15 Dec 2016
3 answers
132 views

When I insert a link into the editor, the & characters in the query string are getting converted to &amp;

Mostly, I don't mind - the links still work on web pages. However, in some email clients (looking at you, Outlook...) the &amp; entities break the link

I am not using the ConvertCharactersToEntities filter

Is there a way I can prevent this from happening?

I tried this on the content filter demo - I turned off ConvertCharactersToEntities and characters still got converted

Vessy
Telerik team
 answered on 15 Dec 2016
3 answers
201 views

I am using the Diagram-app sample to build my application. I need add option to change text from Shape.

 

I added the code:

 

<div class="configRow">
    <label class="configLabel">Texto</label>
    <div class="configControlContainer">
        <telerik:RadTextBox ID="shapeText" runat="server" EnabledStyle-HorizontalAlign="Right" MaxLength="50" MinValue="0" Width="110px">
            <ClientEvents OnBlur="updateShapeText" />
        </telerik:RadTextBox>
    </div>
</div>

 

But the client function "updateShapeText"​ not work !!!

 

 function updateShapeText(sender, args) {

        if (skipShapeConfigEvent) {
            return true;
        }
        var diagram = getDiagram();
        selection = diagram.select();

        selection[0].shapeVisual.options.content.text = sender.get_value();
    }​

 

Could you help me ?

Bhavya
Top achievements
Rank 1
 answered on 15 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?