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

I've a question regarding RadDataForm.
In my dataForm, I've a textBox (ie. "_txtOpenDate").
When I click on Insert button, I want to change the date with the Today date.

How can I do this ? I tried the FindControl("txtOpenDate") method but each time I 've a null reference (every method such as ItemInserting, ItemCommand ...)

Thanks
Nicolas
Top achievements
Rank 1
 answered on 22 Jan 2015
1 answer
184 views
Hi

I want to restrict user to enter multiple entries per day in week view scheduler. It should be only one entry. It should not create additional row. I am attaching sccreenshot of my requirement in this post. Please guide me to achive this. (I am using Resource group also in this case)
Boyan Dimitrov
Telerik team
 answered on 22 Jan 2015
1 answer
208 views
Hi all, I am trying to set up my grid so when a person double clicks on a row it fires a code behind click event that I have for a button within the CommandItemTemplate but I can't seem to manage it. Below is what code I think will be relevant, any help will be greatly appreciated.

Thanks.

As you can see I have the client event;

<ClientEvents OnRowDblClick="RowDblClick" />

Which triggers;

function RowDblClick(sender, eventArgs) {           document.getElementById('<%= editJourneyButton.ClientID %>').click();      }

The button is within the CommandItemTemplate;

<asp:LinkButton ID="editJourneyButton" OnClick="editJourneyButton_Click" runat="server" CssClass="btn btn-inverse" Text="Edit selected"><i class="fa fa-edit"></i> Edit Selected</asp:LinkButton>
 

The click event for this button is;

 protected void editJourneyButton_Click(object sender, EventArgs e)<br>        {<br><br>            ErrorList.Items.Clear();<br><br>            if (journeysGrid.SelectedItems.Count == 0)<br>            {<br>                ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "noItemSelected", "noItemSelected();", true);<br>            }<br>            else<br>            {<br>                GridDataItem selectedItem = (GridDataItem)journeysGrid.SelectedItems[0];<br>                TravelFormUC.resetForm();<br>                TravelFormUC.refHiddenField.Value = selectedItem.GetDataKeyValue("journeyId").ToString();<br>                TravelFormUC.setupForm();<br>                ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "showClaimPopup", "showClaimPopup();", true);<br>            }

This ScriptManager code for "showClaimPopup" is;
 
function showClaimPopup() {<br>            $('#modal-claimform').modal('show')<br>        }


This probably isn't the best way to go about what I am trying to achieve so any advice or guidance would be great.
Eyup
Telerik team
 answered on 22 Jan 2015
1 answer
130 views
Hi.

1- Can i use kendo profession on asp.net ajax ??? i am watching it is for asp mvc. Can you show give me link where it is showing how to impliment kendo html to aspx ajax.

2- Can i convert my telerik asp.net ajax site to aspx mvc ???

Regards
Marin Bratanov
Telerik team
 answered on 22 Jan 2015
1 answer
110 views
Hi..

I have a radgrid on my page that I'm dynamically setting the edit mode on when I need to one column of several rows.. This is done by clicking a button..
Trouble is when the Radgrid is set in batch edit mode in IE 11 it breaks a select element on the page. By this I mean that in internet explorer 11 after code is run below the select element will not select a value in it's drop down list.. This select element is completely unrelated to the Radgrid but will not function when the Radgrid is in batch edit mode.

Can anyone suggest a work around to get this working as the application must run on IE..

many thanks

     RadGrid1.MasterTableView.EditMode = GridEditMode.Batch;
     RadGrid1.MasterTableView.BatchEditingSettings.EditType = GridBatchEditingType.Cell;
Maria Ilieva
Telerik team
 answered on 22 Jan 2015
3 answers
97 views
Hi All,

Odd question, I am using Splitter and in my local preview from Visual Studio 2013 it opens Internet Explorer and works fine.  RadPane is 100% Height. However after I publish to Azure Web Sites (http://dcmapsa.azurewebsites.net/map.aspx ) the pane only fills 50% of the viewport.

I have looked at a lot of the Height 100% issues in the threads and have tried setting all parent elements to 100% or whatever accordingly, but still can't see to get by this issue.  

Does anyone have any suggestions? 
Vessy
Telerik team
 answered on 22 Jan 2015
1 answer
122 views
Hi

i am using Gantt chart for displaying Employee Leaves. Using Deparment -> Employee as parent child relation ship.

I want to hide start date and end date for Department / Master (Parent = null ) records from both left and right side panel.

See pic for desired functionality.

Thanks
Ivan Zhekov
Telerik team
 answered on 22 Jan 2015
2 answers
75 views
I love the slider for paging but I do want to include some other controls. How can I include the slider in a custom pager?
Eyup
Telerik team
 answered on 22 Jan 2015
2 answers
136 views
Can you change the shape and/or color of a single point in a LineSeries the same way you can change the color of a single column in a ColumnSeries?

For example, the following does not work:

<MarkersAppearance MarkersType="Triangle" BackgroundColor="blue" Size="8" BorderColor="blue" BorderWidth="2"></MarkersAppearance>
<SeriesItems>
  <telerik:CategorySeriesItem Y="1"></telerik:CategorySeriesItem>
  <telerik:CategorySeriesItem Y="2"></telerik:CategorySeriesItem>
  <telerik:CategorySeriesItem Y="3" BackgroundColor="red" MarkersType="Circle"></telerik:CategorySeriesItem>
  <telerik:CategorySeriesItem Y="4"></telerik:CategorySeriesItem>
</SeriesItems>


Trung Quốc
Top achievements
Rank 1
 answered on 22 Jan 2015
3 answers
266 views
I have a RadGrid like this:

<telerik:RadGrid ID="ProductGrid" runat="server"
    OnItemDataBound="ProductGrid_ItemDataBound"
    OnNeedDataSource="ProductGrid_NeedDataSource">
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="Change" TableLayout="Fixed">
        <Columns>
            <telerik:GridBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Price" HeaderText="Price" UniqueName="Price">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

I want to have tables for each category. And I want to display several categories at same time with ability to show/hide each of them (I can figure out show/hide part). How could I achieve it?

Thanks in advance!
Mc
Top achievements
Rank 1
 answered on 21 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?