Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
193 views

I have a radgrid asp.net control and in it I'm editing the rows on the server side.
I want to know in the client side in case the user tries to close the screen before saving/discarding changes in the grid.

I found some explenations on how to do this using : get_masterTableView 

However, since I'm not editing in client side, calling this function
results in an exception (inside it there is a call to get_id that fails).

How can I know if the grid is in edit mode or not on the client side?

Thanks,
Omer

I have a radgrid asp.net control and in it I'm editing the rows on the server side. I want to know in the client side in case the user tries to close the screen before saving/discarding changes in the grid.

I found some explenations on how to do this using : get_masterTableView

However, since I'm not editing in client side, calling this function results in an exception (inside it there is a call to get_id that fails).

How can I know if the grid is in edit mode or not on the client side?

Thanks, Omer

I have a radgrid asp.net control and in it I'm editing the rows on the server side. I want to know in the client side in case the user tries to close the screen before saving/discarding changes in the grid.

I found some explenations on how to do this using : get_masterTableView

However, since I'm not editing in client side, calling this function results in an exception (inside it there is a call to get_id that fails).

How can I know if the grid is in edit mode or not on the client side?

Thanks, Omer

Maria Ilieva
Telerik team
 answered on 21 Oct 2013
1 answer
112 views
Hi

Is it possible to populate the drop-down from data source only after the user entering 3 characters?

Thanks for replies
Jane
Shinu
Top achievements
Rank 2
 answered on 21 Oct 2013
4 answers
168 views
If I take a few inputs and wrap a RadAjaxPanel around them then I receive the values of the inputs in the callback.

But if I call .dialog() on the Div the values return their default values.

For example this works great:

<telerik:RadAjaxPanel runat="server" ID="rapTest" LoadingPanelID="RALPDash">
    <asp:TextBox ID="txtTest" runat="server" Width="200"></asp:TextBox>
    <asp:Button runat="server" ID="btnTest" Text="Test RAP" />
</telerik:RadAjaxPanel>

But if I do the below in markup and then call the Javascript below that I receive a txtTest.Text with a blank string.  The dialog appears when I open it, the load panel appears when I click the Test button and everything appears to work great but the txtTest.Text string is blank.  If I give txtTest a value in HTML markup then I receive that value instead of what type into it before I hit the Test button.

I have also tried jquery-1.10.2.min.js.  Thanks in advance!

<div id="dlgTest" title="Prospect Edit">
<telerik:RadAjaxPanel runat="server" ID="rapTest" LoadingPanelID="RALPDash">
    <asp:TextBox ID="txtTest" runat="server" Width="200"></asp:TextBox>
    <asp:Button runat="server" ID="btnTest" Text="Test RAP" />
</telerik:RadAjaxPanel>
</div>

$("#dlgTest").dialog({
    autoOpen: false,
    height: 400,
    width: 600,
    modal: true,
    buttons: {
        "Cancel": function () {
            $(this).dialog("close");
        }
    },
    close: function () {
    }
});


Ken
Top achievements
Rank 1
 answered on 21 Oct 2013
1 answer
131 views
Are there any plans to add flash fallback support? I can't even consider using this control without it as I need to be able to support non-HTML5 browsers as well.
Tsvetoslav
Telerik team
 answered on 21 Oct 2013
3 answers
226 views
Hello all,

I have a request to allow the user to search the Grid Date Column  by just entering the Month Name or Number from the Date part, and search the results.

I had tried some code for Custom filters..but I did not get the desired result.

Please find the screen shot for the above scenario.

Any suggestions are welcome.

Thank You

Radoslav
Telerik team
 answered on 21 Oct 2013
2 answers
141 views
I am having issues with focusing the Radmenu using access keys in chrome browser.
It is working fine in internet explorer and Mozilla Firefox but not at all in chrome. Only the tab and arrow key navigation is working.

I checked the demo here but this is also not working in chrome. 

http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/keyboardsupport/defaultcs.aspx

I am using chrome Version 30.0.1599.101 m

Please let me know if there is any fix available for this issue.

Thanks
Gaurav
Gaurav
Top achievements
Rank 1
 answered on 21 Oct 2013
3 answers
139 views
Hello,

I was wondering whether I am able to do batch input with auto-generated columns?

This is my grid declaration.

<telerik:RadGrid ID="rgTimeDetails" runat="server" OnNeedDataSource="rgTimeDetails_NeedDataSource" OnColumnCreated="rgTimeDetails_ColumnCreated" CellSpacing="0" GridLines="None">
<MasterTableView EditMode="Batch" CommandItemDisplay="Top" DataKeyNames="timeid,staffid">
<BatchEditingSettings OpenEditingEvent="DblClick" EditType="Row" />
</MasterTableView>
</telerik:RadGrid>

Whenever I click new row, a row appears but it is empty - no textboxes or anything. Am I missing something?

Regards, Paul.
Princy
Top achievements
Rank 2
 answered on 21 Oct 2013
1 answer
574 views
Hi, 
I am trying RequiredFieldValidator with RadDropDownList but i cannot manage to capture when no item is selected.
Please, see below the code which implements it. 
It is possible that setting DefaultMessage causes that always there is an item selected and requiredfieldvalidator never notifies that?


<
telerik:RadDropDownList ID="Indicator_Period" runat="server" DefaultMessage="Select period">
                                    <Items>
                                        <telerik:DropDownListItem Text="Dayly" Value="d" />
                                        <telerik:DropDownListItem Text="Monthly" Value="m" />
                                        <telerik:DropDownListItem Text="Bimonthly" Value="b" />
                                        <telerik:DropDownListItem Text="Three-monthly" Value="t" />
                                        <telerik:DropDownListItem Text="Four-monthly" Value="c" />
                                        <telerik:DropDownListItem Text="Six-monthly" Value="s" />
                                        <telerik:DropDownListItem Text="Yearly" Value="a" />
                                    </Items>
                                </telerik:RadDropDownList>
                                <asp:RequiredFieldValidator ID="Indicator_Period_RequiredFieldValidator" runat="server" ErrorMessage="*" ControlToValidate="Indicator_Period" ValidationGroup="AddIndicatorValidationGroup" ForeColor="Red"></asp:RequiredFieldValidator>
 
<telerik:RadButton ID="RadButton1" runat="server" Text="Save" ButtonType="StandardButton"
        OnClick="SaveIndicator" ValidationGroup="AddIndicatorValidationGroup">
        <Icon PrimaryIconCssClass="rbSave" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
    </telerik:RadButton>
Shinu
Top achievements
Rank 2
 answered on 21 Oct 2013
1 answer
103 views
Hi,

I am using a RAD TreeView which is a data bound treeview. I need to get its Setting saved for user.
Such that when the user logs in next time, the nodes that were expanded in user's last session, remain expanded and node that was selected remain selected.

Thanks in advance
Sheetal
Bozhidar
Telerik team
 answered on 21 Oct 2013
2 answers
74 views
Hello,
We use a grid with 2 levels with inline edit, and the same CancelImageUrl works fine on the first level, but not on the second level, where the default cancel image is always shown (see screenshot attached)

<radG:GridEditCommandColumn ButtonType="ImageButton" UniqueName="ChildEditCommandColumn" HeaderStyle-Width="3%" CancelImageUrl="~/App_Themes/Cerib/Images/Buttons/FlecheGauche.gif" />

Thanks
Alexandru-Anton
Top achievements
Rank 1
 answered on 21 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?