Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
<table>
        <tr>
            <td>
                <asp:TextBox ID="txt" runat="server" TabIndex="0"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="Goal"
                    ControlToValidate="txt" Display="None" ErrorMessage="Please select" SetFocusOnError="True"></asp:RequiredFieldValidator>
                <cc1:ValidatorCalloutExtender HighlightCssClass="highlight" ID="ValidatorCalloutExtender1"
                    TargetControlID="RequiredFieldValidator1" runat="server">
                </cc1:ValidatorCalloutExtender>
            </td>
        </tr>
        <tr>
            <td align="right">
                <span class="error">*</span>Start Date :
            </td>
            <td align="left">
                <telerik:RadDatePicker ID="radCalender" runat="server" TabIndex="1" Width="205">
                    <Calendar ID="Calendar4" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                        ViewSelectorText="x" runat="server">
                    </Calendar>
                    <DateInput ID="DateInput4" DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" runat="server">
                    </DateInput>
                </telerik:RadDatePicker>
                <asp:RequiredFieldValidator ID="rvCalender" runat="server" ControlToValidate="radCalender"
                    InitialValue="" Display="None" ValidationGroup="Goal" ErrorMessage="<%$Resources:CCMResource,USER_GOAL_STARTDATE %>"
                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                <cc1:ValidatorCalloutExtender HighlightCssClass="highlight" ID="vcCalender" TargetControlID="rvCalender"
                    runat="server">
                </cc1:ValidatorCalloutExtender>
            </td>
        </tr>
        <tr>
            <td align="right">
                <span class="error">*</span> Managed Population : 
            </td>
            <td align="left">
                <telerik:RadComboBox ID="radComboManagedPopulationGoals" AppendDataBoundItems="true"
                    Width="200px" TabIndex="2" DataValueField="ProgramId" DataTextField="ProgramName"
                    runat="server">
                    <Items>
                        <telerik:RadComboBoxItem runat="server" Text="Select" Value="0" />
                        <telerik:RadComboBoxItem runat="server" Text="Item" Value="1" />
                    </Items>
                </telerik:RadComboBox>
                <asp:RequiredFieldValidator ID="rfvManagedPopulationGoals" runat="server" ValidationGroup="Goal"
                    ControlToValidate="radComboManagedPopulationGoals" InitialValue="Select" Display="None"
                    ErrorMessage="<%$Resources:CCMResource,Assignment_Select %>" SetFocusOnError="True"></asp:RequiredFieldValidator>
                <cc1:ValidatorCalloutExtender ID="vdCManagedPopulationGoals" TargetControlID="rfvManagedPopulationGoals"
                    runat="server">
                </cc1:ValidatorCalloutExtender>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btn" runat="server" ValidationGroup="Goal" />
            </td>
        </tr>
    </table>
Hi ,
I have a Problem in raddatePicker.
I have a form. In this, I have RadDatePicker, RadCombobox and radbutton Controls and trhese are mandatory fields. on Button click it will call the Callout Extenders for mandatory Fields. In my Form First is RadDatePicker And next is RadCombobox.On buttonClick it showing first calloutoutextender for Radcombox instead of RadDatePicker. I want RaddatePicker's CalloutExtender will be called First and then rest of controls.

Thanks in Advance.
Prathyusha
Top achievements
Rank 1
 answered on 23 Apr 2013
8 answers
660 views
I am trying to detect when a user presses the Tab key inside the last column of my inline edit form.  When they press Tab on the last column, I want the grid to create a new row, put it into edit mode, and move the cursor there.

I can already do this with the Enter key but I cannot figure out how to tell when the Tab key is pressed in the last column and only when in the last column.

Any ideas?  I know I can add character/key code 9 for Tab but I can't tell which column I'm in when it detects it.  I'm sure it's probably something simple that I've overlooked.

The last column's definition:

<telerik:GridBoundColumn ConvertEmptyStringToNull="False" DataField="Email" FilterControlAltText="Filter Email column"
    HeaderText="Email" SortExpression="Email" UniqueName="Email" EmptyDataText=""
    ColumnEditorID="txtGridEdit_Email" ShowSortIcon="False">
    <HeaderStyle Width="100px" Wrap="False" HorizontalAlign="Left" CssClass="grid-header" VerticalAlign="Top"/>
    <ItemStyle HorizontalAlign="Left" Width="100%" VerticalAlign="Top" />
</telerik:GridBoundColumn>

The column editor:

<telerik:GridTextBoxColumnEditor ID="txtGridEdit_Email" runat="server" TextBoxStyle-Width="99%"  />


The javascript I'm using on the Keypress event (client side):

/// <summary>
/// Handles the client side KeyPress event of the Athletes grid.
/// </summary>
function OnKeyPress(sender, args) {
    //Check for the Enter/Tab key being pressed
    if ((args._domEvent.charCode == 13) || (args.get_keyCode() == 13)) {
        //If currently editing a row, commit the changes and stop the editing
        if (rowEditedItem) {
            bHasChanges = false;
            $find(sAthleteGridID).get_masterTableView().updateItem(rowEditedItem);
        }
    }
    else if ((args.get_keyCode() == 27) || (args._domEvent.charCode == 27)) //Check for the Esc key being press
    {
        $find(sAthleteGridID).get_masterTableView().fireCommand("CancelAll", ""); //Cancel any editing activities in the grid
        $find(sAthleteGridID).get_masterTableView().clearSelectedItems(); //De-select any rows
    }
}
J
Top achievements
Rank 1
 answered on 23 Apr 2013
3 answers
175 views
Hi,

How to check and validate that the month selected from the second radmonthyear picker comes after the month selected from first radmonthyearpicker?

Thanks
Princy
Top achievements
Rank 2
 answered on 23 Apr 2013
3 answers
160 views
Hi;

I downloaded the demo version and installed it. I then created a Web Application using the Telerik menu in Visual Studio. So I have a web app with an empty page. However, the Toolbox does not have any of your controls in it. How do I get the controls?

And the two I mainly want to test are your ribbon menu and text editor.

thanks - dave
Chavdar Dimitrov
Telerik team
 answered on 23 Apr 2013
1 answer
98 views
I am hiding a column in treelist by setting its display as false.Is that possible to get the column value in itemclick event from client side?
Shinu
Top achievements
Rank 2
 answered on 23 Apr 2013
1 answer
201 views
hi all , 
 
I have a radpanel bar with header template (dynamically created) , 
this header template contains multiple Image button with specific id for each one, 

my question is : how can i access Image buttons from Item_click event of radpanelbar ..

thanks in advance 
Kate
Telerik team
 answered on 23 Apr 2013
4 answers
281 views
Hello, I have an old application that was written in vs2008 using .Net3.5. After I migrated the application to vs2010 and .Net4 some of my telerik controls stopped working. Mainly I find the RadAjaxManager is not working. Looking at the version it's 1.0.3.0, all the way back to 2006. Is there any compatibility issues I'm potentially running into? 

More about this issue. I'm able to user the RadAjaxManager in design mode, but they don't fire once the application is running. When I remove the RadAjaxManager everything works fine, but the whole page keep up updating as opposed to the single control.

Any help will be much appreciated.
Tom
Varun
Top achievements
Rank 1
 answered on 23 Apr 2013
2 answers
206 views
Hi,

My client wants the grid has pager and set whole grid 's height to 100%, But the pager is on the bottom, not closer to the data part. Can I do that?

Please see the attachment to see more info .

Thank you very much for your help.
Bill 
Galin
Telerik team
 answered on 23 Apr 2013
4 answers
121 views
Hi, Im searching the documentation for a tutorial on how to customize the style and appearance of the RadComboBox (when using RenderMode="Lightweight"). Im especially looking for CSS3 examples for rounding the controls corners and changing colors/gradients. 

TIA

Martin

Martin Roussel
Top achievements
Rank 1
 answered on 23 Apr 2013
12 answers
280 views
I have a Rad Grid that has a Command Item Template and allows grouping.  Currently the Group Panel sits on top of the Command Item Template, which seems kind of odd since it separates the things we are grouping from the grouping configuration.  We have to drag a column over the command item row, which, again, seems odd.

Is it possible to swap these two "items" around?

Thanks,
-Aaron
Stuart Hemming
Top achievements
Rank 2
 answered on 23 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?