Telerik Forums
Community Forums Forum
1 answer
88 views
How can I found all my threads in this forum?
Stef
Telerik team
 answered on 14 Aug 2013
0 answers
77 views

Hi!

If I enter a value in the Perday Price or Total Price fields with a decimal .00, it removes the .00, but if we go back (before clicking save) and add the 1.00 back, it takes it.

I was thinking that if we can set “validateOnBlur” to false then it might prevent the auto-correction from happening as well.  The problem is that I can’t figure out how to do this.

 http://docs.kendoui.com/api/framework/validator#configuration-validateOnBlur

<fieldset>
      <legend>Topline Price Information</legend>
@(Html.Kendo().Grid<Presentation.Web.Models.TopLinePrice>()
           .Name("Grid")
           .Columns(columns =>
                      {
                        columns.Bound(m => m.ProjectNumber)
                          .Title(ScanDataResources.ProjectNumber)
                          .Width(120);
                        columns.Bound(m => m.ClientName)
                          .Title(ScanDataResources.ClientIdName);
                        columns.Bound(m => m.PerDayPrice)
                          .Title(ScanDataResources.PerDayPriceName)
                          .Format("{0:c2}")
                          .Width(100);
                        columns.Bound(m => m.TotalPrice)
                          .Title(ScanDataResources.TotalPriceName)
                          .Format("{0:c2}")
                          .Width(100);
                        columns.Bound(m => m.IsPriceOverridableDescription)
                          .Title(ScanDataResources.Overriden)
                          .Visible((int)@ViewBag.SystemId == (int)CoreConstants.PWSystem.RAMS)
                          .Width(75);
                        columns.Bound(m => m.LastSentDate)
                          .Title(ScanDataResources.ModifiedDate)
                          .Width(180);
                        columns.Bound(m => m.ModifiedByPersonName)
                          .Title(ScanDataResources.ModifiedByName)
                          .Width(120);
                        columns.Command(commands => commands.Edit()
                          .Text(@Buttons.Edit).HtmlAttributes(new { @Style = "text-align:center; " })
                          .CancelText(@Buttons.Cancel)
                          .UpdateText(@Buttons.Save)
                          ).Title("")
                          .Width(160);
                      })
           .Events(e => e.Save("OnSave"))
           .Events(e => e.Edit("OnEdit"))
           .Editable(editable => editable.Mode(GridEditMode.InLine)) // Use inline editing mode
           .DataSource(dataSource =>
           dataSource.Ajax()
            .Model(model =>
            {
              model.Id(p => p.ProjectPriceId); // Specify the property which is the unique identifier of the model
              model.Field(p => p.ProjectNumber).Editable(false); // Make the ProjectNumber property not editable
              model.Field(p => p.LastSentDate).Editable(false);
            })
            .Read(read => read
              .Action("GetScanDataTopLinePrice", "ScanDataTopLinePrice")
            .Data("ScanData.GetSearchModel"))  // Action invoked when the grid needs data
            .Update(update => update
              .Action("UpdatePrice", "ScanDataTopLinePrice"))  // Action invoked when the user saves an updated data item
            .Events(events => events.RequestEnd("OnRequestEnd_TopLinePriceGrid"))
            .PageSize(10)

          )
        
        )
 </fieldset>
 <script type="text/javascript">
 function OnEdit(e) {
     $('#PerDayPrice').change(function () {
       var perDayPrice = $(this).val();
       var isDecimalFound = perDayPrice % 1 != 0;
       if (!isDecimalFound) {
         $(this).val(perDayPrice + '.00');
       }
     });
     $('#TotalPrice').change(function () {
       var totalPrice = $(this).val();
       var isDecimalFound = totalPrice % 1 != 0;
       if (!isDecimalFound) {
         $(this).val(totalPrice + '.00');
       }
     });
     // Clear validation errors.
     e.container.find('.k-grid-cancel').bind('click', function() {
       Validation.ClearValidationErrors('MainValidationSummary');
     });

   }
</script>

Thanks

Sushma
Top achievements
Rank 1
 asked on 07 Aug 2013
2 answers
46 views
Can that be removed?  Is anyone using it?  It doesn't seem to matter how many times you say No Thanks the bar just keeps showing up again and again covering the ability to move between product families or even log in.

Instead of covering the entire bar at the top could you just put a blinking link next to ABOUT US that people can click?

Personally I use Bookmarks.  But when I use my bookmark to go to (http://www.telerik.com/developer-productivity-tools.aspx) then before I can log in that bar drops down and covers the log in link saying "Start directly from DevTools next time you visit www.telerik.com?".

Thanks for considering this.
Georgi
Telerik team
 answered on 06 Aug 2013
1 answer
119 views
    Hi,

       I have a radgrid with one hyperlink column.I want to get a cursor as hand on mouse over event.I got it.But it will be lost after paging.

Here is my code:

<

 

 

style type="text/css">

 


 

 

.CursorHand

 

{

 

 

cursor: hand;

 

}

</

 

 

style>

 



<

 

 

telerik:GridHyperLinkColumn UniqueName="HyperLinkColumn" DataNavigateUrlFormatString="Review"

 

 

 

ItemStyle-Font-Underline="true" ItemStyle-CssClass="CursorHand">

 

 

 

<ItemStyle Width="10%" />

 

 

 

<HeaderStyle Width="9%" />

 

 

 

</telerik:GridHyperLinkColumn>


I am also trying as below:

 

 

 

protected void Page_Load(object sender, EventArgs e)

 

{

RGgrid.Attributes.Add(

 

"onmouseover","this.style.cursor='hand'");

 

}

In both of the cases I got the same result:

Waiting for the reply

With regards:
Dayana

Eyup
Telerik team
 answered on 02 Aug 2013
1 answer
48 views
Hi All,

Looking for a programmer with experience to do a job for us. We have a control panel that has 6 docks. Each dock loads a usercontrol. The usercontrols include powershell commands to retrieve data. At the moment the usercontrols load synchronously which takes quite some time. We need to convert this so they load asynchronously. We've had a play with web services and haven't been able to make it happen, so are looking to pay someone to do this for us.

Please email me at willk@u-235studios.com if you are interested.

Thanks,
- Will
Kate
Telerik team
 answered on 31 Jul 2013
0 answers
78 views
Hello there!

Just checking out. Thanks!
deebra
Top achievements
Rank 1
 asked on 31 Jul 2013
3 answers
182 views

I have a radfileexplorer with three custom columns that are created like this: 

// Sets up a gridTemplateColumn for the Owner

GridTemplateColumn gtcOwner = new GridTemplateColumn();

gtcOwner.HeaderText = "Owner Name";

gtcOwner.UniqueName = "Owner";

gtcOwner.DataField = "Owner";

gtcOwner.SortExpression = "Owner";

rfe.Grid.Columns.Add(gtcOwner);

// Set up a gridTemplateColumn for the upload date

GridTemplateColumn gtcDate = new GridTemplateColumn();

gtcDate.HeaderText = "Date";

gtcDate.UniqueName = "Date";

gtcDate.DataField = "Date";

gtcDate.SortExpression = "Date";

rfe.Grid.Columns.Add(gtcDate);

//Sets up gridTemplateColumn for Visibility

GridTemplateColumn gtcPermission = new GridTemplateColumn();

gtcPermission.HeaderText = "Permission";

gtcPermission.UniqueName = "Visibility";

gtcPermission.DataField = "Visibility";

gtcPermission.SortExpression = "Visibility";

gtcPermission.HeaderStyle.Width = Unit.Pixel(72);

rfe.Grid.Columns.Add(gtcPermission);

When I click the column header the sort icon changes and the content sorts once. Subsequent clicks produce no change. The filename and size columns sort as expected.

Kostadin
Telerik team
 answered on 24 Jul 2013
1 answer
62 views
I'm using RadGrid controls with modelbinding.
When I try to sort a column and then change to the next page, the index changes but the page contents remains the same
Milena
Telerik team
 answered on 19 Jul 2013
1 answer
101 views
Most of all I would like to see Telerik create a control that would handle VSTO deployment.  The power to make changes to Office products is fantastic but Microsoft makes deploying these programs a night-mare at best.  Any chance that Telerik is working on this?   Even if Telerik could just create one to handle Excel that sure would be nice.
Peter
Telerik team
 answered on 18 Jul 2013
0 answers
67 views
Hi,

We are a DevCraft Ultimate subscriber and use it to develop products and are at a juncture.  Our stuff is standards-based and the standard itself is making such a large non-backwards compatible set of changes, we are at a place where changing technologies and starting over is not out of the question.

Presently we use:

  • Visual Basic .NET - we started with this long ago and our back-end uses it and our programmers all know it.  The back-end won't need to change substantially, so we will probably want to keep it (hundreds of thousands of lines of well-tested code) and we will want to keep our developers
  • Silverlight - lots of code, but am not too pleased with the result - we have one of our major interfaces written in it
  • --- when it runs, it takes up huge amounts of memory on the server
  • --- almost all unforeseen problems end up with useless error messages
  • --- requires way too much code to be written for pretty common operations
  • --- Microsoft has a very lukewarm committment to it in the long term at best
  • AJAX - a little better, we have another major interface written in it
  • Straight ASP.NET with our own software that generates HTML dynamically entirely based on database content (very good for what it does and we will not touch it)

That's it in short - we will be rewriting the Silverlight and AJAX apps using something.  We want it to:

  • Have a good shelf-life
  • Be fast - some of the pages need to browse through 10's of millions of "heavy" database records.  On other pages we need to configure thousands of containers that each can have many properties, services, objects, and each of those objects can be complex as well.
  • Have a relatively quick development cycle - our "flashiness" needs are not great, so we don't need tremendous video or audio control or fine control over graphics - system administrators will use these tools.  They do need to be comfortable to use, however - they would rather choose things from dropdown boxes than type them in, tree views are out (they can't handle really large lists)...
  • Be easy to maintain - Silverlight was a killer here - the end result is really spectacular, but you really need to do everything to get it that way.  I would rather spend our time getting the logic correct than trying to get grids to align correctly.

Recommendations?  Suggestions?
robert hutchison
Top achievements
Rank 1
 asked on 17 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?