Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
38 views
Hi,

When using the scheduler in the week view (mo - fr) (what most of us do), it's difficult to see which timeslot you have selected when mo - th is completely full with appointments (see attachment).

Is there a way to show the hours column also on the right side of the scheduler?
If not, how can we easily show the user the time of the timeslot he is using (tooltip or indicator on the hourscolumn or ????)

Thanks and best regards,
Egbert
Nencho
Telerik team
 answered on 13 Jan 2014
3 answers
200 views
Chrome 31 causes (some of) the RadEditor dialogs to break - they become very small and unusable when the content is received: http://screencast.com/t/XYWdPxSYloE.

This seems to be a browser issue and it does not manifest with the next official beta. The investigation is ongoing and if the problem is not fixed in the next official Chrome release fixes will be considered in our source code.

In the meantime, there are two possible workarounds:

1) force a resizing of the dialog when the command is executed:
<telerik:RadEditor runat="server" ID="RadEditor1"
    OnClientCommandExecuted="editorCommandExecuted">
</telerik:RadEditor>
<script type="text/javascript">
    function editorCommandExecuted(editor, args) {
        if (!$telerik.isChrome)
            return;
        var dialogName = args.get_commandName();
        var dialogWin = editor.get_dialogOpener()._dialogContainers[dialogName];
        if (dialogWin) {
            var cellEl = dialogWin.get_contentElement() || dialogWin.ui.contentCell || dialogWin.ui.content,
            frame = dialogWin.get_contentFrame();
            frame.onload = function () {
                cellEl.style.cssText = "";
                dialogWin.autoSize();
            }
        }
    }
</script>


OR

2) use browser windows instead of RadWindows for the dialogs:
<asp:ScriptManager runat="server" />
<telerik:RadEditor runat="server" ID="RadEditor1"
    OnClientLoad="OnClientLoad">
</telerik:RadEditor>
<script type="text/javascript">
    function OnClientLoad(editor) {
        if ($telerik.isChrome)
            editor.set_useClassicDialogs(true);
    }
</script>

MailUp Dev
Top achievements
Rank 1
 answered on 13 Jan 2014
2 answers
212 views
We are seeing the active tab change after onBeforeUnload client side event (clicking cancel to prevent postback) then clicking to save (causing postback)

We are adding a client side event [window.onbeforeunload] to handle the user exiting before saving. This will prompt the user to [OK or Cancel to lose changes] when they click away when editing. Testing this if we click on another tab it will prompt us and then we cancel. So far this works correctly. We stay on the same screen and tab and are still in edit mode. But when I click save it will save but then the active tab changes, it gets highlighted. The tab switched to is the one we click to initiate the ok/cancel. So it is as if the active/tab was stored around the time onBeforeUnload fired, then changed when it posted back.

Events.
1. On tab Go into edit mode which assigns  window.onbeforeunload event handler
2. Try to click into the second top level tab
3. we see the handler popup with ok/cancel to move and possible lose changes
4. click Cancel so don't move. Everything looks ok now.
5. Click save on the same page/tab which removes the event handler and posts back to save
6. We stay on the same page but the active tab changes to the second top level tab. We stay on the same page but its just the high-lighted tab that appears wrong.

I'm wondering if some radTabStrip events fire before window.OnBeforeUnload that save the active tab, even though we cancel (choose not to move) it will set that new tab on the next post back ?. Maybe there is a different event (prior to onBeforeUnload) that I must capture before the active-tab is changed.

On postback I may be able to check that the active tab matches the page and change the active tab but I'd prefer a cleaner solution.
Nencho
Telerik team
 answered on 13 Jan 2014
1 answer
113 views
I have a very simple RadGrid (no filters or edit template) inside a RadAjaxpanel and it renders fine on IE. But on Chrome the column widths are not assigned at all and the whole table expands assuming some random widths for the columns. Here is my grid declaration.
I've also attached how it looks on both IE and Chrome.

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" OnAjaxRequest="RadAjaxPanel1_AjaxRequest">
    <div id="DivDetailGrid" style=" height:210px; display:none">
        <asp:Panel ID="Panel2" runat="server">  
            <telerik:RadGrid ID="SeriesGrid" runat="server" Skin="Gray" EnableViewState="false" AutoGenerateColumns="False" EnableEmbeddedSkins="False" AllowPaging="False" AllowSorting="true" GridLines="None" OnNeedDataSource="SeriesGrid_NeedDataSource" OnItemDataBound="SeriesGrid_ItemDataBound" Height="380px">
                <ClientSettings>
                    <Selecting AllowRowSelect="false" />
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="false" />
                    <ClientEvents OnGridCreated="detailCreated" />
                </ClientSettings>
                <MasterTableView TableLayout="Fixed" ClientDataKeyNames="Cusip" >
                    <Columns>                                                
                        <telerik:GridBoundColumn DataField="Cusip" HeaderText="Cusip" HeaderStyle-Width="82px" ></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Links" UniqueName="links" HeaderText="Links" HeaderStyle-Width="62px" ></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Coupon" HeaderText="Cpn" HeaderStyle-Width="42px" ></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="MaturityDate" HeaderText="Stated Maturity" HeaderStyle-Width="92px" ></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="NextCallDate" HeaderText="Next Call Date" HeaderStyle-Width="92px" ></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="RefundStat" HeaderText="Refund Stat" HeaderStyle-Width="57px" ></telerik:GridBoundColumn>                                                            
                        <telerik:GridBoundColumn DataField="EffectiveMaturityDate" HeaderText="Effective Maturity" ></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="muni_issue_yld" HeaderText="Issue Yld" HeaderStyle-Width="58px" ></telerik:GridBoundColumn>                                                            
                        <telerik:GridBoundColumn DataField="spread_to_mmd" HeaderText="Spread to MMD" HeaderStyle-Width="66px"  DataFormatString="{0:N0}" ></telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn DataField="MaturitySize" HeaderText="Maturity Size (000s)" HeaderStyle-Width="82px"  DataFormatString="{0:N0}" ></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="AMT_OUTSTANDING" HeaderText="Amt Outst (000s)" HeaderStyle-Width="87px" DataFormatString="{0:N0}" ></telerik:GridBoundColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
        </asp:Panel>
    </div>
</telerik:RadAjaxPanel>

Venelin
Telerik team
 answered on 13 Jan 2014
2 answers
58 views
Hi,

I want to show filter on column, but hide column header where it shows column name, Is this possible ?
I added ShowHeader="False", but now filter is also not visible. I want filter only to show.

Regards
Arijit
arijit
Top achievements
Rank 1
 answered on 13 Jan 2014
1 answer
70 views
Hello,

I am having trouble getting my RadGrid to go to 100% height.

The RadGrid is set to 100% and to allowscrolling with a scroll height of 100%.

The RadGrid is inside a Pageview > MultiPage > AjaxPanel > Form > Body > HTML - all of which are 100%.

Am I missing something stupid here? Please help!

Regards, Paul.
Venelin
Telerik team
 answered on 13 Jan 2014
1 answer
36 views
Hi,
I've a grid with filters, groups and pages enabled.
Everythings works perfectly on Visual Studio 2010 but when I publish it or when I try it on my local IIS, filters, groups and pages don't work fine. The grid is refreshed but nothing changed.

This grid is in the first page on my website.
I noticed if I click on my menu "home" and I reload the page grid starts to work.

Thanks


EDIT
I found the solution here
http://www.telerik.com/community/forums/aspnet-ajax/ajax/net-version-problem.aspx
Maria Ilieva
Telerik team
 answered on 13 Jan 2014
4 answers
247 views
Hi,
                  validation on Radlistbox and if list box checkbox not checked show error message on button click.

Thanks,
Rahul
Aneliya Petkova
Telerik team
 answered on 13 Jan 2014
4 answers
170 views
Hi,

I know this is kinda a dumb question and maybe is more related to web development than related to telerik but the question is simple...
I have a WebUserControl or better a description an EditUserControl which is called/referenced from RadGrid everytime someone executes de Edit Command on the RadGrid.
This Radgrid is on page controlled by a Master Page which have three simple basic content place holder (head,body,footer), normally i will just add jquery to the script manager (or this case the radscriptmanager) and start developing normally with jquery.
I know and have read how to use jquery by using the self-calling ($telerik.$) anonymous function but i can fire-up any event, even try to do a simple alert and it wont work, my question is  simpler...

How can i execute javascript/jquery inside a WebUserControl.

Regards
Radoslav
Telerik team
 answered on 13 Jan 2014
1 answer
319 views
I would like to know how to access the textbox element in Edit Template. 

Consider I am having 2 Text Boxes and a Button in Edit Template. OnClick of the Button I have to get the text value from one textbox and have to do the some logic on the back end and would give result on the other Textbox. Here my problem is I couldn't access the element id of the TextBox in the back end. Even Page.FindControls("txtboxid") (during the edit mode)  returns a null and even I couldn't access the clientID of the control in the javascript as it returns a compilation error.

I hope you understand my query and let me know what is the solution for this,
Princy
Top achievements
Rank 2
 answered on 13 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?