Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
54 views
Hi All ,

I am using Batch Editing for Insert, Update and Delete operations in my radgrid. I have taken reference from
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx.

I am facing a weird issue. When I try to delete the last row in the radgrid (or the underlying database table), the ItemCommand event of the grid
is not fired and hence it doesn't get deleted.
However, delete works fine in any other scenario.

Please help.
Maria Ilieva
Telerik team
 answered on 22 Jan 2015
3 answers
775 views
I am using the radgrid with group expressions to group and binding in the code. The expand works but collapse doesn't work on the same group. When I expand the other group, it collapses the previously opened group but when it collapse the expanded group, it doesn't work. I tried GroupLoad = "Client". It works but after few expand and close, the grid doesn't refresh and shows all grid lines all over. 

What am I doing wrong?

Vijai
vtmac
Top achievements
Rank 1
 answered on 22 Jan 2015
1 answer
96 views
Hello,

I have a small problem every time I refreshed my page.

Indeed, the size of my columns shrink gradually, so that I can even do not see ...
Here are some screenshot:

First screen : http://puu.sh/eRxuj/ee67764f9a.png
After 5 refresh : http://puu.sh/eRxzR/6270233218.png


ColumnSeries columnEffluent = new ColumnSeries();
columnEffluent.Gap = 1.5;
columnEffluent.Name = "Effluents traités";
columnEffluent.LabelsAppearance.Color = System.Drawing.Color.Blue;
columnEffluent.Appearance.FillStyle.BackgroundColor = System.Drawing.Color.FromArgb(3, 133, 182);
columnEffluent.TooltipsAppearance.DataFormatString = "{0} m³/j";
 
LineSeries linePluvio = new LineSeries();
linePluvio.Name = "Pluviométrie";
linePluvio.AxisName = "AdditionalAxis";
linePluvio.MarkersAppearance.BorderColor = System.Drawing.Color.Red;
linePluvio.MarkersAppearance.BackgroundColor = System.Drawing.Color.Red;
linePluvio.Appearance.FillStyle.BackgroundColor = System.Drawing.Color.Red;
linePluvio.LabelsAppearance.Color = System.Drawing.Color.Red;
linePluvio.LineAppearance.LineStyle = Telerik.Web.UI.HtmlChart.Enums.ExtendedLineStyle.Smooth;
linePluvio.TooltipsAppearance.DataFormatString = "{0} mm";


Hope you can help me
Naografix
Top achievements
Rank 1
 answered on 22 Jan 2015
3 answers
338 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
153 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
177 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
108 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
91 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
55 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
90 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?