Skip to content

Replies

0
[Infragistics] Nikolay
[Infragistics] Nikolay answered on May 23, 2014 1:42 PM

Hi,

I'm just checking if you have managed to resolve your issue.

0
[Infragistics] Nikolay
[Infragistics] Nikolay answered on May 20, 2014 9:16 AM

Hi,

Have you defined the model in your View using the @model directive?

model IQueryable<COMMON.Models.ListingModel>

Can you share a small demo sample?

Thanks.

0
[Infragistics] Nikolay
[Infragistics] Nikolay answered on May 19, 2014 9:35 AM

Hello,

The IgniteUI controls are completely client-side. They don't work the same way as ASP.NET WebForms controls. So you will have to add some javascript to post to a controller. You can do this in the SelectionChanged event like this:

    selectionChanged: function(evt, ui){      

        //get the value of the selected item      

        var value = ui.items[0].value;     

        $.post('controller/action/' + value);    

 }

Let me know if you have any other questions.

 

0
[Infragistics] Nikolay
[Infragistics] Nikolay answered on Mar 27, 2014 4:05 PM

Hi,

I'm just checking if you managed to resolve your issue.

0
[Infragistics] Nikolay
[Infragistics] Nikolay answered on Mar 21, 2014 2:51 PM

Hello Ryan,

It seems that the keydown event is cancelled by the combo in some cases. A possible workaround would be to unbind all combo events, bind your keydown event and bind the events again:

 

Code Snippet
  1. var comboObj = $("#combo1").data("igCombo"); // Get Combo element (not widget)
  2. var comboInput = comboObj.fieldElem; // Get Combo input element
  3. comboInput.off(comboObj._evts); // Unbind Combo events
  4. comboInput.on("keydown", function (e) { // Bind custom event
  5.     var isEnter = (e.keyCode === 13);
  6. });
  7. comboInput.on(comboObj._evts); // Bind combo events again

 

Let me know if this helps.

0
[Infragistics] Nikolay
[Infragistics] Nikolay answered on Mar 20, 2014 12:09 PM

Hi Graeme,

Thank you for sharing your code with the community. 

If you have any further questions on the matter, please let me know.

0
[Infragistics] Nikolay
[Infragistics] Nikolay answered on Mar 20, 2014 9:01 AM

Hello Graeme,

I would suggest you to use a text editor provider for the grid columns where you will need line breaks. Set the editor's textMode to multiline: http://help.infragistics.com/jQuery/2013.2/ui.igtexteditor#options

http://help.infragistics.com/Help/Doc/jQuery/2013.2/CLR4.0/html/igGrid_Updating.html#example_usage_of_columnsettings

 

Hope this helps.