There is my table:
public class Sound{ [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public Guid GUID { get; set; } [Display(Name = "Sound Type")] [Required] public SoundType SoundType { get; set; } [Display(Name = "Bandwidth, kHz")] public byte? Bandwidth { get; set; } [Display(Name= "Frequency, Hz")] public short? Frequency { get; set; } [Display(Name = "Duration, ms")] public short? Duration { get; set; } [Display(Name="Sound File")] public byte[] Content { get; set; } [Display(Name = "File Name")] public string FileName { get; set; } public Sound() { GUID = Guid.NewGuid(); }}
I just would like to show it in a grid and to be possible to upload files into the Content field and to store their names in the FileName field.
I've been trying to find out some examples of how to perform this, but almost all of them use separated steps to upload files into some directory on the server and to save the path to the file in the table then. I prefer to save the file attributes and its content as one step using Create or Update method of .
Is it possible to do it this way? Are there some examples?
Thank you.
https://demos.telerik.com/aspnet-mvc/scheduler/resources-grouping-vertical
When you have multiple attendees (Alex, Bob) and change the meetings time or date, only the first attendee gets saved.

Hi there,
I have a Master-Detail Grid setup. Inside the Detail template I use a Tabstrip with 5 items.
Inside each of the Tabstrip items I want to show some detail information about the selected (expanded) Master row. Here's my problem: the detail record contains about 30 columns, 27 of them must be readonly while the rest must be editable (hence the choice for yet another Grid). The default grid layout is horizontal, so I get one very wide horizontal row. Because of my screen real estate I want to show all these details in a table-like manner like 3 columns, 9 rows, last row for all the editable items.
Can you give me some advice and sample code how to handle this?
Best,
Peter

i want to check condition before save but still not work what im wrong ?
how to solve it
<p>save: Function(e) {</p><p>var currenVar = e.model.id;</p><p>var data;;</p><p>https.get($scope.service URL + currenVar.success(function (result){</p><p>data= result;</p><p>for (item in data){</p><p>if(data[item].id == currenVar {</p><p>alert('Cannot use this');</p><p>e.preventdefault();</p><p>}</p><p>}</p>
Hi,
I have a scatter line chart that is supposed to show incidents that occur simultaneously. I am almost there, but have some issues I haven't been able to solve:
1) The color of the lines and markers should all be the same. As it is the color seems to be random.
2) Same goes for the tooltip, as you can see some color combinations makes for very poor visibility. I have tried to set .Color("white") on the tooltip, but it has no effect.
3) Is it possible to set the size of the chart depending on the amount of data? If there are many simultaneous incidents the chart needs to be higher.
4) I would like to have labels instead of tooltips, labels that looks like the toopltips I get when hovering over a line, but they should always be visible for all lines.Is this possible?
Best regards,
Henrik


How can I get the original values of the row when calling an update function?
My main issue is that we have a few tables where the primary key is a value we allow to be changed. However, the default auto-generated update functions will fail on update if that value is changed in the grid editor because it won't be able to lookup the row you're updating since it only knows what you want to change the value to and tries to look the row up by the new value.
How can we handle this situation?
