Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
Hello, 

I am using a RadRotator in Sitefinity. I have bound images to it on PageLoad. It works fine. Now I want to rebind the control on filtering by category. When I click the category the DataSource is new, but it doesn't do anything to the images. It still shows the original set.

This is how I bind:

VideosCarousel.DataSource = GetVideos("All");
VideosCarousel.DataBind();

And to rebind I do this:

VideosCarousel.DataSource = null;
VideosCarousel.DataBind();             
VideosCarousel.DataSource = GetVideos("Business");
VideosCarousel.DataBind();

The categories are "a" links. Like this:

<li><a id="all" onclick="GetAllVideos(this)">All</a></li>
 <li><a id="buss" onclick="GetFilteredVideos(this)">Business</a></li>
<li><a id="cnh" onclick="GetFilteredVideos(this)">Community&Health</a></li>
<li><a id="tech" onclick="GetFilteredVideos(this)">Technology</a></li>
Slav
Telerik team
 answered on 23 Apr 2013
14 answers
353 views
i created a custom skin for grid.
skin applied successfully on grid but only edit and delete image not displayed in grid.

regards,
Jayesh Goyani
Pavlina
Telerik team
 answered on 23 Apr 2013
1 answer
71 views
Hi

There is a radmonthyearpicker. Using javascript, how to get the previous year in numerics based on a selected date?

Thanks
Princy
Top achievements
Rank 2
 answered on 23 Apr 2013
2 answers
76 views
The problem I am having is with the SplitButton Image showing up as a big red "X". Here is the XML for how I am defining the button. The ImageURL path worked perfectly on no splitbutton buttons in the same XML file...any thoughts...
<Group Text="Widgets">
    <SplitButton Size="Large" Text="Descriptive" ImageUrl="images/widgets_descriptive.png" CommandName="mangeDescriptive">
      <Button Text='ABC Codes' />
      <Button Text='Planning Data'/>
    </SplitButton>
    <SplitButton Size="Large" Text="Aggregation" ImageUrl="images/widgets_aggregation.png" CommandName="manageAggregation">
      <Button Text='Rollup Aggregation' />
    </SplitButton>
    <SplitButton Size="Large" Text="Spreadsheets" ImageUrl="images/widgets_spreadsheets.png" CommandName="manageSpreadsheets">
      <Button Text='Monthy Forecast' />
    </SplitButton>
    <SplitButton Size="Large" Text="Charts" ImageUrl="images/widgets_charts.png" CommandName="manageCharts">
      <Button Text='Monthy Forecast' />
    </SplitButton>
    <SplitButton Size="Large" Text="Dashboard" ImageUrl="images/widgets_dashboard.png" CommandName="manageDashboard">
      <Button Text='Alert Dashboard'/>
    </SplitButton>
  </Group>
Michael
Top achievements
Rank 1
 answered on 23 Apr 2013
1 answer
52 views
When I try to paste in a numbered list in an editor control, it renumbers the list to start at 1 all the time. For example:

5.1   Lk’;sald
5.2   Sd;as’l ‘;sd
5.3   Ksd ;kasd09isad

Gets pasted as

 

  1. kjsakld
  2. lskd;l ksa
  3. sd';lsad

What setting can I adjust to clear up this issue?  Thanks
Joe

 

 

 

Nikolay
Telerik team
 answered on 23 Apr 2013
1 answer
83 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
602 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
154 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
143 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
83 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?